Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310439 - =media-libs/iulib-0.4 fails to build with -Wl,--as-needed
Summary: =media-libs/iulib-0.4 fails to build with -Wl,--as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL: http://code.google.com/p/iulib/issues...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2010-03-20 21:30 UTC by Samuli Suominen (RETIRED)
Modified: 2010-03-21 05:03 UTC (History)
0 users

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


Attachments
build.log (media-libs:iulib-0.4:20100320-212935.log,20.98 KB, text/plain)
2010-03-20 21:31 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 21:30:53 UTC
$ sudo emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.3-asneeded, glibc-2.11-r1, 2.6.33foobar x86_64)
=================================================================
System uname: Linux-2.6.33foobar-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.1_p2
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -O2 -pipe"
CHOST="x86_64-pc-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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests collision-protect cvs distlocks fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j9"
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="/home/ssuominen/tmp/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl alsa amd64 berkdb bzip2 cairo cdda cdparanoia cleartype cli consolekit cracklib crypt cups cxx dbus dri dvd encode exif faac faad fam ffmpeg flac fortran gdbm glitz gpm gtk hal iconv ipv6 jpeg kpathsea lame latex lcms libarchive libcaca libsamplerate mad madwifi mikmod mmap mmx mng modules mp3 mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses network nls nptl nptlonly ogg openal opengl openmp openssl pam pango pcre perl png pppd projectm python qt3support qt4 raw readline reflection sdl secure-delete session sid sndfile spl sqlite sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd theora threads tiff trayicon truetype unicode vdpau vorbis x264 xcb xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

build.log attached
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 21:31:32 UTC
Created attachment 224439 [details]
build.log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 21:58:15 UTC
sed -i -e 's:progs.Append(LIBS=libiulib):progs.Prepend(LIBS=libiulib):' SConstruct

Fixes the problem
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-03-20 22:00:13 UTC
On a unrelated note: It's missing sdl-gfx and sdl-image in deps
Comment 4 SpanKY gentoo-dev 2010-03-21 05:03:54 UTC
added your fix, thanks

http://sources.gentoo.org/media-libs/iulib/iulib-0.4.ebuild?r1=1.3&r2=1.4