Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252417 - dev-libs/dbus-glib-0.78 does not build, automake fails
Summary: dev-libs/dbus-glib-0.78 does not build, automake fails
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Project Gentopia
Depends on:
Reported: 2008-12-24 19:52 UTC by Johannes Truschnigg
Modified: 2009-04-16 21:18 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Truschnigg 2008-12-24 19:52:07 UTC
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:

***** automake *****
***** automake --add-missing --copy

gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
doc/reference/   `gtk-doc.make' included from here
gtk-doc.make:48: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
doc/reference/   `gtk-doc.make' included from here
gtk-doc.make:153: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
doc/reference/   `gtk-doc.make' included from here

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.
Comment 1 Johannes Truschnigg 2008-12-25 08:45:53 UTC
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.
Comment 2 Le retraité 2008-12-25 15:04:18 UTC
I confirm this bug
Comment 3 Norberto Bensa 2008-12-25 15:29:17 UTC
I confirm this bug as well. 

With help of comment #1, I've emerged dbus-glib successfully.

Comment 4 George 2008-12-25 16:47:09 UTC
this is probably not the only package that has such issue:
I had the same when compiled gtk-webkit manually from svn
Comment 5 Dan Coats 2008-12-27 02:40:40 UTC
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/', 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:
 *     , line   49:  Called src_compile
 *             environment, line 2546:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
Comment 6 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-12-27 05:14:50 UTC
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/' " does imply automake is still failing to do its job properly. 
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2008-12-29 23:01:26 UTC
I made a tweak to the ebuild over the holiday weekend. Can you please retest and tell me if you have the same issues?
Comment 8 Norberto Bensa 2008-12-30 14:22:18 UTC
If the "tweak" was to force installation of dev-util/gtk-doc-am, then it works.
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2008-12-30 14:34:31 UTC
That's exactly what it does. We need the automake macros to be able to run automake on this package.

Thanks for testing.
Comment 10 Jimmy.Jazz 2009-01-09 00:47:35 UTC
(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

Comment 11 Jimmy.Jazz 2009-01-09 01:39:59 UTC
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.
Comment 12 Sven 'sleipnir' Rebhan 2009-04-16 21:18:50 UTC
Please also attach the dependency on gtk-doc-am to dbus-glib-0.80.