Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170224 - emerge games-arcade/stepmania fails in configure if LDFLAGS contains -Wl,--as-needed
Summary: emerge games-arcade/stepmania fails in configure if LDFLAGS contains -Wl,--as...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2007-03-10 04:36 UTC by ytiruceslaicos
Modified: 2007-08-01 15:36 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,5.17 KB, text/plain)
2007-03-10 04:37 UTC, ytiruceslaicos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ytiruceslaicos 2007-03-10 04:36:07 UTC
If LDFLAGS contains -Wl,--as-needed, stepmania fails during the configure step.


Reproducible: Always

Steps to Reproduce:
1.Put -Wl,--as-needed in LDFLAGS in /etc/make.conf.
2.emerge games-arcade/stepmania 

Actual Results:  
The emerge fails.

Expected Results:  
Continued compiling.


lua version: dev-lang/lua-5.0.2

emerge --info:
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5strip i686)
=================================================================
System uname: 2.6.19-gentoo-r5strip i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 10 Mar 2007 02:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fno-ident -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en en_US"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/initng"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 7zip X X509 Xaw3d a52 aac aalib accessibility acpi aiglx aim alsa apache2 asf asm atk audacious auth automount bash-completion binary-drivers bitmap-fonts bittorrent blender-game bogofilter bonobo bonusscripts boost branding bzip2 cairo calendar cdda cddb cdio cdparanoia cdr cdrom cdsound cg cgi charconv chardet cjk cli compress cpio cpudetection cracklib crosscompile crypt cscope css csv cups curl curlwrappers cvs cxx dbus dga dio disassembler discard-path diskcache divx dri dts dvd dvdr dvdread emacs encode epson ethereal fam ffmpeg figlet firefox flac foomaticdb force-cgi-redirect ftp gb gdbm general geoip gif gimp gimpprint glade glib glibc-omitfp glitz glut gmp gnome gnutls gpm grammar graphviz gs gsl gstreamer gtk gtk2 gvim gzip hal hash hpn http httpd hub iconv idea ieee1394 image imagemagick imlib ipv6 irc ithreads java java-external java5 javascript jce jikes jpeg jpeg2k justify jython kqemu lame latex libcaca libg++ libgda libnotify libsexy libwww linuxthreads-tls logrotate lua lzw m17n-lib mad math md5sum midi mikmod mime mixer mmap mmx mmxext mng mod mode-force modperl modplug mozbranding moznopango mozsvg mp3 mp4 mpeg mpeg2 mpm-worker msn musepack mysql mysqli nautilus ncurses nls no-old-linux nptl nptlonly nsplugin ntp nvidia ogg opengl openssl opensslcrypt oscar oss pam pango pcntl pcre pdf pdo-external perforce perl physfs png pop posix ppds ps python quicktime quotas quotes rar readline real realmedia reflection reiserfs resolvconf rle roundrobin rplay rpm rss samba sdl session sftp sftplogging sid silc slang smime sndfile soap sockets speex spell spl sse sse2 ssl svg svgz symlink t1lib tcl tcpd test tetex theora thesaurus threads thunderbird tiff tk tools truetype truetype-fonts type1 type1-fonts ucs2 unicode usb vcd vdr vidix vim vim-pager vim-syntax vim-with-x visual visualization vlm vorbis vorbis-psy wavpack win32codecs wma x86 xbase xcb xchatdccserver xchattext xcomposite xerces-c xine xml xorg xpm xprint xrandr xscreensaver xsettings xskatcards xtended xterm xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprove ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 ytiruceslaicos 2007-03-10 04:37:50 UTC
Created attachment 112762 [details]
Build log
Comment 2 ytiruceslaicos 2007-03-13 21:16:51 UTC
Taking from http://www.gentoo.org/proj/en/qa/asneeded.xml the undefined symbols advice, ldd -u -r `ls /usr/lib/*lua*.so.5.0` returns quite a few unresolved dependencies in lublualib.so.5.0, including lua_rawequal, which appears to be exported by liblua.so.5.0 (and strings liblua.so.5.0 | grep lua_rawequal returns one line), so this may be a problem with liblua instead of stepmania.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2007-03-13 21:21:01 UTC
from that same page:

"Working patches to fix packages to work with this feature are usually welcome if they don't create more problems for current users. In any case, please don't report problems caused by the steps explained in this guide on bugzilla."
Comment 4 ytiruceslaicos 2007-03-14 01:00:50 UTC
(In reply to comment #3)
> from that same page:
> 
> "Working patches to fix packages to work with this feature are usually welcome
> if they don't create more problems for current users. In any case, please don't
> report problems caused by the steps explained in this guide on bugzilla."
> 

I had just read that fully, which is why I had not included the previous few lines in what I said. I had been reading from http://forums.gentoo.org/viewtopic-t-316445-start-0-postdays-0-postorder-asc-highlight-.html, which states as its first line: "It is ok now to file bugs for packages failing with --as-needed. File the bug and provide all the ussual needed info (emerge --info and error message for example). And make it depend on bug# 129413 "
Sorry about the mistake.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-08-01 15:36:48 UTC
This was a bug in lua, not stepmania -- it's been fixed allready. Thanks for reporting though.