% emerge libbonobo gcc -march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer -o .libs/libbonobo-scan .libs/libbonobo-scan.o -Wl,--export-dynamic ../../bonobo/.libs/libbonobo-2.so -L//usr/lib /var/tmp/portage/libbonobo-2.6.2/work/libbonobo-2.6.2/bonobo-activation/.libs/libbonobo-activation.so -pthread /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,//usr/lib creating libbonobo-scan Scan failed make[4]: *** [scan-build.stamp] Error 255 make[4]: Leaving directory `/var/tmp/portage/libbonobo-2.6.2/work/libbonobo-2.6.2/doc/api' --- Compiling with USE='-doc' resolves this problem. Will be happy to provide any other debug info if asked. Thanks, guys! Reproducible: Always Steps to Reproduce: 1. USE=doc emerge libbonobo (might only break with specific versions of gtk-doc?) % emerge info Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 x86_64) ================================================================= System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3,sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa amd64 apache2 apm avi bash-completion berkdb bitmap-fonts bzlib cdr crypt ctype cups directfb divx4linux doc dvd dvdr en code esd ethereal f77 fftw flac fortran ftp gd gif gnome gpm gtk gtk2 gtkhtml hardened icq innodb ipv6 java jikes joystick jp2 jpeg junit lzw lzw-tiff mad mpeg multilib mysql mysqli ncurses nls nocd offensive oggvorbis openal opengl oscar oss pam pcre pdflib perl png posix postgres python qt quicktime readline samba sdl shared sharedmem soap sockets spell ssl svg tcpd tidy tiff truetype unicode usb userlocales vhosts videos wxwindows xine xml2 xmms xpm xrandr xv xvid yahoo zlib"
Actually I don't think bonobo is the problem. I get the same error with USE=doc emerge gnomecanvas. Maybe gtk-doc itself is broken? I'm no gnome expert so bear with me... just let me know how I can help!
You'll need to attach a full build log of either package failing, thanks.
Created attachment 45240 [details] output of 'USE=doc emerge libbonobo' No problem, here it is!
There's nothing gtk-doc related in that bug report - it doesn't even make it to compiling/creating the documentation. Can you try without ccache in your FEATURES? Thanks.
Sure, I'll try that tomorrow (sleep calls). I'm confused, though. Why would USE='-doc' make the problem go away if it hadn't yet got to building the documentation? And I notice it's running docs/api/Makefile when it dies, and the make target that's dying appears, to my inexpert eye, to be calling gtk-doc. What am I missing?
I see what you mean now, sorry, I'm tired. I'll look into as soon as I can, and apologise for the confusion. In the meantime, just check without ccache in FEATURES, and check the other breaking build, see if it fails calling gtkdoc-scanobj.
Created attachment 45294 [details] output of 'FEATURES=-ccache USE=doc emerge libbonobo' No worries at all... here's the libbonobo log...
Created attachment 45295 [details] output of 'FEATURES=-ccache USE=doc emerge libgnomecanvas' ... and here's libgnomecanvas.
A number of things could be causing your problem, but I don't think it's related to gtk-doc. It might be related to problems with shared libraries in your system. It is strange that you logs don't provide any additional info between the "creating libbonobo-scan" and "Scan failed" lines. Do the logs you've attached include stderr? If not, could you please repost the log including stderr?
No further feedback.