Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178654 - media-libs/id3lib-3.8.3-r5 fails when "examples" USE flag is set
Summary: media-libs/id3lib-3.8.3-r5 fails when "examples" USE flag is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-15 15:31 UTC by Drew Patridge
Modified: 2007-05-15 17:08 UTC (History)
0 users

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 Drew Patridge 2007-05-15 15:31:55 UTC
the area where the build fails:

Making all in src
make[2]: Entering directory `/var/tmp/portage/media-libs/id3lib-3.8.3-r5/work/id3lib-3.8.3/src'
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include     -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -MT c_wrapper.lo -MD -MP -MF .deps/c_wrapper.Tpo -c -o c_wrapper.lo c_wrapper.cpp
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include     -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -MT field.lo -MD -MP -MF .deps/field.Tpo -c -o field.lo field.cpp
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -MT c_wrapper.lo -MD -MP -MF .deps/c_wrapper.Tpo -c c_wrapper.cpp  -fPIC -DPIC -o .libs/c_wrapper.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
../include/id3/id3lib_frame.h:44: warning: 'class ID3_Frame::Iterator' has virtual functions but non-virtual destructor
../include/id3/id3lib_frame.h:50: warning: 'class ID3_Frame::ConstIterator' has virtual functions but non-virtual destructor
../include/id3/tag.h:48: warning: 'class ID3_Tag::Iterator' has virtual functions but non-virtual destructor
../include/id3/tag.h:54: warning: 'class ID3_Tag::ConstIterator' has virtual functions but non-virtual destructor
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -MT c_wrapper.lo -MD -MP -MF .deps/c_wrapper.Tpo -c c_wrapper.cpp -o c_wrapper.o >/dev/null 2>&1
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -MT field.lo -MD -MP -MF .deps/field.Tpo -c field.cpp  -fPIC -DPIC -o .libs/field.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
make[2]: *** [c_wrapper.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
../include/id3/reader.h:34: warning: 'class ID3_Reader' has virtual functions but non-virtual destructor
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -MT field.lo -MD -MP -MF .deps/field.Tpo -c field.cpp -o field.o >/dev/null 2>&1
mv -f .deps/field.Tpo .deps/field.Plo
make[2]: Leaving directory `/var/tmp/portage/media-libs/id3lib-3.8.3-r5/work/id3lib-3.8.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/id3lib-3.8.3-r5/work/id3lib-3.8.3'
make: *** [all] Error 2

!!! ERROR: media-libs/id3lib-3.8.3-r5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3525:   Called src_compile
  id3lib-3.8.3-r5.ebuild, line 43:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/id3lib-3.8.3-r5/temp/build.log'.

-----------------------------------------

If you just simply block the "examples" USE flag it builds fine.

Reproducible: Always

Steps to Reproduce:
1. USE="examples" emerge id3lib
2. watch the output until it breaks

Actual Results:  
Making all in src
make[2]: Entering directory `/var/tmp/portage/media-libs/id3lib-3.8.3-r5/work/id3lib-3.8.3/src'
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include     -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -MT c_wrapper.lo -MD -MP -MF .deps/c_wrapper.Tpo -c -o c_wrapper.lo c_wrapper.cpp
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include     -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -MT field.lo -MD -MP -MF .deps/field.Tpo -c -o field.lo field.cpp
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -MT c_wrapper.lo -MD -MP -MF .deps/c_wrapper.Tpo -c c_wrapper.cpp  -fPIC -DPIC -o .libs/c_wrapper.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
../include/id3/id3lib_frame.h:44: warning: 'class ID3_Frame::Iterator' has virtual functions but non-virtual destructor
../include/id3/id3lib_frame.h:50: warning: 'class ID3_Frame::ConstIterator' has virtual functions but non-virtual destructor
../include/id3/tag.h:48: warning: 'class ID3_Tag::Iterator' has virtual functions but non-virtual destructor
../include/id3/tag.h:54: warning: 'class ID3_Tag::ConstIterator' has virtual functions but non-virtual destructor
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -MT c_wrapper.lo -MD -MP -MF .deps/c_wrapper.Tpo -c c_wrapper.cpp -o c_wrapper.o >/dev/null 2>&1
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -MT field.lo -MD -MP -MF .deps/field.Tpo -c field.cpp  -fPIC -DPIC -o .libs/field.o
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
make[2]: *** [c_wrapper.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
../include/id3/reader.h:34: warning: 'class ID3_Reader' has virtual functions but non-virtual destructor
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include/id3 -I../include -march=athlon-xp -O3 -pipe -Wall -Wno-unused -Wno-inline -Woverloaded-virtual -Wmissing-declarations -MT field.lo -MD -MP -MF .deps/field.Tpo -c field.cpp -o field.o >/dev/null 2>&1
mv -f .deps/field.Tpo .deps/field.Plo
make[2]: Leaving directory `/var/tmp/portage/media-libs/id3lib-3.8.3-r5/work/id3lib-3.8.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/id3lib-3.8.3-r5/work/id3lib-3.8.3'
make: *** [all] Error 2

