Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395213 - media-plugins/audacious-3.1 fails to build on ppc/ppc64/alpha
Summary: media-plugins/audacious-3.1 fails to build on ppc/ppc64/alpha
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 383991
  Show dependency tree
 
Reported: 2011-12-18 22:39 UTC by Mark Loeser (RETIRED)
Modified: 2012-01-17 15:00 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,54.22 KB, text/plain)
2011-12-18 22:39 UTC, Mark Loeser (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Loeser (RETIRED) gentoo-dev 2011-12-18 22:39:05 UTC
Fails to build on ppc/ppc64:

configure:9099: powerpc64-unknown-linux-gnu-gcc -o conftest -O2 -pipe -mcpu=970 -Wall -pipe -Wtype-limits  -Wl,-O1 -Wl,--as-needed -z defs -Wl,-rpath,/usr/lib64 conftest.c -lrx   >&5
powerpc64-unknown-linux-gnu-gcc: defs: No such file or directory

Looks like the new version modifies LDFLAGS, and doesn't exactly accomplish what it wanted to.

Also, the ebuild could use with some updating:

configure: WARNING: unrecognized options: --disable-altivec, --disable-sse2
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2011-12-18 22:39:50 UTC
Created attachment 296321 [details]
config.log
Comment 2 Rafał Mużyło 2011-12-18 23:23:26 UTC
The bug lies in AUD_COMMON_PROGS macro from acinclude.m4 (that should be using build, not target btw.).
Mixing ldflags and raw_ldflags does this.
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2012-01-16 08:57:38 UTC
Same problem on Alpha.
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2012-01-17 12:57:08 UTC
I've added code to both 3.1 and 3.1.1 to turn -z defs into -Wl,-z,defs. Compiles cleanly on alpha now.

@ppc: please test
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2012-01-17 13:18:49 UTC
audacious-plugins-3.1.* is similarly affected, added changes to those, too.