Opened 5 months ago
Last modified 5 months ago
#70280 assigned defect
chez-scheme @10.0.0: builds for an inferred arch, and infers incorrectly on Snow Leopard
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | mohd-akram (Mohamed Akram) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | snowleopard | Cc: | |
Port: | chez-scheme |
Description
chez-scheme fails to build on Snow Leopard, where it uses MacPorts clang 11. I am not able to decipher from the log what the error is.
Attachments (1)
Change History (4)
Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | chez-scheme.log added |
---|
comment:1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
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 an upstream bug report to see if it can be improved.
comment:3 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | chez-scheme @10.0.0: build failure on Snow Leopard with MacPorts clang 11 → chez-scheme @10.0.0: builds for an inferred arch, and infers incorrectly on Snow Leopard |
---|
The relevant part of the log may be: