Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73229 - USE=doc breaks gnome-base/libbonobo 2.6.2
Summary: USE=doc breaks gnome-base/libbonobo 2.6.2
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 07:12 UTC by David Norris
Modified: 2005-06-14 22:04 UTC (History)
0 users

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


Attachments
output of 'USE=doc emerge libbonobo' (emerge-libbonobo-FAIL.log,201.00 KB, text/plain)
2004-12-03 19:46 UTC, David Norris
Details
output of 'FEATURES=-ccache USE=doc emerge libbonobo' (libbonobo-fail.log,201.26 KB, text/plain)
2004-12-04 15:48 UTC, David Norris
Details
output of 'FEATURES=-ccache USE=doc emerge libgnomecanvas' (gnomecanvas-fail.log,59.00 KB, text/plain)
2004-12-04 15:49 UTC, David Norris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Norris 2004-12-03 07:12:24 UTC
% 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"
Comment 1 David Norris 2004-12-03 07:26:37 UTC
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!
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2004-12-03 18:36:41 UTC
You'll need to attach a full build log of either package failing, thanks.
Comment 3 David Norris 2004-12-03 19:46:11 UTC
Created attachment 45240 [details]
output of 'USE=doc emerge libbonobo'

No problem, here it is!
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2004-12-03 21:41:03 UTC
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.
Comment 5 David Norris 2004-12-03 22:11:05 UTC
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?
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2004-12-04 08:36:19 UTC
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.
Comment 7 David Norris 2004-12-04 15:48:22 UTC
Created attachment 45294 [details]
output of 'FEATURES=-ccache USE=doc emerge libbonobo'

No worries at all... here's the libbonobo log...
Comment 8 David Norris 2004-12-04 15:49:03 UTC
Created attachment 45295 [details]
output of 'FEATURES=-ccache USE=doc emerge libgnomecanvas'

... and here's libgnomecanvas.
Comment 9 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-15 15:36:30 UTC
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?
Comment 10 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-14 22:04:36 UTC
No further feedback.