make[2]: Entering directory `/var/tmp/portage/dev-tex/luatex-0.46.0/work/luatex-beta-0.46.0/source/texk/kpathsea/man' cp /dev/null sedscript sed -n -e '/^#define/s/#define[ ][ ]*\([A-Z_a-z][A-Z_a-z]*\)[ ][ ]*\(.*\)/s%@\1@%\2%/p' \ ../../kpathsea/paths.h \ | sed -e 's/"//g' -e 's/[ ]*\/\*[^*]*\*\///g' >>sedscript echo 's%@VER''SION@%5.0.0%' >>sedscript echo 's%@BINDIR@%/usr/bin%' >>sedscript echo 's%@INFODIR@%/usr/share/info%' >>sedscript echo 's%@TEXINPUTDIR@%%' >>sedscript echo 's%@MFINPUTDIR@%%' >>sedscript echo 's%@MPINPUTDIR@%%' >>sedscript echo 's%@FONTDIR@%%' >>sedscript echo 's%@FMTDIR@%%' >>sedscript echo 's%@BASEDIR@%%' >>sedscript echo 's%@MEMDIR@%%' >>sedscript echo 's%@TEXPOOLDIR@%%' >>sedscript echo 's%@MFPOOLDIR@%%' >>sedscript echo 's%@MPPOOLDIR@%%' >>sedscript echo 's%@FONTMAPDIR@%%' >>sedscript echo 's%@LOCALMODES@%%' >>sedscript sed -f sedscript kpseaccess.man >kpseaccess.1 sed -f sedscript kpsereadlink.man >kpsereadlink.1 sed: file sedscript line 78: unterminated `s' command make[2]: *** [kpseaccess.1] Error 1 make[2]: *** Waiting for unfinished jobs.... sed: file sedscript line 78: unterminated `s' command make[2]: *** [kpsereadlink.1] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-tex/luatex-0.46.0/work/luatex-beta-0.46.0/source/texk/kpathsea/man' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-tex/luatex-0.46.0/work/luatex-beta-0.46.0/source/texk/kpathsea' make: *** [all] Error 2 * ERROR: dev-tex/luatex-0.46.0 failed: * failed to build texk/kpathsea Reproducible: Always emerge --info Portage 2.1.7.14 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64) ================================================================= System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9500_@_2.53GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 14 Dec 2009 06:45:03 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.6, 2.5.4-r2, 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.1.0 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.64 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -ggdb" 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 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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" CXXFLAGS="-march=nocona -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.tups.lv/source" LANG="lv_LV" LC_ALL="lv_LV.utf8" LDFLAGS="-Wl,-O1" LINGUAS="lv" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /home/maris/soft/portage" SYNC="rsync://gentoo.tups.lv/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli clucene consolekit cracklib crypt cups cxx dbus dell dhcpcd dri dts dvd dvdr eap-tls eds emboss encode evo exif fam firefox flac fortran gdal gdbm geos gif gpm gstreamer hal iconv idn inotify ipv6 jpeg json kde laptop ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd proj python qt3support qt4 quicktime readline reflection sasl sdl semantic-desktop session slp spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb utf-8 vdpau vorbis x264 xcomposite xinerama xml xmp xorg xulrunner xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host autoindex dir headers mime vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="lv" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 212991 [details] Build log
Confirm, I get the same error. Portage 2.1.7.14 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r9 x86_64)
Same problem here. Portage 2.2_rc59 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.1.6 Timestamp of tree: Mon, 14 Dec 2009 07:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.1.6 sys-apps/openrc: 0.5.0-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.64 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" 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 /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=3.0 --with-bdeps y" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_CA.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j3 -l3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/kde /usr/local/portage/graal /usr/local/portage/local-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alac alsa amd64 berkdb bluetooth branding bzip2 cairo cblas cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gdbm gif gpm gsl gstreamer gtk hal iconv ipv6 jpeg kde lame lapack latex ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg msn mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype type1 unicode usb vorbis wavpack webkit x264 xml xorg xscreensaver xulrunner xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
weird, does it work with MAKEOPTS="-j1" ?
Same thing with -j1: sed -n -e '/^#define/s/#define[ ][ ]*\([A-Z_a-z][A-Z_a-z]*\)[ ][ ]*\(.*\)/s%@\1@%\2%/p' \ ../../kpathsea/paths.h \ | sed -e 's/"//g' -e 's/[ ]*\/\*[^*]*\*\///g' >>sedscript echo 's%@VER''SION@%5.0.0%' >>sedscript echo 's%@BINDIR@%/usr/bin%' >>sedscript echo 's%@INFODIR@%/usr/share/info%' >>sedscript echo 's%@TEXINPUTDIR@%%' >>sedscript echo 's%@MFINPUTDIR@%%' >>sedscript echo 's%@MPINPUTDIR@%%' >>sedscript echo 's%@FONTDIR@%%' >>sedscript echo 's%@FMTDIR@%%' >>sedscript echo 's%@BASEDIR@%%' >>sedscript echo 's%@MEMDIR@%%' >>sedscript echo 's%@TEXPOOLDIR@%%' >>sedscript echo 's%@MFPOOLDIR@%%' >>sedscript echo 's%@MPPOOLDIR@%%' >>sedscript echo 's%@FONTMAPDIR@%%' >>sedscript echo 's%@LOCALMODES@%%' >>sedscript sed -f sedscript kpseaccess.man >kpseaccess.1 sed: file sedscript line 78: unterminated `s' command make[2]: *** [kpseaccess.1] Error 1 make[2]: Leaving directory `/mnt/gentoo/build/portage/dev-tex/luatex-0.46.0/work/luatex-beta-0.46.0/source/texk/kpathsea/man' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/gentoo/build/portage/dev-tex/luatex-0.46.0/work/luatex-beta-0.46.0/source/texk/kpathsea' make: *** [all] Error 2
please attach the offending 'sedscript' file
Created attachment 213077 [details] sedscript
and does LC_ALL=C emerge -1 luatex work?
Yes, it worked. Thanks.
Works here too :-)
luatex is also broken when building with et_EE locale.
This is really a regression portage-2.1.7.14 from the following commit: http://sources.gentoo.org/viewcvs.py/portage?rev=14975&view=rev I'll have to fix it to override LC_* from binary packages while still allowing ebuilds to temporarily override them during build phases.
Created attachment 213165 [details, diff] preserve locale related variables between ebuild phases Save this patch as /tmp/locale.patch and apply as follows: cd /usr/lib/portage patch -p0 < /tmp/locale.patch
This is fixed in 2.1.7.15 and 2.2_rc60.