Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170400 - Can't launch nwn, failure in starting bash script.
Summary: Can't launch nwn, failure in starting bash script.
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-11 13:00 UTC by Víctor Enríquez
Modified: 2007-03-12 23:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Víctor Enríquez 2007-03-11 13:00:44 UTC
witch@SunLight ~ $ nwn
/opt/nwn/nwn: line 30: syntax error in conditional expression
/opt/nwn/nwn: line 30: syntax error near `-a'
/opt/nwn/nwn: line 30: `                if [[ -z "${LANG}" -a -r ".metadata/linguas_$i" -a -d "$i" ]] '

Seems like a Linguas related problem?



Reproducible: Always




My use flags for nwn:

games-rpg/nwn-1.68-r1  USE="-hou -sou" LINGUAS="es -de -en -fr -it"
games-rpg/nwn-data-1.29-r1  USE="nowin videos -cdinstall -hou -sou" LINGUAS="es -de -en -fr -it"

My emerge --info:

Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 09 Mar 2007 11:00:07 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.3.6, 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.15
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/hda2/distfiles"
FEATURES="autoconfig ccache distlocks elog metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/  ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/  http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  http://pandemonium.tiscali.de/pub/gentoo/  ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es es_ES"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/xeffects /usr/local/overlays/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr aoss asf audiofile avahi avi bash-completion beagle berkdb bitmap-fonts bonobo bzip2 cairo cdparanoia cdr chardet cli cracklib crypt cups dbus dga doc dri dts dvb dvd dvdr eds encode esd evo exif expat fam fbsplash ffmpeg flac fontconfig fortran galago gd gdbm ggi gif gimp glib glitz glut gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib ipv6 isdnlog jack java javascript jikes joystick jpeg lcms libburn libg++ libnotify libvisual mad matroska midi mmx mng modplug mono motif mp3 mp4 mpeg msn ncurses newspr nls nptl nptlonly nsplugin ogg oggvorbis openal opengl oss pam pam_console pcmcia pcre pdf perl png ppds pppd print pwdb python qt3 qt4 quicktime readline reflection ruby samba scanner sdl session sharedmem slang slp sndfile spell spl sqlite sqlite3 sse sse2 ssl svg tcl tcltk tcpd theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb vcd verbose videos vorbis win32codecs wmf x264 x86 xcb xface xine xinerama xml xml2 xorg xpm xv xvid xvmc 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="synaptics evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" USERLAND="GNU" VIDEO_CARDS="fglrx vesa fbdev none radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-11 16:36:06 UTC
Err... oops... FIXED now... wait a few hours, sync again and try it...
Comment 2 Morten Krøyer 2007-03-12 03:00:51 UTC
Can you post the fix... suppose it's just some minor changes?
if so i'd like to aviod reinstalling the lot ;)
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-12 13:09:08 UTC
Actually, you'll need more than that.  You'll need the diff from 1.10 to 1.12 instead.
Comment 5 Morten Krøyer 2007-03-12 23:25:35 UTC
works like a charm