!!! ERROR: media-libs/id3lib-3.8.3-r5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3525:   Called src_compile
  id3lib-3.8.3-r5.ebuild, line 43:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/id3lib-3.8.3-r5/temp/build.log'.


Expected Results:  
successful build
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-15 15:51:01 UTC
emerge --info please.
Comment 2 Drew Patridge 2007-05-15 16:11:48 UTC
alp@ALPCom ~ $ emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r6 i686)
=================================================================
System uname: 2.6.20-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 14 May 2007 04:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.utdlug.org/linux/distributions/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en en_US ja ko"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 7zip X Xaw3d a52 aac aalib acpi alsa ao arj audiofile avahi bash-completion berkdb bitmap-fonts boost bzip2 cairo canna caps cdda cddb cdparanoia chardet cjk clamav cli cracklib crypt cups dbus dts dv dvd dvdr dvdread elf emerald encode examples exif expat fam ffmpeg firefox flac fltk fontconfig foomaticdb fortran fuse gd gdbm gif gimp gimpprint gnutls gphoto2 gpm gs gtk gtk2 gtkhtml hal iconv icu imlib isdnlog java jbig jpeg jpeg2k jython lame lcms lha libcaca libg++ libsamplerate lm_sensors mad matroska midi mikmod mime mmap mmx mng modplug mp3 mpeg musepack ncurses nls nptl nptlonly nsplugin ogg openal opengl oss pam paste64 pcre perl png posix ppds pppd profile pulseaudio python quicktime rar readline real reflection rhino ruby samba scanner sdl session sid slp sndfile snmp sox speex spell spl sse sse2 ssl svg svga tcl tcpd theora threads tiff tk toolbar truetype truetype-fonts type1-fonts unicode vcd vidix vorbis win32codecs wma wmf x264 x86 xcomposite xml xorg xosd xpm xv xvid zip zlib" ALSA_CARDS="ice1724 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ja ko" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-05-15 16:55:22 UTC
USE="examples" installs these and I'm quite sure this is not a wanted behavior,

--- /usr/share/doc/id3lib-3.8.3-r5/examples/
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_convert.o
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_copy.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/Makefile
--- /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_info.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/test_io.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_convert.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_tag_options.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/test_unicode.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_copy.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_info_options.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_simple.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_tag.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/findeng.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/get_pic.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/test_pic.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/findstr.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/test_compression.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/test_remove.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_convert_options.Po
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.deps/demo_copy_options.Po
--- /usr/share/doc/id3lib-3.8.3-r5/examples/.libs/
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.libs/id3cp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.libs/id3tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.libs/id3info
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/.libs/id3convert
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/id3cp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_copy.o
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/crc53865.mp3
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_info.o
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/230-syncedlyrics.tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_info.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_simple.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/get_pic.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_info_options.c
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_info_options.h
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_info_options.o
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/221-compressed.tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/ozzy.tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_tag.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/getopt.c
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/getopt.h
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/test_remove.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/Makefile.am
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/Makefile.in
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/id3tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/test_io.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/getopt1.c
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_tag.o
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/test_unicode.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/thatspot.tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_tag_options.c
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_tag_options.h
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_tag_options.o
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/findeng.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/id3info
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/test_pic.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/id3convert
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/findstr.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/230-picture.tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/230-unicode.tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_main.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/test_compression.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_convert.cpp
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/230-compressed.tag
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/composer.jpg
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_convert_options.c
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_convert_options.h
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_convert_options.o
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_copy_options.c
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_copy_options.h
>>> /usr/share/doc/id3lib-3.8.3-r5/examples/demo_copy_options.o
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-05-15 16:57:14 UTC
(In reply to comment #3)
> USE="examples" installs these and I'm quite sure this is not a wanted behavior,

So, it compiles for you?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-05-15 17:08:37 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > USE="examples" installs these and I'm quite sure this is not a wanted behavior,
> 
> So, it compiles for you?
> 

It does. But since USE="examples" seems completely useless for this ebuild I've removed it.

Fixed in CVS.