Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104147 - media-sound/musepack-tools-1.15v failed
Summary: media-sound/musepack-tools-1.15v failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 08:28 UTC by Vlad Berditchevskiy
Modified: 2011-08-30 16:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of 'emerge info' (emerge-info.txt,2.59 KB, text/plain)
2005-09-02 11:56 UTC, Horst Schirmeier
Details
patch to ebuild (musepack-tools-1.15v.ebuild.diff,913 bytes, patch)
2005-09-02 12:41 UTC, Horst Schirmeier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Berditchevskiy 2005-08-29 08:28:37 UTC
cc         -march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx 
-DCVD_FASTLOG -DFAST_MATH    -DMPPDEC_VERSION=\"1.15v\"
-DMPPENC_VERSION=\"1.15v\" -I/usr/include -L/usr/lib -fno-strict-aliasing
-fno-gcse -fno-finite-math-only -fno-unsafe-math-optimizations cpu_feat.o
decode.o http.o huffsv7.o huffsv46.o id3tag.o mppdec.o profile.o requant.o
synth.o synthasm.o synthtab.o toolsd.o wave_out.o stderr.o _setargv.o -o mppdec
       -lm
wave_out.o(.text+0x8b6): In function `Set_ESD_Params':
: undefined reference to `esd_open_sound'
wave_out.o(.text+0x8c4): In function `Set_ESD_Params':
: undefined reference to `esd_get_server_info'
wave_out.o(.text+0x8d8): In function `Set_ESD_Params':
: undefined reference to `esd_free_server_info'
wave_out.o(.text+0x8e0): In function `Set_ESD_Params':
: undefined reference to `esd_close'
wave_out.o(.text+0x90f): In function `Set_ESD_Params':
: undefined reference to `esd_audio_rate'
wave_out.o(.text+0x915): In function `Set_ESD_Params':
: undefined reference to `esd_audio_format'
wave_out.o(.text+0x835): In function `Set_ESD_Params':
: undefined reference to `esd_play_stream_fallback'
collect2: ld returned 1 exit status
make: *** [mppdec] Error 1


Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx
-mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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="-march=athlon-mp -O2 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx
-mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
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 3dnow 3dnowext X a52 aac aalib accessibility acl adns alsa apache2 apm
artworkextra asterisk audiofile avi bash-completion berkdb bitmap-fonts bonobo
bzip2 cdparanoia cdr crypt cscope cups curl dba dbus dga directfb doc dts dv dvb
dvd dvdr dvdread emacs emboss encode erandom esd expat faad fam fbcon ffmpeg
firefox flac foomaticdb fortran fpx gb gcj gd gdbm ggi gif gimpprint gnome
gnome-print gnomedb gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal howl icu
ieee1394 imagemagick imap imlib imlib2 inkjar insecure-drivers ipv6 ithreads
jack java jbig jpeg junit lcms ldap leim libcaca libg++ libwww lzw-tiff mad
maildir matroska mikmod mime mmap mmx mng mnogosearch mono motif mozdevelop
mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mpi
nas ncurses nls nntp nptl nptlonly objc ogg oggvorbis opengl optional-tasks oss
pam pda pdflib perl pic plugin png portaudio postgres ppds python quicktime
readline real samba sasl scanner sdk sdl silc slang smp sndfile snmp sox speex
spell sqlite sse ssl svg svga tcltk tcpd tetex theora threads tiff truetype
truetype-fonts type1-fonts unicode usb utf8 vorbis win32codecs wmf xface xfs
xine xml xml2 xmms xprint xv xvid yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Horst Schirmeier 2005-09-02 11:56:20 UTC
Created attachment 67501 [details]
output of 'emerge info'

I can confirm this; relevant USE flags are "-16bit +esd -static" on my machine.


Some interesting settings in my make.conf:
CFLAGS="-march=athlon -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2 -s"

Complete output of 'emerge info' is attached.
Comment 2 Horst Schirmeier 2005-09-02 12:41:42 UTC
Created attachment 67504 [details, diff]
patch to ebuild

The problem is the overridden LDADD variable in the ebuild:

ARCH= emake LDADD=-lm mppenc mppdec replaygain || die

This disallows the Makefile to set LDADD to '-lm -lesd' (-lesd only if the
'esd' USE flag is set) and prevents linking to libesd.

As this LDADD=-lm was added due to another bug, the attached patch addresses
both and makes files/musepack-tools-1.15v-Makefile.patch obsolete. Tested with
both +esd and -esd USE flags.

Please test and consider applying it to the existing ebuild.
Comment 3 Vlad Berditchevskiy 2005-09-02 12:55:24 UTC
This patch works for me, thanks!
Comment 4 Horst Schirmeier 2005-09-02 12:59:11 UTC
There is also a forum post [1] regarding this bug.

[1] http://forums.gentoo.org/viewtopic-t-375952.html
Comment 5 Vlad Berditchevskiy 2005-09-05 16:32:28 UTC
As requested by Horst, setting the severity to Major "to wake up some people".
:-) BTW, I think, his patch should be applied to portage.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-04 02:51:59 UTC
Thanks, fixed in CVS. 
 
Comment 7 Martin von Gagern 2005-10-31 13:13:51 UTC
I got this problem again today. I noticed that in contrast to comment #2 the
ebuild still patches the Makefile. Disabling that patch solved the problem for
me. I don't know what this did to my compiler switches, but they look reasonable
at first sight.