Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33085 - zinf-2.2.0 fails to compile with -arts
Summary: zinf-2.2.0 fails to compile with -arts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-09 09:00 UTC by Oliver Schoett
Modified: 2004-02-07 19:14 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 Oliver Schoett 2003-11-09 09:00:04 UTC
zinf-2.2.0 fails to compile on my up-to-date gentoo system (I have it installed already, but wanted to recompile to go from -O3 to -O2).

With the command "USE=arts emerge zinf", it compiles and installs fine.

Error log:

[...]
g++ -shared -Wl,-export-dynamic -L/usr/lib -o plugins/vorbis.mdf plm/metadata/vorbis/vorbis.o -lvorbis -lvorbisfile 
g++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/lib\" -Dlinux -I. -I./lib/gdbm -I./base/include -I./config -I./io/include -I./ui/include -I./lmc/include -I./io/soundcard/unix/linux/include -I./lmc/xingmp3/include -I./lmc/cd/include -I./plm/portable/pmp300/sba -I./lib/xml/include -I./lib/zlib/include -I./lib/unzip/include -I./io/cd/unix/include -I./base/aps -I./io/wavout/include -I./ui/lcd/include -I./ui/irman/include -I./lib/http/include -I./io/signature/include -I./plm/metadata/id3v2 -I./lmc/wav/include -I./base/unix/include -I./base/unix/linux/include -I./io/esound/include -I./ui/musicbrowser/unix/include -I./ui/zinf/include -I./ui/zinf/unix/include -I./ui/download/unix/include -I./ui/musicbrowser/include -I./ftc/kjofol -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I./lmc/vorbis/include -I./io/arts/include -Wall -march=pentium3 -mcpu=pentium4 -O2 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/kde/3.1/include/artsc -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -D_REENTRANT   -fPIC -c io/arts/src/artspmo.cpp -o io/arts/src/artspmo.o
io/arts/src/artspmo.cpp:35:25: artsc/artsc.h: No such file or directory
In file included from io/arts/src/artspmo.cpp:43:
io/arts/include/artspmo.h:65: 'arts_stream_t' is used as a type, but is not 
   defined as a type.
io/arts/src/artspmo.cpp: In constructor `artsPMO::artsPMO(FAContext*)':
io/arts/src/artspmo.cpp:70: `audio_stream' undeclared (first use this function)
io/arts/src/artspmo.cpp:70: (Each undeclared identifier is reported only once 
   for each function it appears in.)
io/arts/src/artspmo.cpp: In destructor `virtual artsPMO::~artsPMO()':
io/arts/src/artspmo.cpp:90: `arts_close_stream' undeclared (first use this 
   function)
io/arts/src/artspmo.cpp:91: `arts_free' undeclared (first use this function)
io/arts/src/artspmo.cpp: In member function `virtual Error 
   artsPMO::Init(OutputInfo*)':
io/arts/src/artspmo.cpp:137: `arts_init' undeclared (first use this function)
io/arts/src/artspmo.cpp:148: `arts_play_stream' undeclared (first use this 
   function)
io/arts/src/artspmo.cpp: In member function `void artsPMO::WorkerThread()':
io/arts/src/artspmo.cpp:315: `arts_write' undeclared (first use this function)
make[1]: *** [io/arts/src/artspmo.o] Error 1
rm lmc/xingmp3/src/cwinasm.asm1 lmc/xingmp3/src/cdctasm.asm1 lmc/xingmp3/src/mdctasm.asm1 lmc/xingmp3/src/msisasm.asm1 lmc/xingmp3/src/cwin8asm.asm1
make[1]: Leaving directory `/var/tmp/portage/zinf-2.2.0/work/zinf-2.2.0'
make: *** [plugins-cc] Error 2

!!! ERROR: media-sound/zinf-2.2.0 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! compile problem :(

emerge info:

# emerge --info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs fixpackages notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.linux.no/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="crypt foomaticdb gif libg++ mad mikmod ncurses nls pdflib quicktime spell xml2 gdbm berkdb slang readline svga java guile X sdl gpm pam libwww ssl perl python imlib qt motif -aalib acpi alsa -apm -arts avi cdr cups dvdemacs encode esd gnome gphoto2 gtk gtk2java jpeg -kde -leim mbox mozilla mpeg -mule-nls oggvorbis opengl -oss png readlinesamba sse tcpd tetex tiff truetype usbX xmms xv x86 zlib"

Use flags of previously installed version:

USE:x86 oss 3dnow apm arts avi crypt cups encode gif gpm jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime sdl spell truetype xml2 xmms xv zlib gdbm berkdb slang readline tetex svga java guile X tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla cdr alsa
Comment 1 Robert Davis 2003-12-09 10:21:10 UTC
Still having this prob.  This usually always means you don't have arts installed.
Comment 2 katerina 2003-12-26 09:51:33 UTC
I do have arts installed.
[ebuild   R   ] kde-base/arts-1.1.4
I have the exact same error as Oliver Schoett.  media-sound/zinf-2.2.0 fails to compile with -arts in the USE flags.  

Here's the output of 'emerge info':
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gaming-r3)
=================================================================
System uname: 2.4.20-gaming-r3 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox buildpkg ccache distcc userpriv usersandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm avi gif jpeg libg++ mad mikmod mpeg ncurses pdflib png xml2 xmms zlib directfb gtkhtml gdbm berkdb slang readline tetex aalib nas bonobo ggi mysql postgres X sdl gpm tcpd pam libwww ssl perl imlib oggvorbis gtk qt mozilla gphoto2 composite 3dnow acl alsa -arts canna cdr cjk crypt csope cups dvd dvdr encode -esd foomaticdb freewnn gatos -gnome gtk2 guile ipv6 java jikes junit -kde -motif nls -ldap opengl -oss ppds python quicktime ruby scanner -svga spell tcltk truetype usb videos xinerama xv video_cards_radeon"
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-05 02:42:40 UTC
Do you have thie problem with the 2.2.4 ebuild?
Comment 4 Oliver Schoett 2004-02-05 12:59:18 UTC
WORKSFORME (compiles fine)
with zinf-2.2.4.ebuild,v 1.4 2003/09/11 01:21:32 msterret.

# emerge --info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.linux.no/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="X acpi alsa avi berkdb cdr crypt cups dvdemacs encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtk2java guile imlib java jpeg libg++ libwww mad mbox mikmod motif mozilla mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline readlinesamba sdl slang spell sse ssl svga tcpd tetex tiff truetype usbX x86 xml2 xmms xv zlib"
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-05 19:27:55 UTC
hehe... 'dead-only' should read 'read-only'
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-07 19:14:59 UTC
2.2.0 is now removed from portage.  2.2.3 is now stable and doesn't have this problem