GNOME Bugzilla – Bug 795901
Failed autogen on Fedora 28
Last modified: 2018-05-09 13:22:49 UTC
Created attachment 371787 [details] autogen.sh failure log I just checked out the master branch on a fedora28 system and ran ./autogen.sh which failed with the following error: config.status: error: cannot find input file: `Makefile.in' See log file for details.
The relevant part of the log seems to be: autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:185: installing '../compile' configure.ac:549: error: required file '../config.rpath' not found configure.ac:144: installing '../missing' bin/Makefile.am: installing '../depcomp' autoreconf: automake failed with exit status: 1
@debarshi: Agree. But it would also make sense for ./autogen.sh to fail with an error and not run configure if automake fails.
I believe that you need the gettext-devel package, because: $ rpm -qf /usr/share/gettext/config.rpath gettext-devel-0.19.8.1-12.fc27.x86_64 $
Created attachment 371841 [details] [review] build: Abort as soon as autoreconf fails
(In reply to Debarshi Ray from comment #3) > I believe that you need the gettext-devel package, because: > > $ rpm -qf /usr/share/gettext/config.rpath > gettext-devel-0.19.8.1-12.fc27.x86_64 > $ I see that it managed to find autopoint, which comes from the same package. Do have a separate set of Autotools components in a non-system prefix?
Strange. I reran it again, and now it worked. gettext-devel was already installed... Perhaps it was some path or environment variable problem? Don't know. Anyhow, thanks for the help. I'm closing the bug.
Comment on attachment 371841 [details] [review] build: Abort as soon as autoreconf fails Pushed to master. Distcheck continues to pass; and the build fails as expected if bits of gettext are missing, but I didn't test the specific case where autopoint is present but config.rpath is missing.