[MacPorts] #62598: cjdns @21.1 "-march=native" not supported on Apple M1

MacPorts noreply at macports.org
Thu Apr 1 15:38:06 UTC 2021


#62598: cjdns @21.1 "-march=native" not supported on Apple M1
-------------------------+--------------------
 Reporter:  eric-j-ason  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.4
 Keywords:  arm64        |       Port:  cjdns
-------------------------+--------------------
 This is the output when trying to install:

 {{{
 % port install cjdns
 Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not
 build correctly.
 Warning: You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.
 --->  Computing dependencies for cjdns
 --->  Building cjdns
 Error: Failed to build cjdns: command execution failed
 Error: See
 /Users/eand/macports/var/macports/logs/_Users_eand_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_cjdns/cjdns/mai\
 n.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port cjdns failed
 }}}

 My understanding is that the warning about "macOS 11.2 SDK" isn't the
 issue here. Rather, the actual error, found in the log file, is this:

 {{{
 clang: error: the clang compiler does not support '-march=native'
 }}}

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


More information about the macports-tickets mailing list