Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 158652
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin Wegner <public@mroot.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log config.log that shall be attached text/plain Martin Wegner 2006-12-20 08:05 0000 24.96 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158652 depends on: Show dependency tree
Bug 158652 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-20 08:01 0000
When I try to emerge games-engines/stratagus-2.1 it fails to configure:

[...]
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lbz2... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for lua-config... no
checking for lua-config50... no
checking for luaconfig5.0... no
checking for lua_getfenv in -llua... yes
checking for luaopen_base in -llualib... no
checking for luaopen_base in -llualib50... no
checking for luaopen_base in -llualib5.0... no
configure: error: Lualib5 is required

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!!
/var/tmp/portage/games-engines/stratagus-2.1/work/stratagus-040702/config.log

!!! ERROR: games-engines/stratagus-2.1 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  stratagus-2.1.ebuild, line 48:   Called econf '--disable-debug'
'--without-mikmod' '--with-flac' '--with-mad' '--with-opengl' '--disable-ogg'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

lua is installed, though:

$ emerge -pv lua
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/lua-5.1.1  USE="readline -static" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

$ emerge --info
Portage 2.1.2_rc3-r8 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.19-suspend2-r1-mw i686)
=================================================================
System uname: 2.6.19-suspend2-r1-mw i686 Intel(R) Pentium(R) M processor
1.73GHz
Gentoo Base System version 1.12.8
Last Sync: Wed, 20 Dec 2006 11:50: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.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /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/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/"
LANG="C"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d aac aalib acpi alsa alsa_cards_emu10k1
alsa_cards_hda-intel aoss apache apache2 bash-completion berkdb bitmap-fonts
blender-game branding bzip2 cairo cdparanoia cdr cli cracklib crypt css cups
curl dba dbus dedicated devmap dga directfb divx dlloader doc dri dvd dvdr dvi
editor elibc_glibc emboss encode escreen exif expat fam fbcon ffmpeg firefox
flac ftp gd gdbm gif gimpprint glut gnome gnutls gstreamer gtk gtk2 gtkhtml hal
hddtemp i8x0 iconv icq idn imagemagick imap input_devices_keyboard
input_devices_mouse input_devices_synaptics ipv6 jabber java john jpeg jpeg2k
kernel_linux lame ldap libcaca libg++ libnotify logrotate mad mbox mmx mmxext
mng mozbranding mozdevelop mozilla mozsvg mp3 mpeg mysql nautilus ncurses nfs
nls no-htdocs nptl nptlonly nsplugin nvidia offensive ogg openal opengl openssl
oscar oss pam pcre pdf perl php png pop postfix postgres ppds python qt3 qt4
quicktime readline real realmedia rtc ruby samba sdl server session silverxp
spell spl sqlite sse sse2 ssl startup-notification svg tcpd tetex theora
thunderbird tiff tools truetype truetype-fonts type1-fonts udev unicode usb
userland_GNU userlocales video_cards_fglrx vim vim-with-x visualization vorbis
win32codecs wmf x264 xanim xchattext xine xml xorg xpm xprint xsl xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Martin Wegner 2006-12-20 08:05:20 0000 -------
Created an attachment (id=104448) [details]
config.log that shall be attached

------- Comment #2 From Paul Bredbury 2006-12-20 21:33:33 0000 -------
> ld: cannot find -llualib5.0

Looks like the dep should be on lua-5.0

------- Comment #3 From Mr. Bones. 2006-12-20 22:24:43 0000 -------
yep.  needs lua-5.  Fixed in CVS.

------- Comment #4 From Paul Bredbury 2006-12-21 00:27:43 0000 -------
This is not fixed. ">=dev-lang/lua-5" doesn't fix the problem that lua-5.1
isn't recognized.

------- Comment #5 From Chris Gianelloni (RETIRED) 2007-01-09 23:19:59 0000 -------
OK...

------- Comment #6 From Marc-Andre Landry 2007-01-18 23:18:58 0000 -------
Here some test I made... as far as I understand ld...

ld -l liblua -L/usr/lib -llua
ld: cannot find -lliblua
ld -l liblua5 -L/usr/lib -llua
ld: cannot find -lliblua5
ld -l liblua50 -L/usr/lib -llua
ld: cannot find -lliblua50
ld -l liblua51 -L/usr/lib -llua
ld: cannot find -lliblua51
find /usr/lib -name "*liblua*" 2>/dev/null
/usr/lib/liblua.la
/usr/lib/liblua.a
/usr/lib/liblua.so.5
/usr/lib/liblua.so
/usr/lib/liblua.so.5.1.1

------- Comment #7 From Tristan Heaven 2007-01-18 23:30:22 0000 -------
Just waiting for the slotted lua to be unmasked.

------- Comment #8 From Matti Bickel 2007-01-24 18:55:59 0000 -------
You'll probably wait forever.
Slotted lua is not worth the fight, you'd need to change the dep anyway. Please
depend on ~dev-lang/lua-5.0*

------- Comment #9 From Mr. Bones. 2007-01-24 19:05:04 0000 -------
No, that will cause version bouncing for lua.

------- Comment #10 From Eric L. 2007-01-25 00:15:51 0000 -------
I tried compiling stratagus with lua-5.1.1, and it didn't work. It does work
with lua-5.0.2, though.

------- Comment #11 From Jakub Moc (RETIRED) 2007-01-28 20:54:50 0000 -------
*** Bug 164305 has been marked as a duplicate of this bug. ***

------- Comment #12 From Steven De Bock 2007-02-01 07:35:16 0000 -------
--> see bug 164305 for this bugs resolution

------- Comment #13 From Tristan Heaven 2007-02-28 16:13:22 0000 -------
thanks

------- Comment #14 From Jakub Moc (RETIRED) 2007-10-01 16:22:13 0000 -------
*** Bug 194407 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug