Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68234 - xmms-jack-0.10 fails to compile for beep-media-player-0.9.7_rc2-r2
Summary: xmms-jack-0.10 fails to compile for beep-media-player-0.9.7_rc2-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 21:31 UTC by Dion Sole
Modified: 2004-10-20 02:56 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 Dion Sole 2004-10-19 21:31:53 UTC
when compiling xmms-jack-0.10 with the xmms USE flag unset, and the bmp USE flag set, the compile fails looking for xmms/configfile.h.
I have beep-media-player-0.9.7_rc2-r2 installed, and do not have xmms or noxmms installed.

This configfile.h exists, but it is in beep-media-player/xmms/configfile.h instead


>>> emerge (1 of 5) media-plugins/xmms-jack-0.10 to /
>>> md5 src_uri ;-) xmms-jack-0.10.tar.gz
>>> Unpacking source...
bmp
bmp
>>> Unpacking xmms-jack-0.10.tar.gz to /var/tmp/portage/xmms-jack-0.10/work/bmp
bmp
 * Patching ${S}/ltmain.sh ...
 *   Applying portage-1.4.1.patch ...
 *   Applying max_cmd_len-1.5.0.patch ...
 * Applying uClibc/libtool patches ...
 * Using GNU config files from /usr/share/libtool
 *  Updating config.sub                                                                                                                                        [ ok ]
 *  Updating config.guess                                                                                                                                      [ ok ]
>>> Source unpacked.
bmp
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i686-pc-linux-gnu-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... /bin/install -c
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for beep-config... /usr/bin/beep-config
checking for gawk... gawk
checking for XMMS - version >= 1.2.7... yes
checking for pthread_attr_init in -lpthread... yes
checking for constructor attribute... yes
checking jack/jack.h usability... yes
checking jack/jack.h presence... yes
checking for jack/jack.h... yes
checking for jack_activate in -ljack... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall  -c configure.c
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall  -c bio2jack.c
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -Wp,-MD,.deps/bio2jack.pp -c bio2jack.c  -fPIC -DPIC -o .libs/bio2jack.o
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -Wp,-MD,.deps/configure.pp -c configure.c  -fPIC -DPIC -o .libs/configure.o
configure.c:24:29: xmms/configfile.h: No such file or directory
configure.c: In function `configure_win_ok_cb':
configure.c:41: error: `ConfigFile' undeclared (first use in this function)
configure.c:41: error: (Each undeclared identifier is reported only once
configure.c:41: error: for each function it appears in.)
configure.c:41: error: `cfgfile' undeclared (first use in this function)
configure.c:48: warning: implicit declaration of function `xmms_cfg_open_file'
configure.c:50: warning: implicit declaration of function `xmms_cfg_new'
configure.c:52: warning: implicit declaration of function `xmms_cfg_write_int'
configure.c:54: warning: implicit declaration of function `xmms_cfg_write_file'
configure.c:55: warning: implicit declaration of function `xmms_cfg_free'
make: *** [configure.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-plugins/xmms-jack-0.10 failed.
!!! Function xmms-plugin_src_compile, Line 175, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge beep-media-player-0.9.7_rc2-r2
2. emerge xmms-jack with USE="-xmms bmp"
3.

Actual Results:  
xmms-jack compile failed as it could not find the xmms/configfile.h header file

Expected Results:  
xmms-jack should have compiled correctly by looking for the 

Emerge info output:

Portage 2.0.51_rc10 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.5.3
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo 
http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
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="3dnow X Xaw3d aalib acl acpi aim alsa apache2 audiofile avi bcmath berkdb
bidi bitmap-fonts bzlib calendar caps cdr cjk crypt ctype cups curl curlwrappers
dedicated dga dio directfb divx4linux doc dvd emacs encode exif f77 fam fastcgi
fbcon fftw flac foomaticdb freewnn ftp gdbm ggi gif ginac gmp gpm gstreamer gtk
gtk2 gtkhtml guile iconv icq imagemagick imap imlib jabber jack java jikes jpeg
kerberos krb4 lcms ldap leim lesstif libwww mad mailwrapper mbox mcal memlimit
mikmod milter mime mmap mmx mng motif mpeg msn mule ncurses nls nocd nptl
offensive oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pic png
posix ppds python quicktime readline recode ruby samba sasl sdl shared sharedmem
slp sndflie snmp sockets socks5 spell sse ssl svg svga sysvipc tcltk tcpd tetex
theora tiff truetype unicode usb videos wmf wxwindows x86 xine xml2 xmlrpc xosd
xpm xprint xsl xv xvid yahoo zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-20 00:56:18 UTC
odd... what is the output of 'beep-config --cflags'
Comment 2 Dion Sole 2004-10-20 01:46:08 UTC
beep-config --cflags:

-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/beep-media-player -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config

/usr/include/beep-media-player is there.... it has 2 subdirs, bmp and xmms, xmms is a symlink to bmp, and bmp contains the configfile.h header
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-20 02:56:06 UTC
Ok, I patched xmms-jack, so now it honors the cflags from xmms-config and beep-config.