Tried to build luakit with USE=luajit, worked ok, but startup is impossible here. Yes, I have tried with absolutely clean/default config. Reproducible: Always Steps to Reproduce: 1. USE=luajit emerge luakit 2. luakit 3. see it fail Actual Results: error loading module 'globals' from file '/etc/xdg/luakit/globals.lua': /etc/xdg/luakit/globals.lua:6: malformed number near '0.1' E: luakit: main:178: no windows spawned by rc file, exiting Expected Results: should startup cleanly fixing, commenting out the line in question brings up other "errors" of the same kind. Building -9999 with USE=-luajit works as expected. Don't know how severe I should tag that bug, in some ways it's critical, but I'll leave it as normal.
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.37-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 07 Mar 2011 15:15:01 +0000 app-shells/bash: 4.2_p7 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ABI="amd64" ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" ACCEPT_PROPERTIES="*" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CAMERAS="casio_qv" CBUILD="x86_64-pc-linux-gnu" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-march=native -mtune=native -msse4 -mcx16 -msahf -mpopcnt -O2 -pipe -fomit-frame-pointer" CFLAGS_x86="-m32" CG_COMPILER_EXE="/opt/bin/cgc" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="2" COLLECTD_PLUGINS="" COLLISION_IGNORE="/lib/modules" COLORTERM="rxvt" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CVS_RSH="ssh" CXXFLAGS="-march=native -mtune=native -msse4 -mcx16 -msahf -mpopcnt -O2 -pipe -fomit-frame-pointer" DEFAULT_ABI="amd64" DISPLAY=":0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--ask --deep --jobs=4 --keep-going --nospinner --quiet --quiet-build --tree --verbose --with-bdeps=y" EMERGE_WARNING_DELAY="10" EPREFIX="" EROOT="/" FCFLAGS="" FEATURES="assume-digests binpkg-logs collision-protect distlocks fail-clean fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FETCHCOMMAND="/usr/bin/aria2c --check-certificate=false -q -d "${DISTDIR}" -o "${FILE}" "${URI}"" FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" FFLAGS="" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org" GPSD_PROTOCOLS="" GSETTINGS_BACKEND="gconf" HG="/usr/bin/hg" HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/info" INPUT_DEVICES="evdev joystick wacom" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KERNEL="linux" LANG="de_DE.utf8" LCD_DEVICES="" LC_MESSAGES="en_US.utf8" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common" LDFLAGS_x86="-m elf_i386" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_amd64_fbsd="lib64" LIBDIR_ppc="lib32" LIBDIR_ppc64="lib64" LIBDIR_sparc32="lib32" LIBDIR_sparc64="lib64" LIBDIR_x86="lib32" LIBDIR_x86_fbsd="lib32" LIBRARY_PATH="/opt/intel/Compiler/11.1/056/lib/intel64" LINGUAS="de de_DE en en_US" LOGNAME="root" LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:" MAKEOPTS="-j9 --quiet" MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/man:/opt/intel/Compiler/11.1/056/man/en_US:/etc/java-config/system-vm/man/:/opt/nvidia-cg-toolkit/man" MULTILIB_ABIS="amd64 x86" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NLSPATH="/opt/intel/Compiler/11.1/056/lib/locale/en_US/%N" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2:/opt/intel/Compiler/11.1/056/bin/intel64:/opt/vmware/bin" PHP_TARGETS="" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib64/portage/bin" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save_summary echo" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_PYM_PATH="/usr/lib64/portage/pym" PORTAGE_QUIET="1" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="-1" PORTAGE_SANDBOX_COMPAT_LEVEL="16" PORTAGE_SYNC_STALE="30" PORTAGE_TMPDIR="/var/tmp" PORTAGE_TMPFS="/dev/shm" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage/gentoo/" PORTDIR_OVERLAY="/var/lib/layman/vmware /usr/portage/phorcix /usr/portage/yubikey" PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so" PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND" PWD="/root" PYTHONDONTWRITEBYTECODE="1" RESUMECOMMAND="/usr/bin/aria2c --check-certificate=false -c -d "${DISTDIR}" -o "${FILE}" "${URI}"" RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2:/opt/intel/Compiler/11.1/056/bin/intel64:/opt/vmware/bin" RPMDIR="/usr/portage/rpm" RUBYOPT="-rauto_gem" RUBY_TARGETS="ruby18" SHELL="/bin/bash" SHLVL="1" STAGE1_USE="multilib nptl nptlonly unicode" SYMLINK_LIB="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" TERM="rxvt-unicode" TMP="/tmp/.private/root" TMPDIR="/tmp/.private/root" USE="X acl alsa amd64 attr caps crypt idn mmx multilib nls nptl openmp pam pic sse sse2 sse3 ssl ssse3 unicode xcomposite xinerama xrandr" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="casio_qv" ELIBC="glibc" INPUT_DEVICES="evdev joystick wacom" KERNEL="linux" LINGUAS="de de_DE en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" USER="root" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" USE_PYTHON="2.7 3.1" VIDEO_CARDS="nvidia" XAUTHORITY="/root/.xauthNG3Iuf" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share" XSESSION="awesome" XTABLES_ADDONS="" XZ_OPT="--memory=max" _="/usr/bin/emerge" ================================================================= Package Settings ================================================================= www-client/luakit-9999 was built with the following: USE="luajit (multilib) vim-syntax"
Did you run etc-update after emerge? Can you share the first 10 lines of your /etc/xdg/luakit/globals.lua file?
(In reply to comment #2) > Did you run etc-update after emerge? > Can you share the first 10 lines of your /etc/xdg/luakit/globals.lua file? As already stated above, this is what I did: > emerge -C luakit > rm -rf /etc/xdg/luakit/ ; rm -rf .config/luakit/ > emerge luakit Output of `emerge luakit` --snip-- emerge luakit [ebuild N ] www-client/luakit-9999 USE="luajit vim-syntax" Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) www-client/luakit-9999 >>> Installing (1 of 1) www-client/luakit-9999 >>> Recording www-client/luakit in "world" favorites file... >>> Jobs: 1 of 1 complete Load avg: 0.11, 0.05, 0.05 * Messages for package www-client/luakit-9999: * GIT update --> * repository: git://github.com/mason-larobina/luakit.git * updating from commit: d7235e9ead0e2626bcad85ea5be410bfcab79bb1 * to commit: a84eb98dca27962749131dec0e587977adc9347f * branch: develop * storage directory: "/usr/portage/distfiles/git-src/luakit" * GNU info directory index is up-to-date. --snap-- The error as stated above remains, and this are the requested lines: --snip-- head -n10 /etc/xdg/luakit/globals.lua -- Global variables for luakit globals = { homepage = "http://luakit.org/", -- homepage = "http://github.com/mason-larobina/luakit", scroll_step = 40, zoom_step = 0.1, max_cmd_history = 100, max_srch_history = 100, -- http_proxy = "http://example.com:3128", default_window_size = "800x600", --snap--
Just tried with luajit-2-beta6 (portage has only beta5), but that also makes no difference.
Problem found! We already had this problem once upon a time, but it's been re-introduced or hasn't been fixed completely the first time. AGAIN, the culprit is diversity between languages! I'm on german locale (de_DE) here and we use "," instead of "." for decimals. So, either replacing every decimal-point with a comma or running `LC_ALL=C luakit` works. Should be an easy fix, I'll report upstream. http://luakit.org/issues/76
(In reply to comment #5) > Problem found! > > We already had this problem once upon a time, but it's been re-introduced or > hasn't been fixed completely the first time. > > AGAIN, the culprit is diversity between languages! > > I'm on german locale (de_DE) here and we use "," instead of "." for decimals. > So, either replacing every decimal-point with a comma or running `LC_ALL=C > luakit` works. > > Should be an easy fix, I'll report upstream. > > http://luakit.org/issues/76 We can commit a temporary fix (forcing C locale when building with luajit) but Lua manages just fine with "1.0" number formats in German locales. I believe this issue should be raised further upstream with luajit (unless they intend for all developers to release German versions of their applications with all .'s replaced with ,'s).
(In reply to comment #6) > We can commit a temporary fix (forcing C locale when building with luajit) but > Lua manages just fine with "1.0" number formats in German locales. > > I believe this issue should be raised further upstream with luajit (unless they > intend for all developers to release German versions of their applications with > all .'s replaced with ,'s). As for the fix, do whatever you think is best. Related to upstream, if you/some luakit-guy could report it, I'd be glad. Fun fact, http://luajit.org/contact.html regarding this page, there's at least one person from Germany, so I'd wonder if he's not using luajit himself, always has a non-de_DE locale or if the error might be somewhere else...
(In reply to comment #7) > (In reply to comment #6) > > We can commit a temporary fix (forcing C locale when building with luajit) but > > Lua manages just fine with "1.0" number formats in German locales. > > > > I believe this issue should be raised further upstream with luajit (unless they > > intend for all developers to release German versions of their applications with > > all .'s replaced with ,'s). > > As for the fix, do whatever you think is best. > > Related to upstream, if you/some luakit-guy could report it, I'd be glad. LuaJIT doesn't seem to have a bug tracker so following the advice on the contact page I've sent a message to the Lua mailing list about the issue. The mailing list archives are behind a login-wall though so I can't link it here. > Fun fact, > http://luajit.org/contact.html > > regarding this page, there's at least one person from Germany, so I'd wonder if > he's not using luajit himself, always has a non-de_DE locale or if the error > might be somewhere else... We will know more when I get a response back from the mailing list, stay tuned.
(In reply to comment #8) > The mailing list archives are behind a login-wall though so I can't link it > here. Mh, I googled for 'lua mailing list archive' and I found your message, so if others want to follow or jump in, I found it here: http://lua-users.org/lists/lua-l/2011-03/msg00304.html
Could I get a person with this problem to try re-compiling luakit-9999 with luajit again. I've pushed a fix and I'd like to see if it works: https://github.com/mason-larobina/luakit/commit/b6d12cf8739467cf6601604d63c94486a9a72104
(In reply to comment #10) > Could I get a person with this problem to try re-compiling luakit-9999 with > luajit again. > > I've pushed a fix and I'd like to see if it works: > > https://github.com/mason-larobina/luakit/commit/b6d12cf8739467cf6601604d63c94486a9a72104 As stated on the luakit-tracker, works for me(tm). Fixed.