Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195123 - dev-lisp/sbcl-1.0.10 fails to build (sb-posix)
Summary: dev-lisp/sbcl-1.0.10 fails to build (sb-posix)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
: 258073 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-08 16:27 UTC by lumbrius
Modified: 2009-03-13 16:25 UTC (History)
2 users (show)

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


Attachments
attached whole build.log (sbcl-1.0.14.build.log.gz,358.78 KB, application/octet-stream)
2009-03-11 22:04 UTC, Peter Metzler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lumbrius 2007-10-08 16:27:42 UTC
; SYS:CONTRIB;SB-SPROF;SB-SPROF.FASL.NEWEST written
; compilation finished in 0:00:01
* true
make: Leaving directory `/var/tmp/portage/dev-lisp/sbcl-1.0.10/work/sbcl-1.0.10/contrib/sb-sprof'

WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
  sb-posix
 *
 * ERROR: dev-lisp/sbcl-1.0.10 failed.
 * Call stack:
 *            ebuild.sh, line 1687:  Called dyn_compile
 *            ebuild.sh, line 1025:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   sbcl-1.0.10.ebuild, line  119:  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/tmp/portage/dev-lisp/sbcl-1.0.10/temp/build.log'.
 *

 * Messages for package dev-lisp/sbcl-1.0.10:

 *
 * ERROR: dev-lisp/sbcl-1.0.10 failed.
 * Call stack:
 *            ebuild.sh, line 1687:  Called dyn_compile
 *            ebuild.sh, line 1025:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   sbcl-1.0.10.ebuild, line  119:  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/tmp/portage/dev-lisp/sbcl-1.0.10/temp/build.log'.

Reproducible: Always

Steps to Reproduce:
1.emerge sbcl or emerge maxima
2.
3.
Comment 1 lumbrius 2007-10-08 16:30:17 UTC
localhost vmbrius # emerge --info
Portage 2.1.3.12 (default-linux/x86/2006.1, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 i686)
=================================================================
System uname: 2.6.22-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Mon, 08 Oct 2007 07:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
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
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/fonts/fonts.conf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en_GB ru"
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="Tkinter X alsa arts asf berkdb bitmap-fonts cdr cli cracklib crypt cups cyrillic dbus doc dri dvd dvi eps flac fortran gdbm gif gimp gjc gpm gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde madwifi midi modplug mp3 mudflap ncurses nls nptl nptlonly objc ogg opengl openmp pam pcre pdf perl png ppds pppd ps python qt3 qt3support qt4 readline reflection samba session spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs wma x86 xorg zip zlib" ALSA_CARDS="intel8x0" 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_GB ru" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2007-10-08 16:34:41 UTC
emerge --info and last few pages of buildlog please. Also check your environment for non-ASCII strings as in bug 174702.
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2007-10-08 16:36:22 UTC
(In reply to comment #2)
> emerge --info
sorry, it's already there

Comment 4 lumbrius 2007-10-08 17:33:21 UTC
There are no non-ASCII strings in environment.
Last few pages of buildlog:

localhost vmbrius # cat /var/tmp/portage/dev-lisp/sbcl-1.0.10/temp/build.log       ; file: /var/tmp/portage/dev-lisp/sbcl-1.0.10/work/sbcl-1.0.10/contrib/sb-sprof/sb-sprof.lisp
; in: DEFUN ENABLE-CALL-COUNTING-FOR-FUNCTION
;     (INCF (THE (UNSIGNED-BYTE 59) (CAR SB-SPROF::INFO)))
; --> LET*
; ==>
;   (+ (THE (UNSIGNED-BYTE 59) (CAR #:G2277)) #:G2278)
;
; note: forced to do GENERIC-+ (cost 10)
;       unable to do inline fixnum arithmetic (cost 1) because:
;       The first argument is a (UNSIGNED-BYTE 59), not a FIXNUM.
;       The result is a (VALUES (INTEGER 1 576460752303423487)
;                               &OPTIONAL), not a (VALUES FIXNUM &REST T).
;       unable to do inline fixnum arithmetic (cost 2) because:
;       The first argument is a (UNSIGNED-BYTE 59), not a FIXNUM.
;       The result is a (VALUES (INTEGER 1 576460752303423487)
;                               &OPTIONAL), not a (VALUES FIXNUM &REST T).
;       etc.

; compiling (DEFUN TEST-0 ...)
; compiling (DEFUN TEST ...)
; compiling (PROVIDE (QUOTE SB-SPROF))
; file: /var/tmp/portage/dev-lisp/sbcl-1.0.10/work/sbcl-1.0.10/contrib/sb-sprof/sb-sprof.lisp
; in: DEFSTRUCT SAMPLES
;     (DEFSTRUCT (SB-SPROF::SAMPLES)
;     (VECTOR (MAKE-ARRAY (* SB-SPROF:*MAX-SAMPLES* 10 2)) :TYPE SIMPLE-VECTOR)
;     (SB-SPROF::TRACE-COUNT 0 :TYPE SB-INT:INDEX)
;     (SB-SPROF::INDEX 0 :TYPE SB-INT:INDEX)
;     (SB-SPROF::MODE NIL :TYPE (MEMBER :CPU :ALLOC))
;     (SB-SPROF::SAMPLE-INTERVAL SB-SPROF:*SAMPLE-INTERVAL* :TYPE NUMBER)
;     (SB-SPROF::ALLOC-INTERVAL SB-SPROF:*ALLOC-INTERVAL* :TYPE NUMBER)
;     (SB-SPROF::MAX-DEPTH MOST-POSITIVE-FIXNUM :TYPE NUMBER)
;     (SB-SPROF::MAX-SAMPLES SB-SPROF:*MAX-SAMPLES* :TYPE SB-INT:INDEX))
; --> PROGN DEFUN PROGN EVAL-WHEN SB-IMPL::%DEFUN
; ==>
;   (IF #:N-SUPPLIED-875 #:G841-DEFAULTING-TEMP SB-SPROF:*ALLOC-INTERVAL*)
;
; caught WARNING:
;   undefined variable: *ALLOC-INTERVAL*

; ==>
;   (IF #:N-SUPPLIED-876 #:G843-DEFAULTING-TEMP SB-SPROF:*MAX-SAMPLES*)
;
; caught WARNING:
;   undefined variable: *MAX-SAMPLES*

; ==>
;   (IF #:N-SUPPLIED-874 #:G840-DEFAULTING-TEMP SB-SPROF:*SAMPLE-INTERVAL*)
;
; caught WARNING:
;   undefined variable: *SAMPLE-INTERVAL*

;
; caught WARNING:
;   These variables are undefined:
;     *ALLOC-INTERVAL* *MAX-SAMPLES* *SAMPLE-INTERVAL*
;
; compilation unit finished
;   caught 4 WARNING conditions
;   printed 1 note


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

WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
  sb-posix
 *
 * ERROR: dev-lisp/sbcl-1.0.10 failed.
 * Call stack:
 *            ebuild.sh, line 1687:  Called dyn_compile
 *            ebuild.sh, line 1025:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   sbcl-1.0.10.ebuild, line  119:  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/tmp/portage/dev-lisp/sbcl-1.0.10/temp/build.log'.
 *
Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2009-03-08 13:32:56 UTC
*** Bug 258073 has been marked as a duplicate of this bug. ***
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-03-08 13:34:50 UTC
Apparently still an issue with 1.0.14. What about 1.0.19? Stelian, any insights to this?
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2009-03-11 14:42:09 UTC
Peter, the partial build log you attached is not sufficient for determining the cause of the error. Please attach more ;P
Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2009-03-11 14:42:52 UTC
more of the build.log that is
Comment 9 Peter Metzler 2009-03-11 22:04:11 UTC
Created attachment 184753 [details]
attached whole build.log

Added the whole build.log as .gz, hope it helps.
Comment 10 Stelian Ionescu 2009-03-12 14:31:53 UTC
Three sb-posix tests are failing:

1) STAT.2 and STAT.4 fail because / has the "Writable for others" bit set, which is unexpected - and IMO a big security concern
2) READLINK.ERROR.1 tries to read a symlink contained in an unreadable directory: it should signal EACCESS but instead it works. I can't really understand why
Comment 11 Peter Metzler 2009-03-12 23:44:52 UTC
The problem has been fixed by chmod drwxr-xr-x /

Thank you very much.