Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41846 - id3lib ebuild id3lib-3.8.3-r1 fails to compile
Summary: id3lib ebuild id3lib-3.8.3-r1 fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High critical
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 17:25 UTC by Eduardo Farias
Modified: 2004-02-24 02:30 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 Eduardo Farias 2004-02-16 17:25:13 UTC
When trying to emerge kde, it fails in id3lib with the following errors

Making all in examples
make[2]: Entering directory `/var/tmp/portage/id3lib-3.8.3-r1/work/id3lib-3.8.3/examples'
source='demo_info_options.c' object='demo_info_options.o' libtool=no \
depfile='.deps/demo_info_options.Po' tmpdepfile='.deps/demo_info_options.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -Wno-deprecated -Wno-deprecated -Wno-deprecated  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -c `test -f 'demo_info_options.c' || echo './'`demo_info_options.c
source='demo_info.cpp' object='demo_info.o' libtool=no \
depfile='.deps/demo_info.Po' tmpdepfile='.deps/demo_info.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -Wno-deprecated -Wno-deprecated -Wno-deprecated  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -c -o demo_info.o `test -f 'demo_info.cpp' || echo './'`demo_info.cpp
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
source='demo_convert_options.c' object='demo_convert_options.o' libtool=no \
depfile='.deps/demo_convert_options.Po' tmpdepfile='.deps/demo_convert_options.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -Wno-deprecated -Wno-deprecated -Wno-deprecated  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -c `test -f 'demo_convert_options.c' || echo './'`demo_convert_options.c
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
source='demo_convert.cpp' object='demo_convert.o' libtool=no \
depfile='.deps/demo_convert.Po' tmpdepfile='.deps/demo_convert.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -Wno-deprecated -Wno-deprecated -Wno-deprecated  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -c -o demo_convert.o `test -f 'demo_convert.cpp' || echo './'`demo_convert.cpp
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
demo_convert_options.c:173:2: warning: no newline at end of file
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
source='demo_tag_options.c' object='demo_tag_options.o' libtool=no \
depfile='.deps/demo_tag_options.Po' tmpdepfile='.deps/demo_tag_options.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -Wno-deprecated -Wno-deprecated -Wno-deprecated  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -c `test -f 'demo_tag_options.c' || echo './'`demo_tag_options.c
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
demo_tag_options.c:316:2: warning: no newline at end of file
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
source='demo_tag.cpp' object='demo_tag.o' libtool=no \
depfile='.deps/demo_tag.Po' tmpdepfile='.deps/demo_tag.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -Wno-deprecated -Wno-deprecated -Wno-deprecated  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -c -o demo_tag.o `test -f 'demo_tag.cpp' || echo './'`demo_tag.cpp
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
source='demo_copy_options.c' object='demo_copy_options.o' libtool=no \
depfile='.deps/demo_copy_options.Po' tmpdepfile='.deps/demo_copy_options.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -Wno-deprecated -Wno-deprecated -Wno-deprecated  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -c `test -f 'demo_copy_options.c' || echo './'`demo_copy_options.c
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC
source='demo_copy.cpp' object='demo_copy.o' libtool=no \
depfile='.deps/demo_copy.Po' tmpdepfile='.deps/demo_copy.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -Wno-deprecated -Wno-deprecated -Wno-deprecated  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -c -o demo_copy.o `test -f 'demo_copy.cpp' || echo './'`demo_copy.cpp
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
/bin/sh ../libtool --mode=link g++  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations    -o id3info  demo_info_options.o demo_info.o ../src/libid3.la -lz   
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for C++
/bin/sh ../libtool --mode=link g++  -O3 -mcpu=i686 -funroll-loops -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations    -o id3convert  demo_convert_options.o demo_convert.o ../src/libid3.la -lz   
mkdir .libs
g++ -O3 -mcpu=i686 -funroll-loops -pipe -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<wchar_t>::compare(wchar_t const*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::assign(wchar_t*, unsigned, wchar_t)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::copy(wchar_t*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::move(wchar_t*, wchar_t const*, unsigned)'
collect2: ld returned 1 exit status
make[2]: *** [id3info] Error 1
make[2]: *** Waiting for unfinished jobs....
g++ -O3 -mcpu=i686 -funroll-loops -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -o .libs/id3convert demo_convert_options.o demo_convert.o  ../src/.libs/libid3.so -lz
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::compare(wchar_t const*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::assign(wchar_t*, unsigned, wchar_t)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::copy(wchar_t*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::move(wchar_t*, wchar_t const*, unsigned)'
collect2: ld returned 1 exit status
make[2]: *** [id3convert] Error 1
make[2]: Leaving directory `/var/tmp/portage/id3lib-3.8.3-r1/work/id3lib-3.8.3/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/id3lib-3.8.3-r1/work/id3lib-3.8.3'
make: *** [all] Error 2

!!! ERROR: media-libs/id3lib-3.8.3-r1 failed.
!!! Function src_compile, Line 418, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge id3lib
3.

Actual Results:  
ebuild failed

Expected Results:  
successfully emerge

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox"
GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/pub/gentoo/
http://darkstar.ist.utl.pt/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://ftp.rnl.ist.utl.pt/gentoo-portage"
USE="X acpi acpi4linux afs autofs berkdb cdr crypt cups emacs esd freetype gdbm
gnome gtk2 java jikes jpeg kde kerberos krb4 ldap ncurses pam perl readline sasl
snmp ssl tcpd tetex type1 unicode x86 xml2 zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-18 05:19:32 UTC
Uhm... worked fine for me... I can't reproduce it... are you upgrading from a previous version perhaps?  Maybe the installed version is causing conflicts somehow with the example files...
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-24 02:30:29 UTC
no response... closing