#38709: maxima @5.28.0_3+xmaxima binary package is inevitably obsolete ----------------------+-------------------------------- Reporter: kpreid@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: maxima ----------------------+-------------------------------- Maxima's compile process produces a SBCL (by default) memory image. This image can only be used with the exact version of the SBCL runtime it was created by. However, it appears that installation is defaulting to a precompiled package, which will be obsolete unless it is updated every time SBCL is. Sign of the problem: {{{ $ maxima fatal error encountered in SBCL pid 28542: can't load .core for different runtime, sorry }}} My evidence that the binary package is the cause: I uninstalled maxima, did {{{sudo port install maxima +xmaxima}}}, and then found {{{ $ ls -l /opt/local/lib/maxima/5.28.0/binary-sbcl/maxima.core -rw-r--r-- 1 root admin 82968624 Feb 6 03:27 /opt/local/lib/maxima/5.28.0/binary-sbcl/maxima.core }}} Since the file is two months old (and provided by the maxima port), I assume it came from a binary package. Also the installation log does not show a build: {{{ $ sudo port install maxima +xmaxima ---> Computing dependencies for maxima ---> Fetching archive for maxima ---> Attempting to fetch maxima-5.28.0_3+xmaxima.darwin_11.x86_64.tbz2 from http://packages.macports.org/maxima ---> Attempting to fetch maxima-5.28.0_3+xmaxima.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/maxima ---> Installing maxima @5.28.0_3+xmaxima ---> Activating maxima @5.28.0_3+xmaxima ---> Cleaning maxima ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}} To complete my report I would like to say that it works when built from source, but the build currently fails, in a way which is probably due to a known problem in SBCL 1.1.6 (<http://article.gmane.org/gmane.lisp.steel- bank.devel/17138>). To correct this problem, a binary package of maxima must not be used, or must be updated whenever the sbcl port is. (It would also be nice if the “broken binaries” mechanism recognized a broken maxima, but I have no idea whether it generalizes in that way.) -- Ticket URL: <https://trac.macports.org/ticket/38709> MacPorts <http://www.macports.org/> Ports system for OS X