Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#67801 closed defect (fixed)

maxima-devel @5.46-dev-20221029_8: open: No such file or directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: KubaO (Kuba Ober)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: maxima-devel

Description

maxima-devel fails to build:

https://build.macports.org/builders/ports-11_arm64-builder/builds/98078/steps/install-port/logs/stdio

could not open file "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_maxima/maxima-devel/work/maxima-5.46-dev-20221029/src/binary-sbcl/maxima.core"
open: No such file or directory

Since this port installs a 9-month-old version, maybe the first thing to try is updating to a newer version.

Change History (4)

comment:1 Changed 9 months ago by tomio-arisaka (Tomio Arisaka)

An extract from the error log:

;      - Compiling source file
;        "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_maxima/maxima-devel/work/maxima-5.46-dev-20221029/src/float.lisp"
; compiling file "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_maxima/maxima-devel/work/maxima-5.46-dev-20221029/src/float.lisp" (written 21 JUL 2023 10:22:05 PM):

; file: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_maxima/maxima-devel/work/maxima-5.46-dev-20221029/src/float.lisp
; in: DEFUN BFLOAT-FORMAT-G
;     (ZEROP MAXIMA::FDIGITS)
; 
; note: deleting unreachable code

;     (1+ MAXIMA::FDIGITS)
; 
; note: deleting unreachable code

;     (ZEROP MAXIMA::FDIGITS)
; 
; note: deleting unreachable code

;     (>= MAXIMA::FDIGITS MAXIMA::LEN)
; 
; note: deleting unreachable code

;     (+ 1 MAXIMA::K (- MAXIMA::FDIGITS MAXIMA::LEN))
; 
; note: deleting unreachable code

; in: DEFUN EXTREME-FLOAT-VALUES
;     (VALUES MOST-NEGATIVE-LONG-FLOAT MOST-POSITIVE-LONG-FLOAT)
; 
; note: deleting unreachable code

;     (VALUES MOST-NEGATIVE-SINGLE-FLOAT MOST-POSITIVE-SINGLE-FLOAT)
; 
; note: deleting unreachable code

debugger invoked on a SB-INT:BUG @7004C2C668 in thread
#<THREAD "main thread" RUNNING {7008AC03A3}>:
    failed AVER: (EQ SB-C::HOW :KNOWN-RETURN)
  This is probably a bug in SBCL itself. (Alternatively, SBCL might have been
  corrupted by bad user code, e.g. by an undefined Lisp operation like
  (FMAKUNBOUND 'COMPILE), or by stray pointers from alien code or from unsafe
  Lisp code; or there might be a bug in the OS or hardware that SBCL is running
  on.) If it seems to be a bug in SBCL itself, the maintainers would like to
  know about it. Bug reports are welcome on the SBCL mailing lists, which you
  can find at <http://sbcl.sourceforge.net/>.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(SB-C::EMIT-ARG-MOVES #<SB-C::VOP :INFO SB-C:MULTIPLE-CALL-NAMED :ARGS #<SB-C:TN-REF :TN #<SB-C:TN t1 :NORMAL> :WRITE-P NIL :VOP SB-C:MULTIPLE-CALL-NAMED> :RESULTS #<SB-C:TN-REF :TN #<SB-C:TN t2 :NORMAL> :WRITE-P T :VOP SB-C:MULTIPLE-CALL-NAMED> :CODEGEN-INFO ((#<SB-C:TN t3[D0] :NORMAL> #<SB-C:TN t4[R0] :NORMAL>) 2 NIL)>)
0] 

; compilation aborted after 0:00:00.115
; 
; compilation unit aborted
;   caught 2 fatal ERROR conditions

Unfortunately, SBCL-2.3.6 is used when building Maxima.

SBCL-2.3.6 cannot compile "src/float.lisp" in Maxima on ARM64 macOS. See https://sourceforge.net/p/sbcl/mailman/message/37868159/

On the other hand, on x86-64 macOS, SBCL-2.3.6 cannot compile exactly "src/float.lisp" in Maxima. Then the float function is broken.

$ rmaxima --norc
Maxima 5.47.0 https://maxima.sourceforge.io
using Lisp SBCL 2.3.6
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) x : 1.0b0;
(%o1)                                1.0b0
(%i2) x : float(x);
(%o2)      #<unknown immediate object, lowtag=#b1, widetag=#x1 {1}>
(%i3) 

float(x) should return 1.0.

comment:2 Changed 9 months ago by catap (Kirill A. Korinsky)

This issue was fixed inside sbcl-2.3.7

comment:3 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

And builds of maxima-devel have happened on the buildbot since then and succeeded. Great!

comment:4 Changed 9 months ago by catap (Kirill A. Korinsky)

In 1aeed33113686d8dff80919689b098b516c0d49b/macports-ports (master):

maxima: update to 5.47.0maxima-devel: update to 5.47-dev-20230730

Also add myself as maintainer and closes number of issues.

Closes: #48427
Closes: #53926
Closes: #55362
Closes: #63813
Closes: #66034
Closes: #67147
Closes: #67778
Closes: #67801

Note: See TracTickets for help on using tickets.