Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333365 - media-sound/audacious-2.4-rc2 fails to build on ppc32
Summary: media-sound/audacious-2.4-rc2 fails to build on ppc32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 22:33 UTC by John Ross Hunt
Modified: 2010-08-23 22:15 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,11.11 KB, text/plain)
2010-08-18 22:34 UTC, John Ross Hunt
Details
config.log (config.log,176.76 KB, text/plain)
2010-08-19 18:16 UTC, John Ross Hunt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Ross Hunt 2010-08-18 22:33:38 UTC
emerge crashes with the following error: 'powerpc-unknown-linux-gnu-gcc: defs: No such file or directory'

Reproducible: Always

Steps to Reproduce:
1.emerge media-sound/audacious
2.build fails.
3.




powerbook ~ # emerge --info
Portage 2.1.8.3 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.3.5, glibc-2.12.1-r0, 2.6.35-gentoo-r1 ppc)
=================================================================
System uname: Linux-2.6.35-gentoo-r1-ppc-7447A,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Wed, 18 Aug 2010 15:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="R X a52 aac aalib acl ads alsa altivec apache2 apm applet artworkextra aspell async audacious autoipd avahi bash-completion big-tables bluetooth bonjour branding bzip2 cairo caps ccache cdda cddax cddb cdio cdparanoia cdr cdrom cgraph cleartype cli consolekit cracklib crypt cups curl cxx dbus device-mapper dga dhcpcd dirac disk-partition djvu dmraid dmx dri dts dvd dvdr emboss encode eve exif extras faac faad fam fat fbcon ffmpeg firefox flac flickr fontconfig fortran fpx ftp galago gallium gcdmaster gcrypt gd gdbm gdu geoip gif gimp glade glitz glut gmp gnome gnome-keyring gnome-print gnomecanvas gnomecd gnutls gphoto2 gpm graphviz gs gsm gstreamer gtk guile hal hddtemp hdri hfs howl-compat iconv id3tag ieee1394 imlib iostats ipod ipv6 jbig jfs jpeg jpeg2k kdrive kerberos lapack laptop lastfmradio lcms ldap libnotify libssh2 live lua lua-cairo lua-imlib lzma lzo mad math matroska max-idx-128 mdnsresponder-compat mikmod mime mmap mng modules mono mp3 mp4 mpeg mpi mtp mudflap musicbrainz mysql mysqli nautilus ncurses network-cron networking networkmanager nls nntp nptl nptlonly nss ntfs objc objc++ objc-gc ocaml offensive ogg ogg123 openexr opengl openmp pam pango pbbuttonsd pcre pdf perl php pike pmu png policykit portaudio posix ppc ppds pppd pulseaudio python qt3support qt4 raw readline reflection reiser4 reiserfs resolvconf rle rss rtsp ruby samba sasl scanner sdl secure-delete session shine shout sip skins slang slp smi sndfile soap sockets soundex soup sourceview speex spell spl sqlite sqlite3 ssl startup-notification stream svg swat sysfs syslog t1lib tcl tcpd tga theora threads tidy tiff tk truetype twolame udev unicode upnp usb v4l v4l2 vcd vcdinfo vcdx vdpau vhook vidix vim-pager vim-syntax vlm vorbis wav weather-metar weather-xoap webkit wifi wma wma-fixed wmf wps x264 xanim xattr xcb xcomposite xfs xinerama xml xmlrpc xmp xorg xpm xslt xulrunner xv xvid zip zlib zsh-completion" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8      digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215      iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240      kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars      mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580      panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640      polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink      sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55      soundvision spca50x sq905 stv0674 stv0680 sx330z template      topfield toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nv fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 John Ross Hunt 2010-08-18 22:34:03 UTC
Created attachment 243505 [details]
build.log
Comment 2 John Ross Hunt 2010-08-19 18:16:04 UTC
I found where the problem lies: '-z defs' is appended to LDFLAGS in configure.ac and causes some problems with the gcc compiler.  Removing that statement and rebuilding results in a clean compile, but it's probably not a correct solution.  The bug persists even when switching compilers.  I have:

sys-devel/gcc-4.3.5
sys-devel/gcc-4.4.4-r1

installed on my system.  I'll attach my config.log so you can see where the bug occurs.
Comment 3 John Ross Hunt 2010-08-19 18:16:50 UTC
Created attachment 243591 [details]
config.log
Comment 4 John Ross Hunt 2010-08-19 18:18:22 UTC
You'll want to look for the: 'powerpc-unknown-linux-gnu-gcc: defs: No such file or directory' in the config.log
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2010-08-23 21:41:31 UTC
chainsaw@prometheus /cvs/audacious $ grep -i defs *
configure.ac:LDFLAGS="$LDFLAGS -z defs"
extra.mk.in:DEFS ?= @DEFS@
chainsaw@prometheus /cvs/audacious $ nano configure.ac 
chainsaw@prometheus /cvs/audacious $ hg diff
diff -r fd6e32d61721 configure.ac
--- a/configure.ac	Mon Aug 23 13:28:55 2010 -0400
+++ b/configure.ac	Mon Aug 23 22:40:50 2010 +0100
@@ -15,10 +15,6 @@
 AC_CONFIG_HEADERS([config.h])
 PKG_PROG_PKG_CONFIG
 
-dnl Build flags
-dnl ===========
-LDFLAGS="$LDFLAGS -z defs"
-
 dnl buildsystem bootstrap
 dnl =====================
 dnl XXX kludge for FreeBSD
chainsaw@prometheus /cvs/audacious $ hg commit -m '-z defs is broken on PPC, stop setting it. http://bugs.gentoo.org/show_bug.cgi?id=333365'
chainsaw@prometheus /cvs/audacious $ hg push
pushing to ssh://hg.atheme.org//hg/audacious
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
chainsaw@prometheus /cvs/audacious $ 
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2010-08-23 21:42:49 UTC
chainsaw@prometheus /cvs/audacious-plugins $ grep -i defs *
configure.ac:LDFLAGS="$LDFLAGS -z defs"
extra.mk.in:DEFS ?= @DEFS@
chainsaw@prometheus /cvs/audacious-plugins $ nano configure.ac
chainsaw@prometheus /cvs/audacious-plugins $ hg diff
diff -r 44cff02c8042 configure.ac
--- a/configure.ac	Mon Aug 23 13:31:15 2010 -0400
+++ b/configure.ac	Mon Aug 23 22:43:38 2010 +0100
@@ -7,10 +7,6 @@
 AC_CANONICAL_TARGET
 AC_CONFIG_HEADERS([config.h])
 
-dnl Build flags
-dnl ===========
-LDFLAGS="$LDFLAGS -z defs"
-
 dnl XXX kludge for FreeBSD
 if test -d "/usr/X11R6/include"; then
 	CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
chainsaw@prometheus /cvs/audacious-plugins $ hg commit -m '-z defs is broken on PPC, stop setting it. http://bugs.gentoo.org/show_bug.cgi?id=333365'
chainsaw@prometheus /cvs/audacious-plugins $ hg push
pushing to ssh://hg.atheme.org//hg/audacious-plugins
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
chainsaw@prometheus /cvs/audacious-plugins $ 
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2010-08-23 22:15:18 UTC
+*audacious-2.4_rc3 (23 Aug 2010)
+
+  23 Aug 2010; <chainsaw@gentoo.org> -audacious-2.4_rc1.ebuild,
+  +audacious-2.4_rc3.ebuild:
+  One more release candidate. Translation updates, bugfixes, builds again on
+  PowerPC. Closes bug #333365 by John Ross Hunt.


+*audacious-plugins-2.4_rc3 (23 Aug 2010)
+
+  23 Aug 2010; <chainsaw@gentoo.org> -audacious-plugins-2.4_rc1.ebuild,
+  +audacious-plugins-2.4_rc3.ebuild:
+  One more release candidate. Translation updates, bugfixes, builds again on
+  PowerPC. Closes bug #333365 by John Ross Hunt.