<snip> cd lib; make slibcat make[1]: Entering directory `/var/tmp/portage/gauche-0.8.7/work/Gauche-0.8.7/lib' if test -f /usr/local/slib/require.scm; then \ /usr/bin/gosh -ftest -uslib -E"require 'new-catalog" -Eexit;\ fi *** ERROR: Compile Error: failed to link "libgauche-uvector" dynamically: ../src/libgauche-uvector.so: undefined symbol: Scm_GlobalVariableRef "../lib/slib.scm":8:(define-module slib (use srfi-0) (us ... Stack Trace: _______________________________________ make[1]: *** [slibcat] Error 1 make[1]: Leaving directory `/var/tmp/portage/gauche-0.8.7/work/Gauche-0.8.7/lib' make: *** [install] Error 2 !!! ERROR: dev-lang/gauche-0.8.7 failed. Call stack: ebuild.sh, line 1545: Called dyn_install ebuild.sh, line 1019: Called src_install gauche-0.8.7.ebuild, line 57: Called die emerge --info ==> Portage 2.1.1_pre4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Turion(tm) 64 Mobile Technology MT-32 Gentoo Base System version 1.12.1 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2, 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Wall -march=k8 -msse3 -pipe -O2 -ffast-math" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/service" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-Wall -march=k8 -msse3 -pipe -O2 -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.llarian.net/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/etc/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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X alsa apache2 avi berkdb bitmap-fonts cli crypt cups dlloader doc dri eds emboss encode firefox foomaticdb fortran gif glibc-omitfp gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jikes jpeg kde ldap lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nsplugin opengl pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1 type1-fonts unicode usb xemacs xml xml2 xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Please try with MAKEOPTS=-j1.
I tried with MAKEOPTS="-j1" and I get the same error. But I downloaded Gauche-0.8.7.tgz from SourceForge, configured it with pthreads and built it (including libgauche.so.0.8.7) and ran 'make check'. The only errors I got were due to ndbm: Testing dbm ... *** ERROR: Compile Error: failed to link "ndbm" dynamically: ./ndbm.so: undefined symbol: dbm_firstkey "./test.scm":219:(test-if-exists "ndbm" dbm.ndbm <ndbm>) Stack Trace: _______________________________________ 0 (dynamic-load "ndbm") At line 49 of "../../lib/dbm/ndbm.scm" make[2]: *** [check] Error 70
I have no idea to fix this bug. Please try 0.8.9.