Unable to build the smlnj-110.67 ebuild. Here are the last few lines from the emerge run. make[1]: Leaving directory `/var/tmp/portage/dev-lang/smlnj-110.67/work/base/runtime/gc' (cd ../mp; make MAKE="make" clean) make[1]: Entering directory `/var/tmp/portage/dev-lang/smlnj-110.67/work/base/runtime/mp' rm -f v-* *.o libmp.a make[1]: Leaving directory `/var/tmp/portage/dev-lang/smlnj-110.67/work/base/runtime/mp' /var/tmp/portage/dev-lang/smlnj-110.67/work/config/unpack: Un-GZIP-ing and un-TAR-ing bootfiles archive. ./config/install.sh: CM metadata directory name is ".cm" /usr/lib/smlnj/bin/.run/run.x86-linux: Fatal error -- unable to find PerID [5c1335271e850f70e576f44c3fcf352a] ./config/install.sh !!! Boot code failed, no heap image (sml.x86-linux). * * ERROR: dev-lang/smlnj-110.67 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 * smlnj-110.67.ebuild, line 105: Called die * The specific snippet of code: * ./config/install.sh || die "compilation failed" * The die message: * compilation failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-lang/smlnj-110.67/temp/build.log'. * * Messages for package dev-lang/smlnj-110.67: * * ERROR: dev-lang/smlnj-110.67 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 * smlnj-110.67.ebuild, line 105: Called die * The specific snippet of code: * ./config/install.sh || die "compilation failed" * The die message: * compilation failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-lang/smlnj-110.67/temp/build.log'. * Reproducible: Always Steps to Reproduce: 1. emerge dev-lang/smlnj [danw@minerva] ~ $ emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686) ================================================================= System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(TM) XP 1700+ Timestamp of tree: Fri, 16 Nov 2007 02:27:01 +0000 ccache version 2.4 [disabled] 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.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.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa apm arts audiofile bash-completion berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups dbm dbus devmap doc dri dvd dvdr dvdread eds emacs emboss encode esd evo exif fam ffmpeg firefox flac font-server foomaticdb fortran ftp gif gimpprint gnome gpm gstreamer gtk gtk2 hal iconv id3 imagemagick imap ipv6 isdnlog java javascript jpeg jpeg2k kde kerberos lame lcms leim libg++ libwww live mad maildir mbox midi mikmod mime ming mmap mmx mmxext mng mozilla mp3 mp4 mp4live mpeg mudflap mule musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ocaml ofx ogg opengl openmp oss pam pcre pdf pdflib perl player png posix postgres ppds pppd python qt3 qt3support qt4 quicktime readline real reflection ruby sasl sdl session smime sockets source spell spl sse ssl svg tcltk tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs wxwindows x86 xine xinerama xinetd xml xml2 xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 136077 [details] Build Log from emerge run.
Created attachment 136078 [details] Gentoo eclass debug log
the attached log seems to be contain only the first few lines
(In reply to comment #3) > the attached log seems to be contain only the first few lines > That was all that was in the file. I will attempt another build and post that file.
Created attachment 136126 [details] Complete build log. Somehow the first build log got truncated. This is the complete build log.
Created attachment 136129 [details] Build log
I, too, get the same error... ------------------------ # emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r1 i686) ================================================================= System uname: 2.6.23-gentoo-r1 i686 AMD Athlon(tm) processor Timestamp of tree: Fri, 16 Nov 2007 08:16:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.5.1-r3 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 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.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -mno-sse" 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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -mno-sse" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://prometheus.cs.wmich.edu/gentoo http://gentoo.osuosl.org/ http://ftp.caliu.info/gentoo/ http://files.gentoo.org" LINGUAS="en" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X acl acpi aim alsa apache2 arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo calendar cdr clamav cli cpdflib cracklib crypt cscope ctype cups dba dbus dbx dio dlloader dmx doc dri dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd evo examples fam firefox flac foomaticdb fortran gcj gd gdbm gif gnutls gpm gstreamer gtk gtk2 hal hpoj iconv icq imap ipv6 isdnlog ithreads java jpeg junit kde kdeenablefinal kdexdeltas kerberos ldap libg++ libwww mad maildir midi mikmod mmx mozilla mp3 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia oav odbc offensive ofx ogg opengl openmp oscar oss pam pcntl pcre pdf pdflib pdo-external pear perl php pic plotutils png posix postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby sasl scanner sdk sdl server session sharedext simplexml slp soap spell spl sqlite sqlite3 ssl svg svga symlink tcltk tcpd tesseract threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vhosts vorbis win32codecs x86 xine xml xorg xv yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I confirm the same error..
*** Bug 199456 has been marked as a duplicate of this bug. ***
This is probably a regression of bug 60965. Could someone please test this patch which adds "LC_ALL=C": diff -u -B -r1.1 smlnj-110.67-r1.ebuild --- smlnj-110.67-r1.ebuild 18 Nov 2007 17:50:49 -0000 1.1 +++ smlnj-110.67-r1.ebuild 18 Nov 2007 18:01:05 -0000 @@ -79,7 +79,7 @@ # echo "request ml-burg" >> $SMLNJ_TARGETS # echo "request eXene" >> $SMLNJ_TARGETS - SMLNJ_HOME="${S}" ./config/install.sh || die "compilation failed" + LC_ALL=C SMLNJ_HOME="${S}" ./config/install.sh || die "compilation failed" } _src_install() {
(In reply to comment #10) > This is probably a regression of bug 60965. > > Could someone please test this patch which adds "LC_ALL=C": > diff -u -B -r1.1 smlnj-110.67-r1.ebuild > --- smlnj-110.67-r1.ebuild 18 Nov 2007 17:50:49 -0000 1.1 > +++ smlnj-110.67-r1.ebuild 18 Nov 2007 18:01:05 -0000 > @@ -79,7 +79,7 @@ > # echo "request ml-burg" >> $SMLNJ_TARGETS > # echo "request eXene" >> $SMLNJ_TARGETS > > - SMLNJ_HOME="${S}" ./config/install.sh || die "compilation failed" > + LC_ALL=C SMLNJ_HOME="${S}" ./config/install.sh || die "compilation > failed" > } > > _src_install() { > Did not work for me. Still the same problem. The installation is requiring a directory which doesn't exist (or if you still have 110.45 installed, doesn't have the right contents). I attached another build log...
Created attachment 136322 [details] dev-lang:smlnj-110.67:20071118-201954.log This is a build log of with the patch suggested in Comment 10 applied.
OK, I didn't explain everything. I emerged updated system today, getting me a new linux-headers and re-emerge after of glibc. I then applied the suggested patch BEFORE having tried to emerge SML/NJ without the patch. Didn't work as indicated in Comment 11 and Comment 12. After posting the previous two comments, I removed the patch and tried to emerge the *original* 110.67 ebuild. It worked... I'm sorry I didn't try this first BEFORE trying the patch; not very scientific. (New) info below: --------------------- emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r1 i686) ================================================================= System uname: 2.6.23-gentoo-r1 i686 AMD Athlon(tm) processor Timestamp of tree: Sun, 18 Nov 2007 08:16:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.5.1-r3 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 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.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -mno-sse" 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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -mno-sse" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://prometheus.cs.wmich.edu/gentoo http://gentoo.osuosl.org/ http://ftp.caliu.info/gentoo/ http://files.gentoo.org" LINGUAS="en" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X acl acpi aim alsa apache2 arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo calendar cdr clamav cli cpdflib cracklib crypt cscope ctype cups dba dbus dbx dio dlloader dmx doc dri dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd evo examples fam firefox flac foomaticdb fortran gcj gd gdbm gif gnutls gpm gstreamer gtk gtk2 hal hpoj iconv icq imap ipv6 isdnlog ithreads java jpeg junit kde kdeenablefinal kdexdeltas kerberos ldap libg++ libwww mad maildir midi mikmod mmx mozilla mp3 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia oav odbc offensive ofx ogg opengl openmp oscar oss pam pcntl pcre pdf pdflib pdo-external pear perl php pic plotutils png posix postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby sasl scanner sdk sdl server session sharedext simplexml slp soap spell spl sqlite sqlite3 ssl svg svga symlink tcltk tcpd tesseract threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vhosts vorbis win32codecs x86 xine xml xorg xv yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 136323 [details] Successful build with *original* build files & new linux-headers w/ re-emerge of glibc Here is the build log of the successful build using the original build file (no patch) but after having updated the linux-headers then re-emerging glibc
I attempted a build with the new ebuild file and it completed. The resulting ML system seems to work.
alright, closing this