GNOME Bugzilla – Bug 773870
git master fails to build using JHbuild
Last modified: 2016-11-03 08:23:37 UTC
git master fails to build using JHBuild. Relevant part from build log: configure.ac:512: error: required file 'plugins/media-keys/gvc/Makefile.in' not found gnome-settings-daemon/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' plugins/power/Makefile.am:67: warning: libexec_PROGRAMS was already defined in condition TRUE, which includes condition HAVE_GUDEV ... plugins/power/Makefile.am:26: ... 'libexec_PROGRAMS' previously defined here plugins/smartcard/Makefile.am:59: warning: variable 'libsmartcard_la_SOURCES' is defined but no program or plugins/smartcard/Makefile.am:59: library has 'libsmartcard_la' as canonical name (possible typo) plugins/smartcard/Makefile.am:68: warning: variable 'nodist_libsmartcard_la_SOURCES' is defined but no program or plugins/smartcard/Makefile.am:68: library has 'libsmartcard_la' as canonical name (possible typo) plugins/smartcard/Makefile.am:91: warning: variable 'libsmartcard_la_LIBADD' is defined but no program or plugins/smartcard/Makefile.am:91: library has 'libsmartcard_la' as canonical name (possible typo) plugins/smartcard/Makefile.am:88: warning: variable 'libsmartcard_la_LDFLAGS' is defined but no program or plugins/smartcard/Makefile.am:88: library has 'libsmartcard_la' as canonical name (possible typo) autoreconf: automake failed with exit status: 1 *** Error during phase configure of gnome-settings-daemon: ########## Error running /home/sadiq/jhbuild/checkout/gnome-settings-daemon/autogen.sh --prefix /home/sadiq/jhbuild/install --disable-Werror --disable-static --disable-gtk-doc *** Thanks.
(In reply to Mohammed Sadiq from comment #0) > git master fails to build using JHBuild. > > Relevant part from build log: > > configure.ac:512: error: required file 'plugins/media-keys/gvc/Makefile.in' > not found One of the errors. Next time, please make sure to include the complete log, include the one that has errors before this. Fixed in master.
(In reply to Bastien Nocera from comment #1) > One of the errors. Next time, please make sure to include the complete log, > include the one that has errors before this. Sorry, I didn't notice the other errors > > Fixed in master. I still have some strange issue compiling. I have pushd and popd. I'm Debian testing if that matters The full log: *** Configuring gnome-settings-daemon *** [1/1] /home/sadiq/jhbuild/checkout/gnome-settings-daemon/autogen.sh --prefix /home/sadiq/jhbuild/install --disable-Werror --disable-static --disable-gtk-doc /home/sadiq/jhbuild/install/bin/gnome-autogen.sh /home/sadiq/jhbuild/checkout/gnome-settings-daemon/autogen.sh: 25: /home/sadiq/jhbuild/checkout/gnome-settings-daemon/autogen.sh: pushd: not found + Setting up submodules fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git /home/sadiq/jhbuild/checkout/gnome-settings-daemon/autogen.sh: 34: /home/sadiq/jhbuild/checkout/gnome-settings-daemon/autogen.sh: popd: not found ***Warning*** USE_GNOME2_MACROS is deprecated, you may remove it from autogen.sh ***Warning*** PKG_NAME is deprecated, you may remove it from autogen.sh checking for automake >= 1.5... testing automake... found 1.15 checking for autoreconf >= 2.53... testing autoreconf... found 2.69 checking for glib-gettext >= 2.2.0... testing glib-gettextize... found 2.51.0 checking for intltool >= 0.25... testing intltoolize... found 0.51.0 checking for pkg-config >= 0.14.0... testing pkg-config... found 0.28 Checking for required M4 macros... Processing /home/sadiq/jhbuild/checkout/gnome-settings-daemon/configure.ac Running glib-gettextize... Ignore non-fatal messages. Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /home/sadiq/jhbuild/install/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. Running intltoolize... Running autoreconf... autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=no-portability ${ACLOCAL_FLAGS} autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability configure.ac:20: installing './compile' configure.ac:23: installing './config.guess' configure.ac:23: installing './config.sub' configure.ac:9: installing './install-sh' configure.ac:9: installing './missing' Makefile.am: installing './INSTALL' configure.ac:512: error: required file 'plugins/media-keys/gvc/Makefile.in' not found gnome-settings-daemon/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' plugins/power/Makefile.am:67: warning: libexec_PROGRAMS was already defined in condition TRUE, which includes condition HAVE_GUDEV ... plugins/power/Makefile.am:26: ... 'libexec_PROGRAMS' previously defined here plugins/smartcard/Makefile.am:59: warning: variable 'libsmartcard_la_SOURCES' is defined but no program or plugins/smartcard/Makefile.am:59: library has 'libsmartcard_la' as canonical name (possible typo) plugins/smartcard/Makefile.am:68: warning: variable 'nodist_libsmartcard_la_SOURCES' is defined but no program or plugins/smartcard/Makefile.am:68: library has 'libsmartcard_la' as canonical name (possible typo) plugins/smartcard/Makefile.am:91: warning: variable 'libsmartcard_la_LIBADD' is defined but no program or plugins/smartcard/Makefile.am:91: library has 'libsmartcard_la' as canonical name (possible typo) plugins/smartcard/Makefile.am:88: warning: variable 'libsmartcard_la_LDFLAGS' is defined but no program or plugins/smartcard/Makefile.am:88: library has 'libsmartcard_la' as canonical name (possible typo) autoreconf: automake failed with exit status: 1 *** Error during phase configure of gnome-settings-daemon: ########## Error running /home/sadiq/jhbuild/checkout/gnome-settings-daemon/autogen.sh --prefix /home/sadiq/jhbuild/install --disable-Werror --disable-static --disable-gtk-doc *** [1/1] Thanks
Hm.. using bash instead of sh in autogen.sh fixes the issue
Yeah, Ubuntu and Debian's crippled shell... I'm pretty sure all the autogen.sh files around use bash syntax. If that's a problem, please file a bug against jhbuild so it runs the interpreter itself, rather than letting the script specify it.
Never mind, I made changes that will also work with ash.