Compile of zinf-2.2.3.ebuild fails due to a missing header. This patch fixes the problem: diff -ur zinf-2.2.3/plm/metadata/id3lib/id3lib.cpp zinf-2.2.3-mod/plm/metadata/id3lib/id3lib.cpp --- zinf-2.2.3/plm/metadata/id3lib/id3lib.cpp 2003-02-08 13:04:15.000000000 -0500 +++ zinf-2.2.3-mod/plm/metadata/id3lib/id3lib.cpp 2003-02-08 13:04:32.000000000 -0500 @@ -38,7 +38,7 @@ #include "id3lib.h" -#include <id3/tag.h> +#include <tag.h> #define DB printf("%s:%d\n", __FILE__, __LINE__); Reproducible: Always Steps to Reproduce: 1. emerge zinf 2. 3. Actual Results: Can't find id3.h
can't reproduce it please paste #emerge info
This is the output of emerge info: Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="oss perl esd -arts -avi -berkdb -crypt -cups -encode -imlib -kde -libg++ -libwww -mikmod -motif -nls -oggvorbis -pam -python -qt -qtmt -sdl -slang -ssl -svga -tcpd -xmms x86 3dnow apm bonobo gdbm gif gnome gpm gtk java jpeg maildir mmx mozilla mpeg ncurses opengl pdflib pic png quicktime readline spell tcltk tetex truetype X xml2 xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -pipe" CXXFLAGS="-march=athlon-tbird -O3 -fomit-frame-pointer -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Oops! I wrote that the build can't find id3.h, but it should say it can't find tag.h. Probably you figured this out from the patch I wrote.
can't reproduce this seems to be a gcc 3.2.2 issue did you install gcc-config ?
I've learned that id3/tag.h is included with media-libs/id3lib, which I didn't have when I compiled zinf. Should this be a dependency for zinf?
Indeed, now that I have id3lib, zinf compiles fine. Zinf's configure script checks for id3/tag.h, but it seems it doesn't do the right thing when it doesn't find it.
you're completly right i'll fix this in cvs
fixed in cvs thx