[MacPorts] #74235: crystal at 1.21.0_0, arm64, upgrade failure 'Crystal.abort "could not find lib#{lib_name}.a", 1'
MacPorts
noreply at macports.org
Sat Jul 18 18:33:01 UTC 2026
#74235: crystal at 1.21.0_0, arm64, upgrade failure 'Crystal.abort "could not find
lib#{lib_name}.a", 1'
----------------------+---------------------
Reporter: kwolcott | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: arm64 | Port: crystal
----------------------+---------------------
crystal at 1.21.0_0, arm64, upgrade failure
{{{
:info:build CRYSTAL_CONFIG_BUILD_COMMIT=""
CRYSTAL_CONFIG_PATH='$ORIGIN/../share/crystal/src'
SOURCE_DATE_EPOCH="1784367727" CRYSTAL_CONFIG_LIBRARY_PATH=/opt/local/lib
./bin/crystal build --no-debug -D strict_multi_assign -D
preview_overload_order --release --link-flags="-L/opt/local/lib
-Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk
-arch arm64" -Dwithout_libxml2 -Dwithout_openssl -Dwithout_zlib -o
.build/crystal src/compiler/crystal.cr
:info:build Showing last frame. Use --error-trace for full trace.
:info:build In src/compiler/crystal/codegen/link.cr:196:21
:info:build 196 | Crystal.abort "could not find lib#{lib_name}.a", 1
:info:build ^----
:info:build Error: undefined method 'abort' for Crystal:Module
:info:build make: *** [.build/crystal] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/crystal-b4687717/work/crystal-1.21.0'
:info:build Command failed: cd
"/opt/local/var/macports/build/crystal-b4687717/work/crystal-1.21.0" &&
/usr/bin/make -j10 -w all release=1 interpreter=1 FLAGS=--no-debug
CRYSTAL_CONFIG_LIBRARY_PATH=/opt/local/lib PREFIX=/opt/local
CC="/opt/local/var/macports/build/crystal-b4687717/work/compwrap/cc/usr/bin/clang"
CXX="/opt/local/var/macports/build/crystal-b4687717/work/compwrap/cxx/usr/bin/clang++"
OBJC="/opt/local/var/macports/build/crystal-b4687717/work/compwrap/objc/usr/bin/clang"
OBJCXX="/opt/local/var/macports/build/crystal-b4687717/work/compwrap/objcxx/usr/bin/clang++"
INSTALL="/opt/local/libexec/macports/clonebin/install"
:info:build Exit code: 2
:error:build Failed to build crystal: command execution failed
:debug:build Error code: CHILDSTATUS 44176 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/74235>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list