[MacPorts] #70280: chez-scheme @10.0.0: build failure on Snow Leopard with MacPorts clang 11

MacPorts noreply at macports.org
Thu Jun 27 08:59:58 UTC 2024


#70280: chez-scheme @10.0.0: build failure on Snow Leopard with MacPorts clang 11
--------------------------+-------------------------
  Reporter:  ryandesign   |      Owner:  mohd-akram
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.9.3
Resolution:               |   Keywords:  snowleopard
      Port:  chez-scheme  |
--------------------------+-------------------------

Comment (by ryandesign):

 In the buildbot log for 10.7 I see:

 {{{
 Configuring for ta6osx, and will create boot files via pb
 }}}

 However in the log for 10.6 I see:

 {{{
 Configuring for ti3osx, and will create boot files via pb
 }}}

 This project uses a non-autoconf configure script that tries to infer what
 to build for based on `uname`. Likely, the fact that `uname -m` returns
 `i386` on most 10.6 systems is misleading this configure script into
 thinking it is supposed to be building for 32-bit; when we then
 nevertheless compile for 64-bit it fails this sanity check. This also
 explains why the 32-bit build on 10.6 succeeded. We need to override the
 configure script's auto-detection by specifying the `--machine=` configure
 argument.

 This also makes clear that the port's universal variant cannot possibly
 work in its present form and should be disabled. The muniversal portgroup
 could perhaps be used to make it work if that is desired in the future.

 I have a partial fix ready to go but am waiting for a response to
 [https://github.com/cisco/ChezScheme/issues/847 an upstream bug report] to
 see if it can be improved.

-- 
Ticket URL: <https://trac.macports.org/ticket/70280#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list