Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 559718

Summary: dev-lisp/sbcl-1.2.14 failed to build
Product: Gentoo Linux Reporter: / <jerome.ha>
Component: Current packagesAssignee: Panagiotis Christopoulos (RETIRED) <pchrist>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugs, common-lisp, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.bz2

Description / 2015-09-05 20:57:38 UTC
Hie, I wanted to install x11-wm/stumpwm-0.9.9; dev-lisp/sbcl-1.2.14 package is requested, but it failed to compile. (moreover, i tried to install stumpwm with clisp or ecl, but stumpwm fail to build with these).

Thanks you!

Reproducible: Always

Steps to Reproduce:
1. emerge -a stumpwm
[ebuild  N     ] dev-lisp/sbcl-1.2.14  USE="threads unicode zlib -debug -doc -pax_kernel -source" requested
Actual Results:  
WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
+ HEADER_HAS_BEEN_PRINTED=true
+ echo '  sb-posix'
  sb-posix
+ for dir in '`cd contrib ; echo *`'
+ '[' -d contrib/sb-queue -a -f contrib/sb-queue/Makefile -a '!' -f obj/asdf-cache/sb-queue/test-passed.test-report ']'
+ for dir in '`cd contrib ; echo *`'
+ '[' -d contrib/sb-rotate-byte -a -f contrib/sb-rotate-byte/Makefile -a '!' -f obj/asdf-cache/sb-rotate-byte/test-passed.test-report ']'
+ for dir in '`cd contrib ; echo *`'
+ '[' -d contrib/sb-rt -a -f contrib/sb-rt/Makefile -a '!' -f obj/asdf-cache/sb-rt/test-passed.test-report ']'
+ for dir in '`cd contrib ; echo *`'
+ '[' -d contrib/sb-simple-streams -a -f contrib/sb-simple-streams/Makefile -a '!' -f obj/asdf-cache/sb-simple-streams/test-passed.test-report ']'
+ for dir in '`cd contrib ; echo *`'
+ '[' -d contrib/sb-sprof -a -f contrib/sb-sprof/Makefile -a '!' -f obj/asdf-cache/sb-sprof/test-passed.test-report ']'
+ for dir in '`cd contrib ; echo *`'
+ '[' -d contrib/stale-symbols.lisp -a -f contrib/stale-symbols.lisp/Makefile -a '!' -f obj/asdf-cache/stale-symbols.lisp/test-passed.test-report ']'
+ for dir in '`cd contrib ; echo *`'
+ '[' -d contrib/vanilla-module.mk -a -f contrib/vanilla-module.mk/Makefile -a '!' -f obj/asdf-cache/vanilla-module.mk/test-passed.test-report ']'
+ '[' true = true ']'
+ exit 1
 * ERROR: dev-lisp/sbcl-1.2.14::gentoo failed (compile phase):
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2365:  Called die
 * The specific snippet of code:
 *       env - HOME="${T}" PATH="${PATH}" CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" GNUMAKE=make ./make.sh "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" || die "make failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-lisp/sbcl-1.2.14::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lisp/sbcl-1.2.14::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lisp/sbcl-1.2.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lisp/sbcl-1.2.14/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lisp/sbcl-1.2.14/work/sbcl-1.2.14'
 * S: '/var/tmp/portage/dev-lisp/sbcl-1.2.14/work/sbcl-1.2.14'

>>> Failed to emerge dev-lisp/sbcl-1.2.14, Log file:

>>>  '/var/tmp/portage/dev-lisp/sbcl-1.2.14/temp/build.log'

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

 * ERROR: dev-lisp/sbcl-1.2.14::gentoo failed (compile phase):
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2365:  Called die
 * The specific snippet of code:
 *       env - HOME="${T}" PATH="${PATH}" CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" GNUMAKE=make ./make.sh "sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" || die "make failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-lisp/sbcl-1.2.14::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lisp/sbcl-1.2.14::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lisp/sbcl-1.2.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lisp/sbcl-1.2.14/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lisp/sbcl-1.2.14/work/sbcl-1.2.14'
 * S: '/var/tmp/portage/dev-lisp/sbcl-1.2.14/work/sbcl-1.2.14'


Expected Results:  
dev-lisp/sbcl-1.2.14 installed and next x11-wm/stumpwm-0.9.9.

My system info:
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/selinux, gcc-4.9.3, glibc-2.21-r1, 4.2.0-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     7945976 total,   1145016 free
KiB Swap:     524284 total,    524048 free
Timestamp of repository gentoo: Sat, 05 Sep 2015 16:00:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

flow
    location: /var/lib/layman/flow
    masters: gentoo
    priority: 50

gerczei
    location: /var/lib/layman/gerczei
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 apcupsd apng applehttp audiofile berkdb bindist bzip2 cleartype cli clock corefonts cpumining cracklib crypt cxx deblob dri fbcon fifo flac fortran gdbm gif git gtk3 hls iconv imlib ipv6 jpeg jpg libav live lua mmx mmxext modules mp3 mpd multilib ncurses network nls nptl ogg open_perms openmp pam pango pcre perl png python qt4 readline rtmp seccomp selinux session sha256d sqlite sse sse2 ssl stream subversion symlink tcpd thinkpad threads truetype tty-helpers type1 udev unconfined unicode visualizer vorbis wifi xcb xft xkb zlib" ABI_X86="64 32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-09-07 10:23:17 UTC
Please attach the full build log.
Comment 2 / 2015-09-07 11:06:39 UTC
Created attachment 411242 [details]
build.log.bz2

Here.
Comment 3 Chema Alonso Josa (RETIRED) gentoo-dev 2015-09-13 12:43:29 UTC
sbcl has been bumped to version 1.2.15 (bug #559700). Can you try with the new version?

Thanks for the report.
Comment 4 PL Hayes 2015-10-19 00:45:30 UTC
I don't know what the cause is but sbcl (1.2.16 here) doesn't seem to like asdf (and uiop) 3.1.6. It built okay with 3.1.4.
Comment 5 Chema Alonso Josa (RETIRED) gentoo-dev 2015-10-19 11:36:51 UTC
(In reply to PL Hayes from comment #4)
> I don't know what the cause is but sbcl (1.2.16 here) doesn't seem to like
> asdf (and uiop) 3.1.6. It built okay with 3.1.4.

Right, sbcl-1.2.16 ships with asdf-3.1.5, but the sbcl-1.2.16 ebuild copies the current installed asdf version (line 121):

 cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die


The offending lines are inside the input-files method (line 312 in bundle.lisp). In version 3.1.5 it reads:

  (defmethod input-files ((o gather-op) (c system))
    (unless (eq (bundle-type o) :no-output-file)
      (direct-dependency-files o c :test 'bundlable-file-p :key 'output-files)))

but it 3.1.6 it reads:

  (defmethod input-files ((o gather-op) (c system))
    (unless (eq (bundle-type o) :no-output-file)
      (direct-dependency-files
       o c :key 'output-files
           :test (pathname-type-equal-function (bundle-pathname-type (gather-type o))))))

They changed the test function.

Not sure it the problem is in sbcl itself or asdf. Perhaps we should wait to the next release of sbcl just in case they update the contrib dir to asdf-3.1.6.

Thanks.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2016-05-13 07:18:16 UTC
WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs: sb-posix

*** This bug has been marked as a duplicate of bug 517998 ***