Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
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...
Alias: None
Product: Fedora
Classification: Fedora
Component: imake
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
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
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-07-28 12:02:28 UTC
Type: Bug

Attachments (Terms of Use)
Imakefile (deleted)
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):

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

Additional info:
This package is tracked by Koschei. See:

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]

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

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.