[MacPorts] #67917: chicken @5.3.0: Should csc be expected to work with only the CLT?

MacPorts noreply at macports.org
Sun Aug 6 06:51:22 UTC 2023


#67917: chicken @5.3.0: Should csc be expected to work with only the CLT?
--------------------+---------------------
 Reporter:  saj     |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.8.1
 Keywords:          |       Port:  chicken
--------------------+---------------------
 Hello,

 I was playing around with a few Scheme implementations, and hit the
 following problem on Chicken.

 {{{
 % csc -o hello-world hello-world.scm
 sh:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
 No such file or directory
 Error: shell command terminated with non-zero exit status 32512:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool
 -change libchicken.dylib '/opt/local/lib/libchicken.dylib' 'hello-world'
 }}}
 {{{
 % stat /Applications/Xcode.app
 stat: /Applications/Xcode.app: stat: No such file or directory
 }}}

 While I do not have the full XCode suite installed, I do have the Command
 Line Tools package installed.

 {{{
 % sw_vers
 ProductName:    macOS
 ProductVersion: 12.6.7
 BuildVersion:   21G651

 % xcode-select -p
 /Library/Developer/CommandLineTools

 % pkgutil --pkg-
 info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo}
 2>/dev/null | sed -n 's/^version: //p'
 14.2.0.0.1.1668646533

 % command -v install_name_tool
 /usr/bin/install_name_tool
 % install_name_tool
 Usage: /Library/Developer/CommandLineTools/usr/bin/install_name_tool
 [-change old new] ... [-rpath old new] ... [-add_rpath new] ...
 [-delete_rpath old] ... [-id name] input
 }}}

 Chicken `csi` works OK.\\
 Gambit `gsi` works OK.\\
 Gambit `gambit-gsc` works OK.

 Should Chicken `csc` also work with the CLT distribution?

 Thank you.

-- 
Ticket URL: <https://trac.macports.org/ticket/67917>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list