Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41110 - madplay-0.15.0b-r1 doesn't compile
Summary: madplay-0.15.0b-r1 doesn't compile
Status: RESOLVED DUPLICATE of bug 36950
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 07:09 UTC by Malte S. Stretz
Modified: 2005-07-17 13:06 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 Malte S. Stretz 2004-02-10 07:09:21 UTC
I can't get madplay (a dependency for k3b) to compile since some weeks now.

Reproducible: Always
Steps to Reproduce:
1. emerge madplay


Actual Results:  
>>> emerge (1 of 11) media-sound/madplay-0.15.0b-r1 to / 
>>> md5 src_uri ;-) madplay-0.15.0b.tar.gz 
>>> Unpacking source... 
>>> Unpacking madplay-0.15.0b.tar.gz 
to /var/tmp/portage/madplay-0.15.0b-r1/work 
>>> Source unpacked. 
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 for a BSD-compatible install... /bin/install -c 
checking whether build environment is sane... yes 
checking for gawk... gawk 
checking whether make sets $(MAKE)... yes 
checking for i686-pc-linux-gnu-strip... no 
checking for strip... strip 
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... 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 style of include used by make... GNU 
checking dependency style of gcc... gcc3 
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 for a sed that does not truncate output... /bin/sed 
checking whether ln -s works... yes 
checking how to recognise dependent libraries... pass_all 
checking command to parse nm output... ok 
checking how to run the C preprocessor... gcc -E 
checking for egrep... grep -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-ranlib... no 
checking for ranlib... ranlib 
checking for i686-pc-linux-gnu-strip... strip 
checking for objdir... .libs 
checking for gcc option to produce PIC... -fPIC 
checking if gcc PIC flag -fPIC works... yes 
checking if gcc static flag -static works... yes 
checking if gcc supports -c -o file.o... yes 
checking if gcc supports -c -o file.lo... yes 
checking if gcc supports -fno-rtti -fno-exceptions... yes 
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared 
libraries... yes 
checking how to hardcode library paths into programs... immediate 
checking whether stripping libraries is possible... yes 
checking dynamic linker characteristics... GNU/Linux ld.so 
checking if libtool supports shared libraries... yes 
checking whether to build shared libraries... no 
checking whether to build static libraries... yes 
creating libtool 
checking for msgfmt... /usr/bin/msgfmt 
checking for gmsgfmt... /usr/bin/msgfmt 
checking for xgettext... /usr/bin/xgettext 
checking for msgmerge... /usr/bin/msgmerge 
checking for ranlib... (cached) ranlib 
checking for strerror in -lcposix... no 
checking for an ANSI C-conforming const... yes 
checking for inline... inline 
checking for off_t... yes 
checking for size_t... yes 
checking for working alloca.h... yes 
checking for alloca... yes 
checking for stdlib.h... (cached) yes 
checking for unistd.h... (cached) yes 
checking for getpagesize... yes 
checking for working mmap... yes 
checking whether we are using the GNU C Library 2.1 or newer... yes 
checking whether integer division by zero raises SIGFPE... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unsigned long long... yes 
checking for inttypes.h... yes 
checking whether the inttypes.h PRIxNN macros are broken... no 
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 shared library run path origin... done 
checking argz.h usability... yes 
checking argz.h presence... yes 
checking for argz.h... yes 
checking limits.h usability... yes 
checking limits.h presence... yes 
checking for limits.h... yes 
checking locale.h usability... yes 
checking locale.h presence... yes 
checking for locale.h... yes 
checking nl_types.h usability... yes 
checking nl_types.h presence... yes 
checking for nl_types.h... yes 
checking malloc.h usability... yes 
checking malloc.h presence... yes 
checking for malloc.h... yes 
checking stddef.h usability... yes 
checking stddef.h presence... yes 
checking for stddef.h... yes 
checking for stdlib.h... (cached) yes 
checking for string.h... (cached) yes 
checking for unistd.h... (cached) yes 
checking sys/param.h usability... yes 
checking sys/param.h presence... yes 
checking for sys/param.h... yes 
checking for feof_unlocked... yes 
checking for fgets_unlocked... yes 
checking for getc_unlocked... yes 
checking for getcwd... yes 
checking for getegid... yes 
checking for geteuid... yes 
checking for getgid... yes 
checking for getuid... yes 
checking for mempcpy... yes 
checking for munmap... yes 
checking for putenv... yes 
checking for setenv... yes 
checking for setlocale... yes 
checking for stpcpy... yes 
checking for strcasecmp... yes 
checking for strdup... yes 
checking for strtoul... yes 
checking for tsearch... yes 
checking for __argz_count... yes 
checking for __argz_stringify... yes 
checking for __argz_next... yes 
checking for iconv... yes 
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, 
char * *outbuf, size_t *outbytesleft); 
checking for nl_langinfo and CODESET... yes 
checking for LC_MESSAGES... yes 
checking for bison... bison 
checking version of bison... 1.875, ok 
checking whether NLS is requested... yes 
checking whether included gettext is requested... no 
checking for GNU gettext in libc... yes 
checking for ANSI C header files... (cached) yes 
checking assert.h usability... yes 
checking assert.h presence... yes 
checking for assert.h... yes 
checking termios.h usability... yes 
checking termios.h presence... yes 
checking for termios.h... yes 
checking stropts.h usability... yes 
checking stropts.h presence... yes 
checking for stropts.h... yes 
checking for sys/types.h... (cached) yes 
checking fcntl.h usability... yes 
checking fcntl.h presence... yes 
checking for fcntl.h... yes 
checking errno.h usability... yes 
checking errno.h presence... yes 
checking for errno.h... yes 
checking sys/soundcard.h usability... yes 
checking sys/soundcard.h presence... yes 
checking for sys/soundcard.h... yes 
checking machine/soundcard.h usability... no 
checking machine/soundcard.h presence... no 
checking for machine/soundcard.h... no 
checking mad.h usability... yes 
checking mad.h presence... yes 
checking for mad.h... yes 
checking id3tag.h usability... yes 
checking id3tag.h presence... yes 
checking for id3tag.h... yes 
checking for an ANSI C-conforming const... (cached) yes 
checking for inline... (cached) inline 
checking whether byte ordering is bigendian... no 
checking for mad_decoder_run in -lmad... yes 
checking for id3_tag_parse in -lid3tag... yes 
checking for vprintf... yes 
checking for _doprnt... no 
checking for madvise... yes 
checking for localeconv... yes 
checking for strcasecmp... (cached) yes 
checking for strncasecmp... yes 
checking for library containing pow... -lm 
checking for library containing log10... none required 
checking whether to use mmap... yes 
checking for audio support... oss 
checking for esd_open_sound in -lesd... yes 
checking whether to enable profiling... no 
checking whether to enable debugging... no 
checking whether to enable experimental code... no 
configure: creating ./config.status 
[...] 
/bin/sh ./libtool --mode=link gcc  -Wall -pipe  -march=athlon-tbird -O2 
-fomit-frame-pointer   -o madplay  madplay.o getopt.o getopt1.o version.o 
resample.o filter.o xing.o player.o audio.o audio_aiff.o audio_cdda.o 
audio_hex.o audio_null.o audio_raw.o audio_snd.o audio_wave.o audio_esd.o 
audio_oss.o  -lesd     -lmad        -lid3tag -lm 
mkdir .libs 
gcc -Wall -pipe -march=athlon-tbird -O2 -fomit-frame-pointer -o madplay 
madplay.o getopt.o getopt1.o version.o resample.o filter.o xing.o player.o 
audio.o audio_aiff.o audio_cdda.o audio_hex.o audio_null.o audio_raw.o 
audio_snd.o audio_wave.o audio_esd.o audio_oss.o  /usr/lib/libesd.so 
-L/usr/lib /usr/lib/libaudiofile.so /usr/lib/libasound.so -ldl 
-lpthread /usr/lib/libmad.so /usr/lib/libid3tag.so -lm 
resample.o(.text+0x24): In function `resample_init': 
: undefined reference to `mad_f_div' 
player.o(.text+0xbff): In function `show_id3': 
: undefined reference to `id3_frame_field' 
player.o(.text+0xd66): In function `show_id3': 
: undefined reference to `id3_frame_field' 
player.o(.text+0xd84): In function `show_id3': 
: undefined reference to `id3_frame_field' 
player.o(.text+0x10f4): In function `process_id3': 
: undefined reference to `id3_frame_field' 
player.o(.text+0x1141): In function `process_id3': 
: undefined reference to `id3_frame_field' 
player.o(.text+0x1149): In function `process_id3': 
: undefined reference to `id3_field_getlatin1' 
player.o(.text+0x115b): In function `process_id3': 
: undefined reference to `id3_frame_field' 
/usr/lib/libid3tag.so: undefined reference to `uncompress' 
/usr/lib/libid3tag.so: undefined reference to `compress2' 
collect2: ld returned 1 exit status 
distcc[10053] ERROR: compile on localhost failed 
make[2]: *** [madplay] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/madplay-0.15.0b-r1/work/madplay-0.15.0b' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/madplay-0.15.0b-r1/work/madplay-0.15.0b' 
make: *** [all] Error 2 
 
