When trying to build dev-libs/dbus-glib-0.78 on my systems (one running ~x86, one ~amd64, the first portage, the second paludis), the build process stops along the lines of * Running automake --add-missing --copy ... [ !! ] * Failed Running automake ! * * Include in your bugreport the contents of: * * /var/tmp/paludis/dev-libs-dbus-glib-0.78/temp//automake-23691.out The contents of said file are as follows: ---snip--- ***** automake ***** ***** automake --add-missing --copy gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL doc/reference/Makefile.am:89: `gtk-doc.make' included from here gtk-doc.make:48: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL doc/reference/Makefile.am:89: `gtk-doc.make' included from here gtk-doc.make:153: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL doc/reference/Makefile.am:89: `gtk-doc.make' included from here ---snip--- Reproducible: Always Steps to Reproduce: 1. try to install "dev-libs/dbus-glib-0.78" Actual Results: emerge/paludis croak upon running automake. Expected Results: "dev-libs/dbus-glib-0.78" installs cleanly. I neither have gtk in my USE-flags, nor installed on my system. Maybe that's related to the problem; I can't check because I cannot install gtk right now.
Installing dev-util/gtk-doc-am fixes the problem, and the ebuild installs fine. I have the feeling this shouldn't be necessary though, since I have neither the "doc" USE-flag set, nor installed gtk on my system.
I confirm this bug
I confirm this bug as well. With help of comment #1, I've emerged dbus-glib successfully.
this is probably not the only package that has such issue: I had the same when compiled gtk-webkit manually from svn
fails here on multiple boxes with... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"/usr/share/locale\" -DDBUS_API_SUBJECT_TO_CHANGE=1 -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-gtest-main.o -MD -MP -MF .deps/dbus-gtest-main.Tpo -c -o dbus-gtest-main.o dbus-gtest-main.c make[4]: *** libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"/usr/share/locale\" -DDBUS_API_SUBJECT_TO_CHANGE=1 -march=native -O2 -pipe -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-gparser.lo -MD -MP -MF .deps/dbus-gparser.Tpo -c dbus-gparser.c -o dbus-gparser.o >/dev/null 2>&1 No rule to make target `../dbus/libdbus-glib-1.la', needed by `dbus-glib-test'. Stop. make[4]: *** Waiting for unfinished jobs.... mv -f .deps/dbus-bash-completion-helper.Tpo .deps/dbus-bash-completion-helper.Po mv -f .deps/dbus-gtest-main.Tpo .deps/dbus-gtest-main.Po mv -f .deps/dbus-binding-tool-glib.Tpo .deps/dbus-binding-tool-glib.Po mv -f .deps/dbus-gparser.Tpo .deps/dbus-gparser.Plo make[4]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78/dbus' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78/dbus' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78/dbus' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/dbus-glib-0.78/work/dbus-glib-0.78' make: *** [all] Error 2 * * ERROR: dev-libs/dbus-glib-0.78 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2546: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed
dbus-glib-test build failure here too. 1. I am using paludis ( Possible Factor ) 2. USE="test" is set by BUILD_OPTIONS: optional_tests However, it is compiling the test in src_compile, not in src_test Reporting here, because "No rule to make target `../dbus/libdbus-glib-1.la' " does imply automake is still failing to do its job properly.
I made a tweak to the ebuild over the holiday weekend. Can you please retest and tell me if you have the same issues?
If the "tweak" was to force installation of dev-util/gtk-doc-am, then it works.
That's exactly what it does. We need the automake macros to be able to run automake on this package. Thanks for testing.
(In reply to comment #9) > That's exactly what it does. We need the automake macros to be able to run > automake on this package. > > Thanks for testing. > You can add doins gtk-doc.make in the src_install() in gtk-doc-am package too
bad copy paste insinto /usr/share/gtk-doc/data doins gtk-doc.make doins gtk-doc.notmpl.make exeopts -m0755 exeinto /usr/bin doexe gtkdocize anyway, sgml will still be deactivated. It is preferable to use dev-util/gtk-doc and all its dependencies.
Please also attach the dependency on gtk-doc-am to dbus-glib-0.80.