Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141789 - media-sound/audacious fails to build with USE="wma" (altivec problem)
Summary: media-sound/audacious fails to build with USE="wma" (altivec problem)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
: 159597 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-26 05:18 UTC by Matti Bickel (RETIRED)
Modified: 2007-01-01 06:57 UTC (History)
1 user (show)

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


Attachments
Patch for fftc.c (fft.c.patch,354 bytes, patch)
2006-08-06 10:19 UTC, Matti Bickel (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Bickel (RETIRED) gentoo-dev 2006-07-26 05:18:00 UTC
Here is what i got with
[ebuild   R   ] media-sound/audacious-1.1.1  USE="aac alsa flac mp3 nls vorbis wma* -arts -esd -gnome -jack -lirc -modplug -musepack -oss -sid -sndfile -timidity" 0 kB

[snip]
        CC     cutils.c            
        CC     dsputil.c           
        CC     fft.c               
        CC     file.c              
fft.c: In function 'has_altivec':
fft.c:108: error: 'asm' undeclared (first use in this function)
fft.c:108: error: (Each undeclared identifier is reported only once
fft.c:108: error: for each function it appears in.)
fft.c:108: error: expected ';' before 'volatile'
make[6]: *** [fft.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [libffwma.a] Error 2
make[4]: *** [build] Error 2
make[3]: *** [build] Error 2
make[2]: *** [build] Error 2
make[1]: *** [build] Error 2
make: *** [build] Error 2

!!! ERROR: media-sound/audacious-1.1.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  audacious-1.1.1.ebuild, line 86:   Called die

Can't spot the error on sight, maybe one of you is quicker :)

Portage 2.1-r1 (default-linux/ppc/ppc32/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-20060623 ppc)
=================================================================
System uname: 2.6.17-20060623 ppc 7455, altivec supported
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.ISO-8859-1"
LINGUAS="de en en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /usr/portage/local/layman/science"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apache2 apm bitmap-fonts bonobo bzip2 cdr cli crypt curl dlloader dri dvd eds emboss encode foomaticdb gif gpm gstreamer gtkhtml imlib ipv6 isdnlog jpeg kde libg++ libwww mad motif mozilla mp3 mpeg ncurses nls nptl ogg opengl pam pcre pdflib perl pic png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session slang spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xinerama xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_en linguas_en_GB userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2006-08-06 10:19:02 UTC
Created attachment 93601 [details, diff]
Patch for fftc.c

The attached trivial patch (everything's trivial once you know it...) makes audacious compile and able to play wmas again
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2006-08-06 13:21:35 UTC
This is in portage, thank you for your patch :)
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2007-01-01 06:57:37 UTC
*** Bug 159597 has been marked as a duplicate of this bug. ***