Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264360 - dev-lang/lua-5.1.4 fails to build
Summary: dev-lang/lua-5.1.4 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-31 08:49 UTC by René 'Necoro' Neumann
Modified: 2009-04-01 19:57 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,20.57 KB, text/plain)
2009-03-31 08:50 UTC, René 'Necoro' Neumann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2009-03-31 08:49:42 UTC
I'm trying to update 
dev-lang/lua-5.1.4 [5.1.3-r3] USE="deprecated readline -static"

- and it fails as follows:

[...]
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
[...] // lots and lots of these
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [luac] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [lua_test] Error 1
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [lua] Error 1
Comment 1 René 'Necoro' Neumann 2009-03-31 08:50:30 UTC
Created attachment 186853 [details]
build.log
Comment 2 René 'Necoro' Neumann 2009-03-31 08:51:22 UTC
emerge --info:
==============

(Note: It also fails with LDFLAGS="")

Portage 2.2_rc28 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.26-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r3-i686-Intel-R-_Pentium-R-_D_CPU_2.80GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 31 Mar 2009 07:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="candy distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/binfiles"
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/layman/sunrise /usr/local/layman/portato /usr/local/layman/bazaar /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac alsa apache2 asf berkdb bluetooth branding bzip2 bzr cairo cdr cli cracklib crypt css cups dbus dri dvd dvdread emboss encode evo fam flac gdbm gif gpm gtk hal iconv ipv6 isdnlog jpeg kdehiddenvisibility latex libnotify mad matroska midi mikmod mmap mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pcre pdf perl png ppds pppd python qt3support quicktime readline reflection scanner sdl session spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vim-syntax vorbis win32codecs x86 xcb xml xorg xulrunner xv xvid xvmc zlib zsh-completion" ALSA_CARDS="hda-intel" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 René 'Necoro' Neumann 2009-03-31 08:55:08 UTC
It also fails with MAKEOPTS="-j1" ...
Comment 4 Patrick Lauer gentoo-dev 2009-03-31 09:38:39 UTC
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found

there's something funky going on with libtool ...
Comment 5 René 'Necoro' Neumann 2009-03-31 09:47:31 UTC
Ok - works with stable libtool (1.5.26)
Comment 6 Rafał Mużyło 2009-03-31 15:05:55 UTC
My guess is system libtool was generated with a different shell,
than the current - are you using dash by any chance ?
Comment 7 René 'Necoro' Neumann 2009-03-31 15:16:25 UTC
Yes - I switched to dash sometime ago (and libtool was not rebuilt since then)
Comment 8 René 'Necoro' Neumann 2009-03-31 23:43:31 UTC
Ok - I've rebuilt the unstable libtool it used to fail with. And now (when rebuilt using dash), compiling lua works fine.

So I guess, this is not a lua-ebuild bug, but a "rebuild libtool, when switching /bin/sh"-one ...
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-01 19:57:19 UTC
No problem of dev-lang/lua so marking this bug as invalid.