Bug 208515 - sci-mathematics/maxima-5.14.0 does not enforce default Lisp dependency
Bug#: 208515 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci-mathematics@gentoo.org Reported By: menno.tammens@xs4all.nl
Component: Ebuilds
URL: 
Summary: sci-mathematics/maxima-5.14.0 does not enforce default Lisp dependency
Keywords:  
Status Whiteboard: 
Opened: 2008-02-01 22:47 0000
Description:   Opened: 2008-02-01 22:47 0000
sci-mathematics/maxima needs a Lisp inplementation, and chooses dev-lisp/sbcl
as default if no USE-flags are set.
If this package is not installled an error occurs.



# emerge -av1 maxima

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sci-mathematics/maxima-5.14.0  USE="X nls unicode -clisp
(-cmucl) -emacs -gcl -latex -sbcl -tk -xemacs%" LINGUAS="-es -pt -pt_BR" 0 kB

>>> Emerging (1 of 1) sci-mathematics/maxima-5.14.0 to /
...
 * No lisp specified in USE flags, choosing sbcl as default
...
Summary:
SBCL enabled. Executable name: "sbcl"
default lisp: sbcl
wish executable name: "none"
Making all in src
make[1]: Map
'/var/tmp/portage/sci-mathematics/maxima-5.14.0/work/maxima-5.14.0/src' wordt
binnengegaan
test -d binary-sbcl || mkdir binary-sbcl
test -d binary-sbcl/numerical || mkdir binary-sbcl/numerical
test -d binary-sbcl/numerical/slatec || mkdir binary-sbcl/numerical/slatec
sbcl --noinform --noprint --eval '(progn (load "../lisp-utils/defsystem.lisp")
(funcall (intern (symbol-name :operate-on-system) :mk) "maxima" :compile
:verbose t) (sb-ext:quit))' && \
        sbcl --noinform --noprint --eval '(progn (load
"../lisp-utils/defsystem.lisp") (funcall (intern (symbol-name
:operate-on-system) :mk) "maxima" :load :verbose t) (sb-ext:save-lisp-and-die
"binary-sbcl/maxima.core") (sb-ext:quit))'
/bin/sh: sbcl: command not found
make[1]: *** [binary-sbcl/maxima.core] Fout 127
make[1]: Map
'/var/tmp/portage/sci-mathematics/maxima-5.14.0/work/maxima-5.14.0/src' wordt
verlaten
make: *** [all-recursive] Fout 1
 *
 * ERROR: sci-mathematics/maxima-5.14.0 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   maxima-5.14.0.ebuild, line  173:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake 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/sci-mathematics/maxima-5.14.0/temp/build.log'.
 *

------- Comment #1 From Sébastien Fabbro 2008-02-02 15:39:54 0000 -------
Fixed in cvs. Thanks for reporting.