echo "Not using pre-generated data."; \ elif test ! -d "/var/tmp/portage/sci-mathematics/fricas-1.3.0/work/fricas-1.3.0/pre-generated"; then \ echo "PREGENERATED directory does not exist."; \ exit 1; \ else \ if test -d /var/tmp/portage/sci-mathematics/fricas-1.3.0/work/fricas-1.3.0/pre-generated/target; then \ ----------------------------------------------------------------- This is an unstable amd64 chroot image (named 13.0-libressl-unstable_20170110-100022) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * llvm-config --version: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) java-config: The following VMs are available for generation-2: -----------------------------------------------------------------
Created attachment 460264 [details] emerge-info.txt
Created attachment 460266 [details] config.log
Created attachment 460268 [details] emerge-history.txt
Created attachment 460270 [details] environment
Created attachment 460272 [details] etc.portage.tbz2
Created attachment 460274 [details] sci-mathematics:fricas-1.3.0:20170116-020005.log
Please check fricas-1.3.0-r1. I've never seen this particular problem, so, maybe, the change in r1 (fixing the bug #605596) does not cure it.
(In reply to Andrey Grozin from comment #7) hhm, got this at that image after downgrading sbcl first (.13 was installed previously) : checking PREGENERATED... "/var/tmp/portage/sci-mathematics/fricas-1.3.0-r1/work/fricas-1.3.0/pre-generated" checking Lisp implementation... This is SBCL 1.3.12, an implementation of ANSI Common Lisp. More information about SBCL is available at <http://www.sbcl.org/>. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. While evaluating the form starting at line 3, column 0 of #P"/etc/common-lisp/gentoo-init.lisp": debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD "main thread" RUNNING {1001BBC883}>: Couldn't load #P"/usr/share/common-lisp/source/asdf/asdf.lisp": file does not exist. Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Retry EVAL of current toplevel form. 1: [CONTINUE] Ignore error and continue loading file "/etc/common-lisp/gentoo-init.lisp". 2: [ABORT ] Abort loading file "/etc/common-lisp/gentoo-init.lisp". 3: Retry EVAL of current toplevel form. 4: Ignore error and continue sysinit file "/etc/sbclrc". 5: Abort sysinit file "/etc/sbclrc". 6: Skip to toplevel READ/EVAL/PRINT loop. 7: [EXIT ] Exit SBCL (calling #'EXIT, killing the process). (LOAD #P"/usr/share/common-lisp/source/asdf/asdf.lisp" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTERNAL-FORMAT :DEFAULT) 0] * sed: can't read config_cl.out: No such file or directory configure: error: Unable to determine Lisp flavor !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-mathematics/fricas-1.3.0-r1/work/fricas-1.3.0/config.log * ERROR: sci-mathematics/fricas-1.3.0-r1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 115: Called src_configure * environment, line 1007: Called econf '--disable-aldor' '--with-lisp=sbcl' '--without-x' '--without-gmp' * phase-helpers.sh, line 665: Called __helpers_die 'econf failed' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" *
fricas-1.3.0 is incompatible with sbcl-1.3.13 (the upstream knows this; the next version of fricas, to be released soon, will be compatible with it). So, downgrading sbcl to 1.3.12 is necessary for compiling fricas. Your listing shows that, after downgrading sbcl, sbcl simply does not start. It fails while executing its init file, namely, trying to load asdf. Indeed, /usr/share/common-lisp/source/asdf/asdf.lisp does not exist; the correct path is /usr/share/common-lisp/source/asdf/build/asdf.lisp (this file is installed by dev-lisp/asdf). When starting, sbcl reads /etc/sbclrc; on my system it is ;;; The following is required if you want source location functions to ;;; work in SLIME, for example. (setf (logical-pathname-translations "SYS") '(("SYS:SRC;**;*.*.*" #p"/usr/lib64/sbcl/src/**/*.*") ("SYS:CONTRIB;**;*.*.*" #p"/usr/lib64/sbcl/**/*.*"))) ;;; Setup ASDF2 (load "/etc/common-lisp/gentoo-init.lisp") The interesting part here is loading /etc/common-lisp/gentoo-init.lisp (this file is also installed by dev-lisp/asdf). On my system it is (in-package #:cl-user) #-(or cmu ccl ecl sbcl) (let ((*compile-print* nil) (*compile-verbose* nil) #+cmu (ext:*gc-verbose* nil)) (handler-bind ((warning #'muffle-warning)) (load #p"/usr/share/common-lisp/source/asdf/build/asdf.lisp" :print nil :verbose nil))) #+(or cmu ccl ecl sbcl) (require :asdf) The middle part of this file is not executed by sbcl because of #-. So, it seems that (require :asdf) fails (trying to read asdf.lisp from a wrong path). Could you please make the following experiment: start sbcl --no-sysinit It should start normally. At the sbcl prompt, say (require :asdf) On my system grozin@dns ~ $ sbcl --no-sysinit This is SBCL 1.3.12, an implementation of ANSI Common Lisp. More information about SBCL is available at <http://www.sbcl.org/>. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * (in-package #:cl-user) #<PACKAGE "COMMON-LISP-USER"> * (require :asdf) ("ASDF" "asdf" "UIOP" "uiop") * On your system it will, probably, fail. This means that something is inconsistent in sbcl on your system. We have to understand the reason.
(In reply to Andrey Grozin from comment #9) will attach the log files ...
Created attachment 460990 [details] sci-mathematics:fricas-1.3.0-r1:20170122-175239.log
Created attachment 460992 [details] dev-lisp:sbcl-1.3.12:20170122-174411.log
Created attachment 460994 [details] dev-lisp:sbcl-1.3.13:20170122-175220.log
No longer in the tree