Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126210 - koffice-libs build dies without error message
Summary: koffice-libs build dies without error message
Status: RESOLVED DUPLICATE of bug 69475
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-14 12:46 UTC by Peter Fischer
Modified: 2006-03-24 05:44 UTC (History)
0 users

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


Attachments
config.log from /var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/ (config.log,136.78 KB, text/plain)
2006-03-15 10:47 UTC, Peter Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fischer 2006-03-14 12:46:15 UTC
If I want to build koffice-libs like this:
> -# emerge -pv app-office/koffice-libs
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild     U ] app-office/koffice-libs-1.5_beta2 [1.5_beta1] +arts -debug -doc -kdexdeltas +xinerama 0 kB

the build suddenly dies:

[shortened]
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/kross -I../../../lib/kross -I/usr/include/python2.4 -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o pythoninterpreter.lo `test -f 'pythoninterpreter.cpp' || echo './'`pythoninterpreter.cpp
/bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions   -o krosspython.la -rpath /usr/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib  -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib -lpython2.4 -ldl  -L/usr/lib -module -version-info 1:0:0 pythonextension.lo pythonmodule.lo pythonobject.lo pythonscript.lo pythonsecurity.lo pythoninterpreter.lo -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore CXX/libkrosspythoncxx.la ../api/libkrossapi.la ../main/libkrossmain.la
-# echo $?
1

[from /var/log/emerge.log]
1142352583: Started emerge on: Mar 14, 2006 17:09:43
1142352584:  *** emerge --verbose world
1142352587:  >>> emerge (1 of 14) app-office/koffice-libs-1.5_beta2 to /
1142352587:  === (1 of 14) Cleaning (app-office/koffice-libs-1.5_beta2::/usr/portage/app-office/koffice-libs/koffice-libs-1.5
_beta2.ebuild)
1142352588:  === (1 of 14) Compiling/Merging (app-office/koffice-libs-1.5_beta2::/usr/portage/app-office/koffice-libs/koffice
-libs-1.5_beta2.ebuild)
1142353244:  *** terminating.
/var/log/emerge.log lines 17678-17711/17711 (END)

[emerge --info]
-# emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en fr es it nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X X509 a52 aac accounting acl acpi activefilter adns alsa amd amr apache2 apm arts artswrappersuid asterisk async atm audiofile avi bash-completion berkdb bidi bitmap-fonts bluetooth bri bzip2 c3p0 cairo calendar cdb cdda cddb cdio cdparanoia cdr cdrom chipcard cjk client codecs cpdflib crypt css csv ctype cups curl curlwrappers dba dbus dbx dhcp dio directfb disk-cache distcache divx4linux djbfft dmalloc dnd dpms dri droproot dts dv dvb dvd dvdr dvdread dxr3 ecc edl eds emboss emoticon encode erandom escreen ethereal exif expat extensions fam fame fb fbcon fbdev ffmpeg fftw flac flatfile florz font-server foomaticdb fortran fping fpx gd gdbm geoip gif gimp gimpprint glut gmp gphoto2 gpm gps graphviz gs gsm gstreamer gtk2 h323 hal hbci hostap-noplx howl httpd iconv icp idea idn ieee1394 imagekits imagemagick imap imlib imlib2 inifile inkjar inline ipv6 isdn j2ee jabber jai java javamail javascript jce jcs jimi jms jp2 jpeg jpeg2k junit kde kdepim kerberos krb4 ladcca ladspa lcd lcms ldap libcaca libedit libg++ libwww live lm_sensors logitech-mouse lzo lzw m17n-lib mad maildir mailwrapper matroska mem-cache mew mhash mikmod mime mimencode ming mjpeg mmx mmxext mng moneyplex monkey motif mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer mpm-prefork mppe-mppc msn mule multi-tty mysql mythtv ncurses network nls nptl nptlonly ntlm objc odbc ofx ogdi ogg oggvorbis openal openexr opengl operanom2 ortp oscache oscar oss pam pam_chroot pam_console pam_timestamp parse-clocks pcmcia pcntl pcre pda pdf pdflib pear-db perl pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils plugin png postgres ppds pri proxool pwdb python qt quicktime quotas quotes rar rdesktop readline real recode rhino rpc rrdtool ruby samba sample sasl sblive scanner screenshot sdk sdl server session sftplogging sharedmem shorten silc slang slp smartcard smime sms sndfile sockets socks5 sox spell spl sql sqlite sqlite3 srp ssl stream streamzap subp subversion svg svgz swarmcache symlink sysfs syslog sysvipc szip tcltk tcpd tetex tidy tiff tokenizer transcode truetype truetype-fonts trusted type1-fonts ucs2 ucs4 udev unicode urandom usb userlocales utf8 v4l v4l2 vcd vcdimager vidix vim vim-pager vim-with-x visualization vlm vmdbpostgres vorbis wavelan wddx wifi win32codecs winbind withsamplescripts wma123 wmf xanim xemacs xine xinerama xinetd xml2 xmlrpc xmms xosd xpm xsl xslt xv xvid xvmc yv12 zeroconf zlib zvbi video_cards_radeon video_cards_rage128 linguas_de linguas_en linguas_fr linguas_es linguas_it linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Peter Fischer 2006-03-14 12:48:31 UTC
in case you wonder: all kde-base and kde-misc packages are keyworded '~x86' in /etc/portage/package.keywords
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-14 14:00:58 UTC
Well, we really can't fix something where there are no errors. Post the real build error or attach complete config.log.
Comment 3 Peter Fischer 2006-03-15 10:47:52 UTC
Created attachment 82229 [details]
config.log from /var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/
Comment 4 Peter Fischer 2006-03-15 10:59:25 UTC
what really puzzles me is that the whole portage process tree seems to disappear...

