[MacPorts] #64621: SBCL build hangs
MacPorts
noreply at macports.org
Mon May 2 12:01:29 UTC 2022
#64621: SBCL build hangs
-----------------------+----------------------
Reporter: pmetzger | Owner: easye
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: sbcl |
-----------------------+----------------------
Comment (by dcamper):
I was able to get tomio-arisaka's patch to work, both with sbcl 2.2.2 and
after attempting the 2.2.4 update.
The problem does not seem to lie with sbcl, exactly. The problem is with
this port using an old -- and incompatible -- version of sbcl to bootstrap
the compilation of the newer sbcl versions. The fix is to either use a
compatible version of sbcl or to use ccl for the bootstrap.
I would like to see the default logic of the port changed to something
like:
1. If sbcl is currently installed, bootstrap using installed sbcl; else
2. If ccl is current installed, bootstrap using installed ccl; else
3. Perform current action (download sbcl), hopefully with a newer,
compatible version
For the record, here are my exact steps for reproducing tomio-arisaka's
work (note that if you copy the patch from the comment text you will have
to fix a bit of formatting; I will try to attach a cleaned-up version to
this bug report):
# Grab the sbcl distribution
sudo port fetch sbcl
# Change directory to what was downloaded
cd $(port dir sbcl)
# Make a copy of the Portfile; the copy is
# what is used as the source for the patch
cp Portfile Portfile.orig
# Apply the patch (which assumes is in your
# Downloads folder and named sbcl_patch.diff)
patch -p0 < ~/Downloads/sbcl_patch.diff
# Build SBCL using a previously-installed CCL
sudo port build sbcl +a_ccl
# Install what you just built
sudo port -s install sbcl +a_ccl
--
Ticket URL: <https://trac.macports.org/ticket/64621#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list