Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384203 - dev-lang/lua-5.1.4-r7: luac linking fails due to missing symbol `luaM_realloc_'
Summary: dev-lang/lua-5.1.4-r7: luac linking fails due to missing symbol `luaM_realloc_'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matti Bickel (RETIRED)
URL:
Whiteboard:
Keywords:
: 384415 385289 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-23 15:07 UTC by Sario O. Alvey
Modified: 2011-10-21 16:16 UTC (History)
21 users (show)

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


Attachments
build.log (lua-build.log,7.80 KB, text/plain)
2011-09-23 15:09 UTC, Sario O. Alvey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sario O. Alvey 2011-09-23 15:07:41 UTC
When trying to emerge dev-lang/lua-5.1.4-r7 I get 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: luac: hidden symbol `luaM_realloc_' isn't defined
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

Reproducible: Always

Steps to Reproduce:
1. emerge -a lua
2.[ebuild  N] dev-lang/lua-5.1.4-r4  USE="deprecated readline -emacs -static" 
Actual Results:  
Emerge error during linking phase of make.

Expected Results:  
Compiles^^

localhost sario # emerge --info
Portage 2.1.10.19 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.1-gentoo x86_64)
=================================================================
System uname: Linux-3.0.1-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 23 Sep 2011 08:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j4"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ing.umu.se/linux/gentoo/ ftp://ftp.ing.umu.se/linux/gentoo/ http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ ftp://mirror.mdfnet.se/gentoo http://mirror.mdfnet.se/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi afs aim alsa amd64 apng at3support atm audio bash-completion berkdb bindist bluetooth branding bzip2 cairo cdb cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx daap dbus declarative dri dts dv dvd dvdr dvdread eds emboss encode exif fam ffmpeg firefox flac fortran ftp gdbm gdu gif gpm gsm gtk iconv icq ieee1394 imagemagick imap innodb ipv6 jabber java java6 javascript jingle jpeg jpeg2k kde kipi lame latex latin1 lcms ldap libnotify lm_sensors mad matroska midi mikmod mms mmx mmxext mng modules mono motif mp3 mp4 mpeg mtp mudflap multilib musepack musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit posix ppdfs ppds pppd python qt3 qt3support qt4 quicktime readline recode reflection rss samba sdl semantic-desktop session smp sound speex spell spl sqlite sse sse2 sse3 ssh ssl startup-notification subversion svg sysfs taglib tcpd theora threads tiff truetype type1 udev unicode usb vaapi vcd vdpau video vorbis wavpack wma wmf wxwidgets x264 xcb xcomposite xine xinerama xml xmpp xorg xscreensaver xulrunner 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 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sario O. Alvey 2011-09-23 15:09:47 UTC
Created attachment 287515 [details]
build.log
Comment 2 Tiger 2011-09-23 16:50:58 UTC
We found the issue on #gentoofr.
Downgrade your libtool to the 2.4-r1
They recently added a patch that point at the linking on the 2.4-r2
Comment 3 Sario O. Alvey 2011-09-23 17:01:37 UTC
thanks, worked! :)
Comment 4 Rafael Martins (RETIRED) gentoo-dev 2011-09-25 15:41:47 UTC
*** Bug 384415 has been marked as a duplicate of this bug. ***
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-02 02:40:11 UTC
*** Bug 385289 has been marked as a duplicate of this bug. ***
Comment 6 Juergen Rose 2011-10-03 18:32:22 UTC
I just hit the same issue. Is there not any patch to lua, that we can work with the current libtool?
Comment 7 Sario O. Alvey 2011-10-05 21:07:33 UTC
just installed libtool-2.4-r3
no change
Comment 8 Steffen Schaumburg 2011-10-09 04:52:13 UTC
Can confirm this with gcc-4.6.1 and libtool-2.4-r3. Works with libtool-2.4-r1
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-21 16:16:01 UTC
Fixed by libtool-2.4-r4.