[MacPorts] #61606: mozjs60: ERROR: virtualenv is not compatible with this system or executable

MacPorts noreply at macports.org
Tue Feb 2 04:50:58 UTC 2021


#61606: mozjs60: ERROR: virtualenv is not compatible with this system or executable
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  dbevans
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:  arm64
      Port:  mozjs60     |
-------------------------+----------------------

Comment (by codesmythe):

 This port uses an embedded copy of virtualenv to create a python2.7
 virtual environment. On arm64, the created (copied?) python has an invalid
 code signature and is killed when run. This pull request:
 https://github.com/macports/macports-ports/pull/9898 adds a patch to ad-
 hoc code sign the created python executable on arm64.

 After this patch, the mozjs60/arm64 fails because the configure
 environment assumes it is building on iphoneos when it detects an arm
 machine.

 {{{
 checking for hfs_tool... not found
 checking for autoconf... /opt/local/bin/autoconf213
 creating cache ./config.cache
 checking host system type... arm-apple-darwin20.2.0
 checking target system type... arm-apple-darwin20.2.0
 checking build system type... arm-apple-darwin20.2.0
 configure: error: iOS SDK 'iphoneos' could not be found.
 ERROR: old-configure failed
 }}}

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


More information about the macports-tickets mailing list