Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204508 - dev-lang/smlnj-110.67-r1 compile fails - Uncaught exception SysErr with <unknown> raised at <sysconf.c>
Summary: dev-lang/smlnj-110.67-r1 compile fails - Uncaught exception SysErr with <unkn...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-06 02:29 UTC by Federico Ceccarelli
Modified: 2009-10-09 14:21 UTC (History)
1 user (show)

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 Federico Ceccarelli 2008-01-06 02:29:26 UTC
Unable to build the dev-lang/smlnj-110.67-r1 ebuild. Here is the the output of emerge:

make[1]: Entering directory `/var/tmp/portage/dev-lang/smlnj-110.67-r1/work/base/runtime/gc'
rm -f v-* *.o libgc.a libmp-gc.a
make[1]: Leaving directory `/var/tmp/portage/dev-lang/smlnj-110.67-r1/work/base/runtime/gc'
(cd ../mp; make MAKE="make" clean)
make[1]: Entering directory `/var/tmp/portage/dev-lang/smlnj-110.67-r1/work/base/runtime/mp'
rm -f v-* *.o libmp.a
make[1]: Leaving directory `/var/tmp/portage/dev-lang/smlnj-110.67-r1/work/base/runtime/mp'
/var/tmp/portage/dev-lang/smlnj-110.67-r1/work/config/unpack: Un-GZIP-ing and un-TAR-ing bootfiles archive.
./config/install.sh: CM metadata directory name is ".cm"
/var/tmp/portage/dev-lang/smlnj-110.67-r1/work/bin/.run/run.x86-linux: Fatal error -- Uncaught exception SysErr with <unknown> raised at <sysconf.c>

./config/install.sh !!! Boot code failed, no heap image (sml.x86-linux).
 *
 * ERROR: dev-lang/smlnj-110.67-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
 *   smlnj-110.67-r1.ebuild, line   82:  Called die
 * The specific snippet of code:
 *      SMLNJ_HOME="${S}" ./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-r1/temp/build.log'.
 *

 * Messages for package dev-lang/smlnj-110.67-r1:

 *
 * ERROR: dev-lang/smlnj-110.67-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
 *   smlnj-110.67-r1.ebuild, line   82:  Called die
 * The specific snippet of code:
 *      SMLNJ_HOME="${S}" ./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-r1/temp/build.log'.

Reproducible: Always

Steps to Reproduce:
1. emerge smlnj
2.
3.




boldrino@localhost ~ $ emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sat, 05 Jan 2008 16:46:01 +0000
app-shells/bash:     3.2_p17-r1
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
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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -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/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ "
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LINGUAS="it"
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.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa amd64 apm bash-completion berkdb bitmap-fonts bzip2 cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox ftp gdbm gif glib gpm hal iconv isdnlog jabber jingle jpeg kde kdexdeltas kerberos ldap lm_sensors logitech-mouse mad midi mikmod mmx mp3 mpeg msn mudflap ncurses nls nowlistening nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl pmu png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis xine xml xorg xv xvmc 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" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Aldo Cassola 2008-01-15 02:23:02 UTC
I can confirm this bug with the exact same output. Version 110.45 emerges fine.

My emerge --info is as follows:
# emerge --info
Portage 2.1.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-tuxonice-r4-lean i686)
=================================================================
System uname: 2.6.23-tuxonice-r4-lean i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Mon, 14 Jan 2008 01:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
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.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.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
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/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://rsync.namerica.gentoo.org http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aim akode alsa amarok apache2 arts asm avahi avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cdrom cli cracklib crypt cups dbus dlloader doc dri dts dvd dvdr dvdread dvi eap-tls eds emboss encode esd evo exif fam fbsplash ffmpeg firefox flac flash foomaticdb fortran gdbm gif gimp gimpprint glitz gnome gnutls gpm gstreamer gtk gtk2 hal iconv ipod ipv6 isdnlog jpeg kde kerberos ldap libg++ mad matroska midi mikmod mmx mmxext mp3 mp4 mpeg mpeg2 mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp openssl opensslcrypt oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl subtitles svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs x86 xine xml xorg xv 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Aldo Cassola 2008-01-19 18:53:53 UTC
Here is more information on the bug:

This got worked around in my system by exporting LC_ALL=C before emerging. Apparently there is a problem in sysconf.c which prevents it from working properly in a utf environment.

Federico, this may work for you as well, as I notice you also run in a utf environment.
Comment 3 Federico Ceccarelli 2008-01-19 22:48:24 UTC
I tried to emerge after exporting LC_ALL=C, but it doesn't work.
Comment 4 Stratos Psomadakis (RETIRED) gentoo-dev 2008-03-26 01:33:21 UTC
it builds/installs fine with LC_ALL=C and LC_ALL=POSIX...
it fails with el_GR and el_GR.UTF8, so i guess it's not just the UTF8 locale that causes the problem...



Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2008-03-27 10:48:25 UTC
I suggest someone mails upstream: smlnj-dev-list@lists.sourceforge.net
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-03-16 21:36:23 UTC
Is the issue still present in 110.69?