With gcc-3.2, the latest binutils, and glibc I am unable to emerge id3lib. The error I get is: c++ -march=pentium3 -O3 -pipe -Wno-deprecated -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -o .libs/id3info demo_info_options.o demo_info.o ../src/.libs/libid3.so -lz ../src/.libs/libid3.so: undefined reference to `std::char_traits<unsigned char>::assign(unsigned char*, unsigned, unsigned char)' ../src/.libs/libid3.so: undefined reference to `std::char_traits<unsigned char>::copy(unsigned char*, unsigned char const*, unsigned)' ../src/.libs/libid3.so: undefined reference to `std::char_traits<unsigned char>::move(unsigned char*, unsigned char const*, unsigned)'
Created attachment 3282 [details] Ebuild for version 3.8.0 Here is an ebuild for 3.8.0 the patch will be in a different attachment
Created attachment 3283 [details, diff] patch to fix gcc-3.x problems goes with Ebuild for version 3.8.0
I'm pleased to report that this fix does the trick. For anyone else who downloads it, you want to name the ebuild "id3lib-3.8.0.ebuild" and the patch "id3lib-3.8.0-gcc3.patch".
Sorry for the confusion. This is an ebuild for 3.8.0, not 3.8.0_pre2-r3 as is in the tree now. Here is what I did, put the Ebuild for 3.8.0: /usr/portage/media-libs/id3lib/id3lib-3.8.0.ebuild put the patch: /usr/portage/media-libs/id3lib/files/id3lib-3.8.0-gcc3.patch ebuild /usr/portage/media-libs/id3lib/id3lib-3.8.0.ebuild digest emerge /usr/portage/media-libs/id3lib/id3lib-3.8.0.ebuild inject media-libs/id3lib-3.8.0_pre2-r3
thanks for the patch. this fix was added to portage along with a version bump. Matt