Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6840

Summary: id3lib-3.8.0 fails to emerge
Product: Gentoo Linux Reporter: Nicholas Wourms <nwourms>
Component: [OLD] LibraryAssignee: Matthew Kennedy (RETIRED) <mkennedy>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild for version 3.8.0
patch to fix gcc-3.x problems

Description Nicholas Wourms 2002-08-21 12:27:50 UTC
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)'
Comment 1 Michael Best 2002-08-21 17:49:49 UTC
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
Comment 2 Michael Best 2002-08-21 17:50:33 UTC
Created attachment 3283 [details, diff]
patch to fix gcc-3.x problems

goes with Ebuild for version 3.8.0
Comment 3 Nicholas Wourms 2002-08-21 18:31:06 UTC
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".
Comment 4 Michael Best 2002-08-21 19:12:32 UTC
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
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2002-08-24 01:19:08 UTC
thanks for the patch. this fix was added to portage along with a version bump.

Matt