Installation of lua-mode fails during the compile stage on an elisp-compile call with the following error (with a few lines of preceding context): In lua-make-indentation-info-pair: lua-mode.el:576:24:Warning: reference to free variable `found-token' lua-mode.el:580:56:Warning: reference to free variable `found-pos' In lua-calculate-indentation-info: lua-mode.el:626:40:Warning: reference to free variable `lua-indentation-modifier-regexp' lua-mode.el:714:13:Error: Symbol's value as variable is void: lua-left-shift-regexp-1 * * ERROR: app-emacs/lua-mode-1.26-r1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1383: Called elisp_src_compile * elisp.eclass, line 69: Called die * The specific snippet of code: * elisp-compile *.el || die "elisp-compile failed" * The die message: * elisp-compile failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/exclude/port-log/app-emacs:lua-mode-1.26-r1:20071114-192801.log'. Reproducible: Always Steps to Reproduce: 1. Attempt 'emerge lua-mode' 2. elisp-compile fails Actual Results: The error message shown in the description was output and lua-mode was not merged. Expected Results: lua-mode should have compiled and merged succesfully. This is being performed inside a chroot which has /proc and /dev mounted. I have ccache enabled. Some useful command outputs: $ emerge -pv lua-mode These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-emacs/lua-mode-1.26-r1 0 kB Total: 1 package (1 new), Size of downloads: 0 kB $ emerge --info Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-53.el5 x86_64) ================================================================= System uname: 2.6.18-53.el5 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz Timestamp of tree: Wed, 14 Nov 2007 15:46:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer" 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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -fomit-frame-pointer" DISTDIR="/exclude/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer prelink sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/" LANG="en_US.UTF-8" MAKEOPTS="-j3" PKGDIR="/exclude/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="/exclude/port-tmp" PORTDIR="/exclude/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 arts audiofile bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread emacs esd exif ffmpeg flac fortran ftp gcj gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv ieee1394 isdnlog java javascript jpeg kde lame ldap mad midi mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt4 readline reflection ruby samba scanner session sndfile spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis wxwindows xine xml xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thank you for reporting; this should be fixed in lua-mode-20061208. Please reopen if the problem persists with that version.
(In reply to comment #1) > Thank you for reporting; this should be fixed in lua-mode-20061208. > > Please reopen if the problem persists with that version. > lua-mode-20061208 did indeed work, thanks much!