#68344 closed defect (fixed)

sbcl-2.3.9_0 +fancy.darwin_23.arm64 build fails

Reported by: murrayE Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma arm64 Cc: catap (Kirill A. Korinsky)
Port: sbcl

Description

From main.log:

:info:build ;;; Loading #P"/opt/local/lib/ecl-23.9.9/cmp.fas"
:info:build ;;; Internal error:
:info:build ;;;   ** Error code 1 when executing
:info:build ;;; (EXT:RUN-PROGRAM "/usr/bin/clang" ("-I." "-I/opt/local/include/" "-I/opt/local/include" "-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk" "-pipe" "-Os" "-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk" "-arch" "arm64" "-fPIC" "-fno-common" "-D_THREAD_SAFE" "-Ddarwin" "-O2" "-c" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.tmp/ecl001PA76Oa.c" "-o" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.tmp/ecl001PA76Oa.o")):
:info:build ;;; In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.tmp/ecl001PA76Oa.c:5:
:info:build ;;; In file included from /opt/local/include/ecl/ecl-cmp.h:36:
:info:build ;;; In file included from /opt/local/include/ecl/ecl.h:89:
:info:build ;;; In file included from /opt/local/include/ecl/stacks.h:23:
:info:build ;;; /opt/local/include/ecl/ecl_atomics.h:23:12: fatal error: 'atomic_ops.h' file not found
:info:build ;;; #  include <atomic_ops.h>
:info:build ;;;            ^~~~~~~~~~~~~~

Attachments (1)

sbcl_main.log (52.8 KB) - added by murrayE 12 months ago.
main log

Download all attachments as: .zip

Change History (15)

Changed 12 months ago by murrayE

Attachment: sbcl_main.log added

main log

comment:1 Changed 12 months ago by cjones051073 (Chris Jones)

Keywords: sonoma added; build failure removed

comment:2 Changed 12 months ago by murrayE

Keywords: arm64 added

comment:3 Changed 12 months ago by jmroot (Joshua Root)

Cc: catap added; kirill@… removed
Owner: set to easye
Status: newassigned

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

Well, it is wrong port. It is an issue with ECL which is used by SBCL to bootstrap on Sonoma.

comment:5 in reply to:  4 Changed 12 months ago by murrayE

Replying to catap:

Well, it is wrong port. It is an issue with ECL which is used by SBCL to bootstrap on Sonoma.

FWIW: ecl @23.9.9_1 installed just fine under macOS Sonoma and with Xcode 15.

comment:6 Changed 11 months ago by bal-agates

I just successfully built and ran maxima and wxMaxima on MBP-2021 (M1) with macOS 14.0 (Sonoma) and Xcode 15.0.

comment:7 in reply to:  6 Changed 11 months ago by murrayE

Replying to bal-agates:

I just successfully built and ran maxima and wxMaxima on MBP-2021 (M1) with macOS 14.0 (Sonoma) and Xcode 15.0.

But maxima has sbcl as a library dependency (see "port info maxima") and sbcl will still not install with Xcode 15 under macOS Sonoma.

And, in fact, when I tried to execute "sudo port install maxima +xmaxima" it listed sbcl as a dependency and then building of sbcl failed, as therefore did processing of maxima.

So how did you get it to work?

Last edited 11 months ago by murrayE (previous) (diff)

comment:8 Changed 11 months ago by catap (Kirill A. Korinsky)

murrayE, let start to dig your case.

Can you sync to the last version of ports, run port clean --all ecl and try to install ecl?

comment:9 in reply to:  8 Changed 11 months ago by murrayE

Replying to catap:

murrayE, let start to dig your case.

Can you sync to the last version of ports, run port clean --all ecl and try to install ecl?

I already installed ecl @23.9.9_1 without problem. Are you asking me to uninstall it, clean ad then reinstall (after sync)?

comment:10 Changed 11 months ago by murrayE

I installed Xcode 15.1 beta and Command-line tools 15.1 beta, but still sbcl fails to build. Looks to me like essentially the same error.

(I dumped old Xcode 15 into trash before installing the beta, and I just downloaded and installed the 15.1 command-line tools. Is there something I need to do to ensure that it is the 15.1 command-line tools being used?)

comment:11 Changed 11 months ago by easye

I can confirm that I am encountering the same error as murrayE on macOS 14.0 (Sonoma) on an MacAir M1 with XCode 15.0.1.

Not sure how to fix it, but at least it is affecting more people than just murrayE.

comment:12 in reply to:  11 Changed 11 months ago by murrayE

Replying to easye:

I can confirm that I am encountering the same error as murrayE on macOS 14.0 (Sonoma) on an MacAir M1 with XCode 15.0.1.

Not sure how to fix it, but at least it is affecting more people than just murrayE.

It's been reported as known that Xcode 15.0.1 does not fix the linking error (if that's all it is here) but that 15.1 does fix it. My experience with sbcl,. though, is that 15.1 still does not address the problem.

comment:13 Changed 11 months ago by catap (Kirill A. Korinsky)

I'm making an update for sbcl, and was able to reproduce this issue on macOS 12 on x86_64 when testing ECL build.

=> start digging, and will do my best to bring an update to 2.8.10 the next week with fix of that issue.

comment:14 Changed 11 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In dd0646e9fdf5baf8891fa7382dbe17d27fd1022e/macports-ports (master):

ecl: add missed dependency

Closes: #68344

Note: See TracTickets for help on using tickets.