Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15332 - zinf-2.2.3 won't compile
Summary: zinf-2.2.3 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-08 17:34 UTC by Derek Dolney
Modified: 2003-02-09 18:31 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 Derek Dolney 2003-02-08 17:34:26 UTC
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
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-02-09 10:57:39 UTC
can't reproduce it
please paste 
#emerge info
Comment 2 Derek Dolney 2003-02-09 12:00:25 UTC
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"
Comment 3 Derek Dolney 2003-02-09 12:08:54 UTC
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.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-02-09 15:36:53 UTC
can't reproduce this

seems to be a gcc 3.2.2 issue

did you install gcc-config ?
Comment 5 Derek Dolney 2003-02-09 15:39:15 UTC
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?
Comment 6 Derek Dolney 2003-02-09 15:52:28 UTC
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.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-02-09 15:58:34 UTC
you're completly right

i'll fix this in cvs
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-02-09 18:31:24 UTC
fixed in cvs

thx