Bug 1605031 - xmkmf or imake exits silently without generation of a Makefile, e.g. xvkbd: FTBFS in Fedora rawhide
Summary: xmkmf or imake exits silently without generation of a Makefile, e.g. xvkbd: F...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: imake
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks: F29FTBFS 1606828
TreeView+ depends on / blocked
 
Reported: 2018-07-20 03:49 UTC by Raphael Groner
Modified: 2018-07-28 14:40 UTC (History)
10 users (show)

Fixed In Version: imake-1.0.7-14.fc29
Clone Of:
Environment:
Last Closed: 2018-07-28 12:02:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Imakefile (2.23 KB, text/plain)
2018-07-20 03:58 UTC, Raphael Groner
no flags Details

Description Raphael Groner 2018-07-20 03:49:37 UTC
Description of problem:
Package xvkbd fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
3.9-1.fc29

Steps to Reproduce:
koji build --scratch f29 xvkbd-3.9-1.fc29.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/xvkbd

Comment 1 Raphael Groner 2018-07-20 03:53:26 UTC
It seems recent mass-rebuild broke imake. From build.log of xvkbd:
+ xmkmf -a
+ sed -i.mode -e 's|-m 0444|-m 0644|' Makefile
sed: can't read Makefile: No such file or directory

I'll extract and attach the used Imakefile to have better reproducibility.

Comment 2 Raphael Groner 2018-07-20 03:58:26 UTC
Created attachment 1464851 [details]
Imakefile

Fails in F29 but not in F28.

Comment 3 Raphael Groner 2018-07-28 09:44:46 UTC
Thanks to spot for the fix with commit 68ed50.

It seems imake must Require: gcc to be able to generate Makefile.

+ xmkmf -a
imake -DUseInstalled -I/usr/share/X11/config
sh: gcc: command not found
/usr/bin/xmkmf: line 53:  1684 Aborted                 (core dumped) imake $imake_defines $args

https://koji.fedoraproject.org/koji/taskinfo?taskID=28594043

Comment 4 Igor Raits 2018-07-28 12:02:28 UTC
You seem to be right, it's entirely broken without cc.

Comment 5 Raphael Groner 2018-07-28 14:40:56 UTC
Thanks again, Igor and Tom. Koschei does not complain any more.


Note You need to log in before you can comment on or make changes to this bug.