Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28898 - emerging atk-1.4.0 with USE=+doc fails
Summary: emerging atk-1.4.0 with USE=+doc fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 28932 28947 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-16 11:43 UTC by John Whitlock
Modified: 2003-09-28 10:31 UTC (History)
2 users (show)

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


Attachments
Output of emerge attempt (build.all,34.07 KB, application/octet-stream)
2003-09-17 13:18 UTC, John Whitlock
Details
Output of emerge attempt (build.all,34.07 KB, text/plain)
2003-09-17 13:19 UTC, John Whitlock
Details
Output of emerge attempt (build.all.txt,34.07 KB, text/plain)
2003-09-17 13:19 UTC, John Whitlock
Details
Output of emerge attempt (build.all.txt,34.07 KB, application/octet-stream)
2003-09-17 13:20 UTC, John Whitlock
Details
Output of emerge attempt (build.all.txt,34.07 KB, text/plain)
2003-09-17 13:20 UTC, John Whitlock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Whitlock 2003-09-16 11:43:13 UTC
When emerging atk-1.4.0, with this step (in docs subdirectory):

gcc -Os -mcpu=pentium3 -march=pentium3 -pipe -Wall -o .libs/atk-scan
.libs/atk-scan.o ../atk/.libs/libatk-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so

these errors are generated (tail end):
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld:
warning: type and size of dynamic symbol `__start___libc_atexit' are not defined
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld:
warning: type and size of dynamic symbol `__stop___libc_atexit' are not defined
creating atk-scan
Scan failed
make: *** [scan-build.stamp] Error 25

If that gcc line is compiled with -lc, the warnings do not appear.  If compiled
with:
USE="-doc" emerge atk
the emerge suceeds.






Reproducible: Always
Steps to Reproduce:
To reproduce:
USE="+doc" emerge atk
May require ~x86 keyword, etc.




Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine)
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=pentium3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -mcpu=pentium3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gdbm berkdb slang readline arts tetex aalib bonobo svga java X sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl acpi
cscope doc fbcon imap jikes lirc pcmcia pda pnp rage128 samba tiff trusted usb
xml -3dnow"
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-09-17 03:42:21 UTC
*** Bug 28947 has been marked as a duplicate of this bug. ***
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-09-17 03:44:15 UTC
could you please attach the full build log? thanks.
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-09-17 03:47:45 UTC
*** Bug 28932 has been marked as a duplicate of this bug. ***
Comment 4 John Whitlock 2003-09-17 07:52:04 UTC
Sorry, I'm not going to be much help - the system than generated the bug is toast.

I added doc to make.conf after running for a few weeks.  I thought this might be the problem (previous packages built without doc), so I did the following to rebuild my system, as sugested by the Portage manual:
# emerge --update world --emptytree
The emerge failed on gcc.  On reboot, lots of things fail, including:
emerge: line 9, ImportError: No Module named time
depscan.sh: /lib/rcscripts/filefuncs.so: undefined symbol: CONVFMTidx
vi: Segmentation fault

So, I have a screwed system.  If I get it working again, I'll post the atk build log (assuming it's still working)
Comment 5 Spider (RETIRED) gentoo-dev 2003-09-17 09:05:54 UTC
OT:
That bug is gcc 3.3.1-r2 and rebuilding. If possible revert to gcc 3.3.1-r1 and rebuild python and it should work
Comment 6 John Whitlock 2003-09-17 13:18:36 UTC
Created attachment 17909 [details]
Output of emerge attempt

I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk
with the same results as previously.  build.all was created with:
bash# emerge atk &> build.all
Comment 7 John Whitlock 2003-09-17 13:19:01 UTC
Created attachment 17910 [details]
Output of emerge attempt

I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk
with the same results as previously.  build.all was created with:
bash# emerge atk &> build.all
Comment 8 John Whitlock 2003-09-17 13:19:52 UTC
Created attachment 17911 [details]
Output of emerge attempt

I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk
with the same results as previously.  build.all was created with:
bash# emerge atk &> build.all
Comment 9 John Whitlock 2003-09-17 13:20:04 UTC
Created attachment 17912 [details]
Output of emerge attempt

I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk
with the same results as previously.  build.all was created with:
bash# emerge atk &> build.all
Comment 10 John Whitlock 2003-09-17 13:20:41 UTC
Created attachment 17913 [details]
Output of emerge attempt

I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk
with the same results as previously.  build.all was created with:
bash# emerge atk &> build.all
Comment 11 John Whitlock 2003-09-17 13:22:34 UTC
Comment on attachment 17913 [details]
Output of emerge attempt

I've installed a binary gcc-3.2.3-r1 and python-2.2.3, and I can now emerge atk
with the same results as previously.  Captured with:
bash# emerge atk &> build.all
Comment 12 John Whitlock 2003-09-17 13:25:14 UTC
Sorry about the spam.  Bugzilla was giving me errors, and I tried resubmitting rather than seeing if the attachment worked.
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2003-09-17 16:07:27 UTC
can you try using some different CFLAGS ? like remove -mcpu= and -Os ?
Comment 14 John Whitlock 2003-09-18 06:02:08 UTC
Sorry, the system is dead again.  I tried:
> emerge -e gcc
Which builds... just about everything.  The build died on glibc-2.3.2-r1, with 'multiple definition of `_errno`, but other things that were built are now in trouble (emerge, python, etc.)  Plus, the disk is getting too full (92%, 500 MB left).

I'm thinking of going back to a stage 3 or stage 1 system, with known good versions of all the tools.  I'm headed out of town for the weekend, so I don't mind a three-day build.

Comment 15 foser (RETIRED) gentoo-dev 2003-09-21 10:27:39 UTC
resolved invalid as it looks like system trouble to me, reopen if needed after a clean install
Comment 16 John Whitlock 2003-09-28 10:31:44 UTC
After clean install (only 10 days!), atk-1.4.0 builds cleanly with same compiler
options.  NOT using ~x86 anymore, so I had to specify version 1.4.0, but
this bug has gone away for me.  I agree this was system trouble, probably
related to gcc 3.3.1-r2 and invalid library builds.