Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158628 - x11-wm/ion3-20060326 fails to compile w/ dev-lang/lua-5.1.1
Summary: x11-wm/ion3-20060326 fails to compile w/ dev-lang/lua-5.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tom Payne (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 155518
  Show dependency tree
 
Reported: 2006-12-20 02:02 UTC by TheOmega
Modified: 2007-01-25 13:00 UTC (History)
1 user (show)

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


Attachments
eBuild for version 20061029 (ion3-20061029.ebuild,1.88 KB, text/plain)
2006-12-20 11:25 UTC, Ceesjan Luiten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TheOmega 2006-12-20 02:02:58 UTC
emerge -av ion3 fails:
====
checking for lua... /usr/bin/lua
checking for lua version >= 5.0... yes (found 5.1.1)
checking for luac... /usr/bin/luac
checking for lua version = luac version... yes (found 5.1.1)
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
checking lualib.h usability... yes
checking lualib.h presence... yes
checking for lualib.h... yes
checking for lua_open in -llua... no
configure: error: *** Can't find lua_open in lua.
                  *** Check for liblua installation or --with-lua-libraries or --with-lua-suffix options

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-wm/ion3-20060326/work/ion-3ds-20060326/config.log

!!! ERROR: x11-wm/ion3-20060326 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  ion3-20060326.ebuild, line 49:   Called econf '--sysconfdir=/etc/X11' '--disable-xft' '--enable-xinerama'
  ebuild.sh, line 541:   Called die

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

==
[ebuild   R   ] x11-wm/ion3-20060326  USE="xinerama -iontruetype" 0 kB
[ebuild   R   ] dev-lang/lua-5.1.1  USE="readline -static" 0 kB
==

==
Portage 2.1.2_rc3-r8 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r1 i686)
=================================================================
System uname: 2.6.19-suspend2-r1 i686 Genuine Intel(R) CPU           L2400  @ 1.66GHz
Gentoo Base System version 1.12.7
Last Sync: Wed, 20 Dec 2006 05:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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="-O2 -march=prescott -fomit-frame-pointer -pipe"
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/splash /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LANG="en_US.utf8"
LINGUAS="de"
MAKEOPTS="-j4"
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.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa amarok apache2 arts aspell bash-competion bash-completion bcmath berkdb bitmap-fonts bluetooth browserplugin bzip2 cdr cli cracklib crypt cups curl dba dbux divx dlloader dri dts dvd dvdr dvdread elibc_glibc encode exif fastcgi ffmpeg firefox flac flash fortan fortran freefot gd gdbm gif gpm gstreamer hal hbci hotplug http ical iconv icq imagemagick imap input_devices_evdev input_devices_keyboard input_devices_mouse ipod ipv6 irda irmc isdnlog ispell jack java javascript joystick jpeg kde kdepim kernel_linux libg++ libnotify linguas_de lm_sensors mime mmx mozdevelop mozilla mp3 mpeg musicbrainz ncurses nls nptl nptlonly nsplugin ntpl ntplonly obex ogg opengl oscar oss pam pcre pda pdf perl php png pop pop3 ppds pppd python qt qt3 qt4 quicktime readline real realmedia reflection samba sasl screen sdl session skins sms smtp sound spell spl sql sse sse2 ssl stream svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_i810 visualization vlm vorbis wifi win32-codex win32codecs wmf wmp wxwindows x11 xine xinerama xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
==
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2006-12-20 10:19:23 UTC
That's an error in ion3 tests. 
See http://www.lua.org/manual/5.1/manual.html#incompat under 7.3 Changes in the API.
That's in the code: ./lua.h:#define lua_open()      luaL_newstate()

twp: can you patch ion3 to check for luaL_newstate when lua-5.1.1 is detected?
Comment 2 Ceesjan Luiten 2006-12-20 11:25:06 UTC
Created attachment 104458 [details]
eBuild for version 20061029

I just edited the old ebuild file to make it working with the new Ion3 code, which uses the new Lua5.1 and thus doesn't have this problem. I just used it to install Ion3. I have _not_ tested the 2 optional use flags. 

Note for overlay users: because the Ion3-20061029 isn't mirrored yet you have to download it yourself from the ion site and place it in your dist dir (/usr/portage/distfiles/)
Comment 3 Ceesjan Luiten 2006-12-21 18:01:14 UTC
Scratch my patch, it seems someone is already working the Ion3 ebuild:

http://bugs.gentoo.org/show_bug.cgi?id=136077 (The title isn't accurate though)
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2007-01-25 13:00:16 UTC
We now have a new ion3 supporting lua-5.1.1 :)
Guess this can be considered fixed then.