Bug 158759 - games-puzzle/enigma-1.00 Cannot find 'compat.lua'.
Bug#: 158759 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: alephlg@gmail.com
Component: Games
URL: 
Summary: games-puzzle/enigma-1.00 Cannot find 'compat.lua'.
Keywords:  
Status Whiteboard: 
Opened: 2006-12-21 12:08 0000
Description:   Opened: 2006-12-21 12:08 0000
# enigma
Cannot find 'compat.lua'.
Your installation may be incomplete or invalid.
# emerge -pv enigma

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] games-puzzle/enigma-1.00  USE="nls" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB
gentoo-hu gentoo-hu # emerge -pv dev-lang/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 

Find the compat.lua on http://www.rommel.stw.uni-erlangen.de/~fejf/pfs/
 1      /usr/share/lua/compat.lua       dev-lang/lua-5.0.2

, but i've dev-lang/lua-5.1.1.

...

 emerge --info
Portage 2.1.2_rc3-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.8
Last Sync: Thu, 21 Dec 2006 17:00: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=athlon-xp -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/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"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer
sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
LINGUAS="hu"
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/overlays /usr/local/layman/xeffects
/usr/local/layman/hron"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acl acpi aim alsa alsa_cards_intel8x0
alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym
alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare
alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug
alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958
alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat
alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw
alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug
alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share
alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 asf avahi bash-completion
berkdb bitmap-fonts bluetooth branding bzip2 cairo ccache cdr clamav cli
cracklib crypt dbus dedicated directfb dlloader dts dvd dvdr dvdread eds
elibc_glibc emboss encode fam fbcon ffmpeg firefox flac flash fortran ftp gb
gcj gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal iconv icq imap
input_devices_joystick input_devices_keyboard input_devices_mouse isdnlog
jabber java javascript jbig joystick jpeg jpeg2k kernel_linux ldap libg++
linguas_hu mad matroska mikmod mime mmx mp3 mpeg msn mysql ncurses ncursesnls
nfs nls nptl nptlonly nsplugin nvidia ogg openal opengl oscar oss pam pcre pdf
perl php png ppds pppd profile python qt3 qt4 quicktime readline reflection
samba sasl sdl session speex spell spl sse ssl svg symlink tcpd theora tiff
truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vhosts
video_cards_nvidia videos vorbis wifi win32codecs wmf wxwindows x264 xcomposite
xine xml xorg xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Lónyai Gergely 2006-12-21 12:16:04 0000 -------
equery belongs compat.lua
[ Searching for file(s) compat.lua in *... ]
games-puzzle/enigma-1.00 (/usr/share/games/enigma/compat.lua)

But not find? Remerge, but ain't betterment. :-(

------- Comment #2 From Matija Suklje (hook) 2006-12-22 08:20:17 0000 -------
I confirm this on amd64.

Could this have anything to do with what is said in HACKING.txt and CHANGES.txt
in /usr/share/doc/enigma-1.00/

emerge --info:

Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30
Gentoo Base System version 1.12.6
Last Sync: Fri, 22 Dec 2006 11:59:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -pipe -O2"
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/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -msse3 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="sl_SI.utf8"
LINGUAS="sl"
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.gentoo.org/gentoo-portage"
USE="amd64 64bit X a52 aac aalib acpi addbookmarks aim alias allegro alsa
alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym
alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare
alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug
alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958
alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat
alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw
alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug
alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share
alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amr asf background
bash-completion berkdb bidi bitmap-fonts blender-game bzip2 cairo cardbus
ccache cddb cdparanoia cdr cjk colordiff connectionstatus contactnotes cracklib
crypt css cups cvs dar64 dbus dhcp dio divx dri dv dvb dvd dvdr dvdread effects
elibc_glibc emul-linux-x86 encode exif fam fat ffmpeg firefox flac foomaticdb
fortran gadu gcc64 gdbm gif gimp gimpprint glibc-omitfp glitz gphoto2 gpm gps
gs gtk2 gzip hal highlight history iconv icq ieee1394 imlib
input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 irda
jabber javascript jikes jingle jpeg kde kernel_linux kexi kipi libcaca libg++
linguas_sl live mad matroska mikmod mime mmap mng mp3 mpeg msn musepack music
musicbrainz ncurses nls noamazon nowin nowlistening nptl nptlonly nsplugin ode
offensive ogg on-the-fly-crypt openal opengl openntpd openssh oscar p2kmoto pam
pcmcia pcre pdf perl png ppds print python qt3 qt4 quicktime readline remix rtc
scanner sdl sdlaudio slang sounds speex spell sqlite sqlite3 srt ssl statistics
stencil-buffer stream subp subtitles subversion svg tcpd texteffect theora
threads tidy tiff timidity translator truetype truetype-fonts type1-fonts ucs2
udev unicode usb userland_GNU userlocales v4l vcd video_cards_fglrx
video_cards_radeon video_cards_vesa videos visualization voice vorbis
webpresence wifi xine xml xorg xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From valli 2006-12-23 05:48:45 0000 -------
I've done this:
# ln -s  /usr/share/games/enigma /usr/share/

------- Comment #4 From Matija Suklje (hook) 2006-12-23 11:25:37 0000 -------
The linking solved the problem for me as well. I guess that the compat.lua that
comes with Enigma isn't found in PATH or something similar.

------- Comment #5 From Mr. Bones. 2006-12-28 22:39:30 0000 -------
Try running it under strace:

strace -o out enigma

and attach the out file as text/plain.  reopen with that.

------- Comment #6 From Lónyai Gergely 2006-12-29 01:09:06 0000 -------
Created an attachment (id=104901) [details]
strace -o out enigma

------- Comment #7 From Lónyai Gergely 2006-12-29 01:10:20 0000 -------
Atached the "strace -o out enigma". Reopen.

------- Comment #8 From Tristan Heaven 2006-12-29 01:16:09 0000 -------
It's that sed in the ebuild.

------- Comment #9 From Mr. Bones. 2006-12-29 12:34:12 0000 -------
As a work around until it's fixed, you can emerge with USE=-nls

Sucks if you want other langs, but it'll get it running for you in the
meantime.

------- Comment #10 From Tristan Heaven 2006-12-31 17:59:20 0000 -------
Fixed, thanks.