Opened 5 months ago

Closed 7 days ago

#72571 closed defect (fixed)

sbcl @2.5.5_0+fancy: fails to build on Ventura x86_64

Reported by: lockie (Andrew Kravchuk) Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.10.7
Keywords: Cc: lockie (Andrew Kravchuk)
Port: sbcl

Description (last modified by lockie (Andrew Kravchuk))

This build failure happens in Github Action MacOS runner (which has 14Gb of RAM, so free RAM is not an issue). Here's relevant part of the log:

:info:build "obj/from-xc/src/code/target-format.lisp-obj" 
:info:build "obj/from-xc/src/code/late-globaldb.lisp-obj" 
:info:build Argh! corrupted error depth, halting
:info:build fatal error encountered in SBCL pid 6939 pthread 0x7ff85bbdea00:
:info:build %PRIMITIVE HALT called; the party is over.
:info:build Error opening /dev/tty: Device not configured
:info:build ldb> Welcome to LDB, a low-level debugger for the Lisp runtime environment.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-2.5.5" && sh make.sh --prefix=/opt/local --xc-host=/opt/local/libexec/sbcl-bootstrap/bin/sbcl --arch=x86-64 --without-sb-simd --fancy 
:info:build Exit code: 1
:error:build Failed to build sbcl: command execution failed
:debug:build Error code: CHILDSTATUS 4937 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/main.log for details.

Full log in attachment.

I should also note that the build succeeds using Sonoma on ARM64.

It would appear this happens in buildbot too: https://build.macports.org/builders/ports-13_x86_64-builder/builds/91257/steps/install-port/logs/stdio

Attachments (1)

main.log (231.0 KB) - added by lockie (Andrew Kravchuk) 5 months ago.
Full build log

Download all attachments as: .zip

Change History (10)

Changed 5 months ago by lockie (Andrew Kravchuk)

Attachment: main.log added

Full build log

comment:1 Changed 5 months ago by lockie (Andrew Kravchuk)

Cc: lockie added
Owner: set to easye
Status: newassigned

comment:2 Changed 5 months ago by lockie (Andrew Kravchuk)

Description: modified (diff)

comment:3 Changed 5 months ago by lockie (Andrew Kravchuk)

Description: modified (diff)

comment:4 Changed 5 months ago by tomio-arisaka (Tomio Arisaka)

Did you try to use the bootstrap_ecl variant?

comment:5 in reply to:  4 Changed 5 months ago by lockie (Andrew Kravchuk)

Replying to tomio-arisaka:

Did you try to use the bootstrap_ecl variant?

Yep, it fails in the very same way.

comment:6 Changed 5 months ago by tomio-arisaka (Tomio Arisaka)

When building SBCL, it depends on both lisp and C compiler.

So, could you try to use gcc14 or clang-18 instead of Xcode clang?

For example:

sudo port install sbcl configure.compiler=macports-gcc-14

or

sudo port install sbcl configure.compiler=macports-clang-18

comment:7 Changed 5 months ago by lockie (Andrew Kravchuk)

I was able to build it with clang 18 from Macports, thank you Tomio!

comment:8 Changed 7 days ago by easye

I don't have the hardware to directly verify but this should have been fixed with <https://github.com/macports/macports-ports/commit/db89c77bec8d8e7402381ebcb716c8157d230fa3>, as the GitHub builder is now succeeding.

comment:9 Changed 7 days ago by easye

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.