Opened 16 months ago
Closed 7 months ago
#67860 closed defect (fixed)
nrsc5: Invalid configuration `arm64-apple-darwin20.6.0': machine `arm64-apple' not recognized
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | trodemaster (Blake Garner) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | arm64 | Cc: | |
Port: | nrsc5 |
Description
nrsc5 fails to build on Apple Silicon Macs:
checking build system type... arm-apple-darwin20.6.0 checking host system type... Invalid configuration `arm64-apple-darwin20.6.0': machine `arm64-apple' not recognized configure: error: /bin/sh /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_nrsc5/nrsc5/work/build/fftw-prefix/src/fftw_external/config.sub arm64-apple-darwin20.6.0 failed
Needs updated config.guess and config.sub files to support Apple Silicon. See [05f186ed589e9caab0c4063720b4c97b0814317a/macports-ports] for an example of the block you would need to add to the Portfile, except that in the case of nrsc5 the problem is that it is downloading and extracting and building fftw 3.3.8 when the problem happens. Ideally, fix the build so it does not download anything. Instead, for example, have nrsc5 make use of the existing fftw-3 port.
Change History (2)
comment:1 Changed 7 months ago by trodemaster (Blake Garner)
comment:2 Changed 7 months ago by trodemaster (Blake Garner)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Ok it looks like some changes to dependencies are needed. Mostly, adding fft2-3-single seems to have resolved the issue. https://github.com/macports/macports-ports/pull/23301