Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142163 - gauche-0.8.7 fails to build on AMD64
Summary: gauche-0.8.7 fails to build on AMD64
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-30 02:20 UTC by Vladimir G. Ivanovic
Modified: 2007-04-19 20:41 UTC (History)
0 users

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 Vladimir G. Ivanovic 2006-07-30 02:20:19 UTC
<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
Comment 1 Akinori Hattori gentoo-dev 2006-08-12 01:58:30 UTC
Please try with MAKEOPTS=-j1.
Comment 2 Vladimir G. Ivanovic 2006-08-14 11:31:09 UTC
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
Comment 3 Akinori Hattori gentoo-dev 2007-04-01 13:40:57 UTC
I have no idea to fix this bug. Please try 0.8.9.