| Summary: | koffice-libs build dies without error message | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter Fischer <petrus69> |
| Component: | New packages | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | config.log from /var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/ | ||
|
Description
Peter Fischer
2006-03-14 12:46:15 UTC
in case you wonder: all kde-base and kde-misc packages are keyworded '~x86' in /etc/portage/package.keywords Well, we really can't fix something where there are no errors. Post the real build error or attach complete config.log. Created attachment 82229 [details]
config.log from /var/tmp/portage/koffice-libs-1.5_beta2/work/koffice-libs-1.5_beta2/
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.
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. |