Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227685 - dev-lisp/sbcl-1.0.15 fails to build with >=glibc-2.8
Summary: dev-lisp/sbcl-1.0.15 fails to build with >=glibc-2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on: 261630
Blocks:
  Show dependency tree
 
Reported: 2008-06-17 04:15 UTC by Erik Zeek
Modified: 2009-03-20 16:24 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,8.75 KB, text/plain)
2008-06-17 04:15 UTC, Erik Zeek
Details
build log (dev-lisp:sbcl-1.0.15:20080617-034630.log.bz2,255.30 KB, application/x-bzip2)
2008-06-17 04:18 UTC, Erik Zeek
Details
emerge environment (environment,98.13 KB, text/plain)
2008-06-17 04:18 UTC, Erik Zeek
Details
Suggested ebuild incorporating the patch from bug 222181 (sbcl-1.0.15-r1.ebuild,6.16 KB, text/plain)
2008-07-13 02:44 UTC, Jack Kelly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2008-06-17 04:15:34 UTC
I'm not sure what the problem is.  Sorry.

; SYS:CONTRIB;SB-SPROF;SB-SPROF.FASL.NEWEST written
; compilation finished in 0:00:01
* true
make: Leaving directory `/gentoo/tmp/portage/dev-lisp/sbcl-1.0.15/work/sbcl-1.0.15/contrib/sb-sprof'

WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
  asdf-install
  sb-bsd-sockets
  sb-simple-streams
 *
 * ERROR: dev-lisp/sbcl-1.0.15 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2450:  Called die
 * The specific snippet of code:
 *       env - HOME="${T}" PATH="${bindir}/src/runtime:${PATH}" SBCL_HOME="${bindir}/output" GNUMAKE=make ./make.sh "sbcl --sysinit /dev/null --userinit /dev/null      --disable-debugger --core ${bindir}/output/sbcl.core" || die "make failed";
 *  The die message:
 *   make failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-lisp:sbcl-1.0.15:20080617-034630.log'.
 * The ebuild environment file is located at '/gentoo/tmp/portage/dev-lisp/sbcl-1.0.15/temp/environment'.
 *
Comment 1 Erik Zeek 2008-06-17 04:15:52 UTC
Created attachment 157189 [details]
emerge --info
Comment 2 Erik Zeek 2008-06-17 04:18:22 UTC
Created attachment 157191 [details]
build log
Comment 3 Erik Zeek 2008-06-17 04:18:39 UTC
Created attachment 157193 [details]
emerge environment
Comment 4 Stelian Ionescu 2008-06-17 07:09:58 UTC
It seems that glibc-2.8 eliminated a few deprecated macros used by getaddrinfo(), EAI_ADDRFAMILY and EAI_NODATA. All SBCLs in portage have this problem.
Comment 5 Albin Stjerna 2008-06-23 08:44:06 UTC
They've fixed the glibc problem in latest CVS, I just got it to build on my machine, so I suppose we'll just have to wait for the next release.
Comment 6 Jack Kelly 2008-07-13 02:42:43 UTC
There's a patch attached to bug 222181 (sbcl-1.0.16-GNU_SOURCE.patch) which results in a successful build on this system:

Portage 2.2_rc1 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sat, 12 Jul 2008 06:15:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j12"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/sunrise /usr/local/layman/libfake437"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="X acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib cups dbus dri dvd dvdr dvdread eds emacs emboss encode evo fam firefox flac gdbm gif gpm hal iconv isdnlog jpeg latex libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png ppds pppd preview-latex python qt3support quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg symlink tiff toolkit-scroll-bars truetype unicode vorbis winbind xml xorg xv 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="en" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Jack Kelly 2008-07-13 02:44:26 UTC
Created attachment 160234 [details]
Suggested ebuild incorporating the patch from bug 222181

Not sure if this really needs the -r1.
Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2009-03-20 16:24:03 UTC
Failing versions are now gone.