Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167468 - x11-wm/ion2-20040729 fails to start and compile w/ dev-lang/lua-5.1*
Summary: x11-wm/ion2-20040729 fails to start and compile w/ dev-lang/lua-5.1*
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Matti Bickel (RETIRED)
URL:
Whiteboard:
Keywords:
: 184084 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-18 12:39 UTC by Ilya Schurov
Modified: 2007-09-18 08:44 UTC (History)
3 users (show)

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


Attachments
ion2 config.log (config.log,17.85 KB, text/plain)
2007-02-18 12:42 UTC, Ilya Schurov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Schurov 2007-02-18 12:39:33 UTC
After emerge -uDv world, ion2 doesn't start with the following message:

ion: error while loading shared libraries: liblualib.so: cannot open shared object file: No such file or directory.

Trying to remerge ion2 yields:

>>> Emerging (1 of 1) x11-wm/ion2-20040729-r1 to /
<...>
checking lualib.h usability... yes
checking lualib.h presence... yes
checking for lualib.h... yes
checking for lua_open in -llua... no

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-wm/ion2-20040729-r1/work/ion-2-20040729/config.log

!!! ERROR: x11-wm/ion2-20040729-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3035:   Called src_compile
  ion2-20040729-r1.ebuild, line 64:   Called econf '--sysconfdir=/etc/X11' '--disable-xinerama' '--disable-xfree86-textprop-bug-workaround'
  ebuild.sh, line 577:   Called die

!!! econf failed

Remerging lua doesn't help. revdep-revuild doesn't affect ion2 or lua.

Reproducible: Always

Steps to Reproduce:
Comment 1 Ilya Schurov 2007-02-18 12:42:54 UTC
Created attachment 110526 [details]
ion2 config.log
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2007-02-20 16:35:14 UTC
The problem is that ion2 wm is using with lua-5.0.2 version. After your "emerge -uDv world", because you used the ACCEPT_KEYWORDS feature(I suppose you have set it in your make.conf, or you used it in the command line), it upgraded your lua version to 5.1.1(dev-lang/lua-5.1.1), but ion2 works only with lua-5.0.2 libraries(as it says and in the package's home page (http://modeemi.cs.tut.fi/~tuomov/ion/download.html), 

so and the
>ion: error while loading shared libraries: liblualib.so: cannot open shared
>object file: No such file or directory.

error.

After that, you tried to compile ion2 again, but you still have the upgraded version of lua(2.1.1),so because of the new version(+other features), your installation failed in configuration(while checking libraries etc) and you tried to recompile lua, but 2.1.1 version. If you still want ion2 you have to downgrade your lua package to 2.0.2(or 2.0.3) by doing:
emerge =lua-5.0.2;
and re-emerge ion2:
emerge ion2;
(but you may have problems with other packages, because some of them may need lua-2.1.1 libraries)

or another solution is to try ion3:
emerge ion3;
(it works with lua-2.1.1,but it's masked, because it's still in development)

I hope I helped, 
Panagiotis
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2007-02-20 18:08:23 UTC
opsss, sorry, typographical mistakes, for 2.0.2 i meant 5.0.2, for 2.0.3 i meant 5.0.3 and for 2.1.1 i meant 5.1.1,now i saw it, sorry again 
Comment 4 Ilya Schurov 2007-02-20 22:36:04 UTC
Panagiotis Christopoulos, thanks for your response. I didn't check it, but I believe you're right about incompitability of ion2 & lua-5.1.1. However, doesn't portage resolve such issues -- e.g. by setting ion2 to block lua-5.1.1 or something?

I forget to include 'emerge --info', it follows after this message just for reference.

[user@heartofgold user #2050]$ emerge --info                                                                                ~
Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.5-r0, 2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 18 Feb 2007 17:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
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.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-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=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.aiya.ru/pub/gentoo/ http://ftp.citkit.ru/pub/Linux/gentoo ftp://ftp.solnet.ch/mirror/Gentoo http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://gentoo.po.opole.pl/ http://gentoo.ynet.sk/pub http://open-systems.ufl.edu/mirrors/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en ru"
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.europe.gentoo.org/gentoo-portage"
USE="X alsa amd64 ansi apache2 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr dvdread eds emboss encode esd fam firefox fortran gd gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal iconv ieee1394 ipv6 isdnlog jpeg kde ldap libg++ mad midi mikmod mono mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf perl plotutils png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" 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" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Panagiotis Christopoulos (RETIRED) gentoo-dev 2007-02-22 08:56:52 UTC
(In reply to comment #4)
> Panagiotis Christopoulos, thanks for your response. I didn't check it, but I
> believe you're right about incompitability of ion2 & lua-5.1.1. However,
> doesn't portage resolve such issues -- e.g. by setting ion2 to block lua-5.1.1
> or something?

I think this can be achieved by sloting lua package, a slot for 5.0.x version and a slot for 5.1.x version, so you can have two versions of lua libraries in parallel, but it's a dev's decision of course to do it in the tree.
Comment 6 Ilya Schurov 2007-02-25 15:05:23 UTC
Slotting sounds good. Now x11-wm/ion3 (20061223) depends on dev-lang/lua-5.1.1, so it is effectively incompatible with x11-wm/ion2.
Comment 7 Matti Bickel (RETIRED) gentoo-dev 2007-06-13 10:54:41 UTC
I'm suprised someone still using this. After all the bug haunts with lua-5.0.2 missing i'm considering reviving the slotted thing. Won't promise, though. After all, ion2 will be suceeded by ion3 in only a short time.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-07-03 11:18:37 UTC
*** Bug 184084 has been marked as a duplicate of this bug. ***
Comment 9 Matti Bickel (RETIRED) gentoo-dev 2007-08-28 20:01:52 UTC
Sorry for the long delay. Ion3 is approaching stable status slowly but steadily, so i don't plan on supporting ion2. Again sorry for all those who still had hope. If someone comes up with a clever idea on how to slot lua, i'll bring ion2 back in my overlay. Meanwhile, it will vanish from the tree in a not so short timeframe (p.mask in a week, removal ~30 days after).
Comment 10 Matti Bickel (RETIRED) gentoo-dev 2007-09-18 08:44:34 UTC
Yeah, last rites are done. Closing as WONTFIX.