normally, if a compile error happens, you see at least make's cleaning up, leaving some working directory, then portage's nag text to post the uppermost error...

not in this case! Like I posted above: the very last line on my screen is the one to compile krosspython.la, then portage is not running any more.

Here is the tail of the output of "strace ebuild /usr/portage/app-office/koffice-libs/koffice-libs-1.5_beta2.ebuild compile":
[...shortened...]
make[5]: Entering directory `/var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/lib/kross/python'
/bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions   -o krosspython.la -rpath /usr/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib  -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib -lpython2.4 -ldl  -L/usr/lib -module -version-info 1:0:0 pythonextension.lo pythonmodule.lo pythonobject.lo pythonscript.lo pythonsecurity.lo pythoninterpreter.lo -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore CXX/libkrosspythoncxx.la ../api/libkrossapi.la ../main/libkrossmain.la
.libs/pythonextension.o: In function `unsigned short* std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> >::_S_construct<unsigned short const*>(unsigned short const*, unsigned short const*, std::allocator<unsigned short> const&, std::forward_iterator_tag)':
pythonextension.cpp:(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE12_S_constructIPKtEEPtT_S7_RKS1_St20forward_iterator_tag+0x5a): undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, unsigned short const*, unsigned)'
.libs/pythonextension.o: In function `std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> >::_M_mutate(unsigned, unsigned, unsigned)':
pythonextension.cpp:(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0xf9): undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, unsigned short const*, unsigned)'
pythonextension.cpp:(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x114): undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, unsigned short const*, unsigned)'
pythonextension.cpp:(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x161): undefined reference to `std::char_traits<unsigned short>::move(unsigned short*, unsigned short const*, unsigned)'
collect2: ld returned 1 exit status
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 16481
--- SIGCHLD (Child exited) @ 0 (0) ---
kill(16480, SIGTERM)                    = 0
waitpid(16480, 0xbfdf7bb4, WNOHANG)     = 0
kill(16480, SIGKILL)                    = 0
waitpid(16480, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM}], 0) = 16480
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbfdf8214, 0, NULL)          = -1 ECHILD (No child processes)
open("/var/cache/edb/mtimedb", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e2b000
write(3, "\200\2}q\1(U\4infoq\2}q\3(U\30/usr/share/i"..., 2682) = 2682
close(3)                                = 0
munmap(0xb7e2b000, 4096)                = 0
chown32("/var/cache/edb/mtimedb", 0, 250) = 0
chmod("/var/cache/edb/mtimedb", 0664)   = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x4dce85d0, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, {0x4dce85d0, [], 0}, 8) = 0
close(4)                                = 0
munmap(0xb7ef8000, 4096)                = 0
futex(0x8105430, FUTEX_WAKE, 1)         = 0
futex(0x80cdc68, FUTEX_WAKE, 1)         = 0
futex(0x804a810, FUTEX_WAKE, 1)         = 0
futex(0x804a198, FUTEX_WAKE, 1)         = 0
futex(0x804a198, FUTEX_WAKE, 1)         = 0
futex(0x804a198, FUTEX_WAKE, 1)         = 0
brk(0x8216000)                          = 0x8216000
brk(0x8215000)                          = 0x8215000
brk(0x8214000)                          = 0x8214000
brk(0x8213000)                          = 0x8213000
brk(0x8212000)                          = 0x8212000
brk(0x8211000)                          = 0x8211000
brk(0x8201000)                          = 0x8201000
brk(0x81ff000)                          = 0x81ff000
brk(0x81f1000)                          = 0x81f1000
munmap(0xb7e2c000, 4096)                = 0
exit_group(1)                           = ?

I hope this explains better what I want to explain.
Comment 5 Peter Fischer 2006-03-15 13:01:06 UTC
update: problems regarding "sudden death of all portage processes" are resolved:
I removed prelinking on my emtire system.

Now portage works correctly, the compile error still exists:

/bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions   -o krosspython.la -rpath /usr/lib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib  -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib -lpython2.4 -ldl  -L/usr/lib -module -version-info 1:0:0 pythonextension.lo pythonmodule.lo pythonobject.lo pythonscript.lo pythonsecurity.lo pythoninterpreter.lo -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore CXX/libkrosspythoncxx.la ../api/libkrossapi.la ../main/libkrossmain.la
.libs/pythonextension.o: In function `unsigned short* std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> >::_S_construct<unsigned short const*>(unsigned short const*, unsigned short const*, std::allocator<unsigned short> const&, std::forward_iterator_tag)':
pythonextension.cpp:(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE12_S_constructIPKtEEPtT_S7_RKS1_St20forward_iterator_tag+0x5a): undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, unsigned short const*, unsigned)'
.libs/pythonextension.o: In function `std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> >::_M_mutate(unsigned, unsigned, unsigned)':
pythonextension.cpp:(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0xf9): undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, unsigned short const*, unsigned)'
pythonextension.cpp:(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x114): undefined reference to `std::char_traits<unsigned short>::copy(unsigned short*, unsigned short const*, unsigned)'
pythonextension.cpp:(.gnu.linkonce.t._ZNSbItSt11char_traitsItESaItEE9_M_mutateEjjj+0x161): undefined reference to `std::char_traits<unsigned short>::move(unsigned short*, unsigned short const*, unsigned)'
collect2: ld returned 1 exit status
make[5]: *** [krosspython.la] Error 1
make[5]: Leaving directory `/var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/lib/kross/python'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/lib/kross/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/lib/kross'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2'
make: *** [all] Error 2

!!! ERROR: app-office/koffice-libs-1.5_beta2 failed.
!!! Function kde_src_compile, Line 224, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-03-24 05:44:50 UTC

*** This bug has been marked as a duplicate of 69475 ***