Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120868 - fluxbox-0.9.14-r1 fails to compile
Summary: fluxbox-0.9.14-r1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
: 167721 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-29 14:13 UTC by Sam Kimbrel
Modified: 2007-02-20 09:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Kimbrel 2006-01-29 14:13:39 UTC
"emerge fluxbox" fails with lots and lots of this sort of error:
FbTk/libFbTk.a(XftFontImp.o): In function `FbTk::XftFontImp::XftFontImp(char const*, bool)':
XftFontImp.cc:(.text+0x78e): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XftFontImp.cc:(.text+0x7da): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XftFontImp.cc:(.text+0x7f0): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
XftFontImp.cc:(.text+0x82d): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
FbTk/libFbTk.a(XmbFontImp.o): In function `(anonymous namespace)::createFontSet(char const*, bool&)':
XmbFontImp.cc:(.text+0x628): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XmbFontImp.cc:(.text+0x66d): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XmbFontImp.cc:(.text+0x708): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XmbFontImp.cc:(.text+0x722): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
XmbFontImp.cc:(.text+0x762): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
XmbFontImp.cc:(.text+0x7ce): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
FbTk/libFbTk.a(XmbFontImp.o): In function `FbTk::XmbFontImp::XmbFontImp(char const*, bool)':
XmbFontImp.cc:(.text+0x8f5): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XmbFontImp.cc:(.text+0x93a): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XmbFontImp.cc:(.text+0x950): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
XmbFontImp.cc:(.text+0x98d): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
FbTk/libFbTk.a(XmbFontImp.o): In function `FbTk::XmbFontImp::XmbFontImp(char const*, bool)':
XmbFontImp.cc:(.text+0xa25): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XmbFontImp.cc:(.text+0xa6a): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
XmbFontImp.cc:(.text+0xa80): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
XmbFontImp.cc:(.text+0xabd): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
FbTk/libFbTk.a(ImageImlib2.o): In function `FbTk::ImageImlib2::ImageImlib2()':
ImageImlib2.cc:(.text+0x67): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ImageImlib2.cc:(.text+0xc2): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ImageImlib2.cc:(.text+0xd8): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
ImageImlib2.cc:(.text+0x110): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
FbTk/libFbTk.a(ImageImlib2.o): In function `FbTk::ImageImlib2::ImageImlib2()':
ImageImlib2.cc:(.text+0x1a7): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ImageImlib2.cc:(.text+0x202): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ImageImlib2.cc:(.text+0x218): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
ImageImlib2.cc:(.text+0x250): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
FbTk/libFbTk.a(ImageImlib2.o): In function `FbTk::ImageImlib2::~ImageImlib2()':
ImageImlib2.cc:(.text+0x2ba): undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
FbTk/libFbTk.a(ImageImlib2.o): In function `FbTk::ImageImlib2::~ImageImlib2()':
ImageImlib2.cc:(.text+0x39a): undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
FbTk/libFbTk.a(ImageImlib2.o): In function `FbTk::ImageImlib2::~ImageImlib2()':
ImageImlib2.cc:(.text+0x46a): undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
FbTk/libFbTk.a(ImageImlib2.o): In function `std::_Rb_tree<int, std::pair<int const, void*>, std::_Select1st<std::pair<int const, void*> >, std::less<int>, std::allocator<std::pair<int const, void*> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<int const, void*> const&)':
ImageImlib2.cc:(.gnu.linkonce.t._ZNSt8_Rb_treeIiSt4pairIKiPvESt10_Select1stIS3_ESt4lessIiESaIS3_EE9_M_insertEPSt18_Rb_tree_node_baseSB_RKS3_+0x66): undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
FbTk/libFbTk.a(ImageImlib2.o): In function `std::_Rb_tree<int, std::pair<int const, void*>, std::_Select1st<std::pair<int const, void*> >, std::less<int>, std::allocator<std::pair<int const, void*> > >::insert_unique(std::pair<int const, void*> const&)':
ImageImlib2.cc:(.gnu.linkonce.t._ZNSt8_Rb_treeIiSt4pairIKiPvESt10_Select1stIS3_ESt4lessIiESaIS3_EE13insert_uniqueERKS3_+0xa7): undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
FbTk/libFbTk.a(ImageImlib2.o): In function `std::_Rb_tree<int, std::pair<int const, void*>, std::_Select1st<std::pair<int const, void*> >, std::less<int>, std::allocator<std::pair<int const, void*> > >::insert_unique(std::_Rb_tree_iterator<std::pair<int const, void*> >, std::pair<int const, void*> const&)':
ImageImlib2.cc:(.gnu.linkonce.t._ZNSt8_Rb_treeIiSt4pairIKiPvESt10_Select1stIS3_ESt4lessIiESaIS3_EE13insert_uniqueESt17_Rb_tree_iteratorIS3_ERKS3_+0x34): undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
collect2: ld returned 1 exit status

emerge info:
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.11.11 i686)
=================================================================
System uname: 2.6.11.11 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="-O2 -march=pentium3 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts bzip2 cdr crypt cups eds emboss encode expat foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl pic png posix python qt quicktime readline sdl spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Expected results:
1. Fluxbox installed
Actual results:
1. Merge failed

Additional info:
Toolchain should be entirely up-to-date and correct since it was built once with the old toolchain and then used to build a new version. This missing STL dependency is a total mystery to me but has been documented by other users in several threads on the forums:
http://forums.gentoo.org/viewtopic-t-320462-highlight-rbtree.html
http://forums.gentoo.org/viewtopic-t-409929-highlight-rbtree.html
http://forums.gentoo.org/viewtopic-t-411515-highlight-rbtree.html
Comment 1 Sam Kimbrel 2006-02-01 05:54:30 UTC
Okay...
On the advice of someone on the forums, I removed the old libstdc++ files from /usr/lib and reattempted the merge. It worked this time.
Must have been something to do with the gcc update not cleaning out all the old files. 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-20 09:40:56 UTC
*** Bug 167721 has been marked as a duplicate of this bug. ***