!!! ERROR: media-sound/madplay-0.15.0b-r1 failed. 
!!! Function src_compile, Line 36, Exitcode 2 
!!! make failed 
 

Expected Results:  
obvious 

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 
2.4.20-gentoo-r8) 
================================================================= 
System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.3.13 
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.58 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-tbird -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/share/config /usr/kde/cvs/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=athlon-tbird -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distcc" 
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ 
ftp://gentoo.inode.at/source/ ftp://gentoo.linux.no/pub/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="3dnow X aavm acl acpi acpi4linux alsa apache2 apm applypatches arts 
artswrappersuid avi berkdb cdr crypt cups curl dvd dvdr encode esd ethereal 
expat faad fbcon foomaticdb gd gdbm geoip gif gphoto2 gpm gtk gtk2 hbci imap 
imlib ipv6 java jpeg kde ldap libg++ libwww mad maildir mikmod mmx motif 
mozilla moznoirc mpeg ncurses nls odbc oggvorbis opengl oss pam pdflib perl 
png python qt quicktime readline samba scanner sdl slang spell sse ssl svga 
tcltk tcpd tetex tiff truetype usagi usb video_cards_radeon vim-with-x wmf x86 
xinerama xml xml2 xmms xv zlib"
Comment 1 Sven Wegener gentoo-dev 2004-02-10 07:34:33 UTC
I can't reproduce that error. media-sound/madplay-0.15.0b compiles
without a problem.

Could you try re-emerging

emerge --oneshot media-libs/libmad media-libs/libid3tag

and then start the compilation of k3b again.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-02-10 07:46:41 UTC

*** This bug has been marked as a duplicate of 36950 ***
Comment 3 Malte S. Stretz 2004-02-10 08:40:31 UTC
That worked (and sucks), thanks. I wonder why bugzilla didn't show me that bug 36950 when I filed this one...