[MacPorts] #63374: xfig: Cannot install xfig for the arch 'arm64' because its dependency libpng is only installed for the arch 'x86_64' and the configured universal_archs 'x86_64 i386' are not sufficient (was: xfig build failure)

MacPorts noreply at macports.org
Mon Aug 16 07:49:04 UTC 2021


#63374: xfig: Cannot install xfig for the arch 'arm64' because its dependency
libpng is only installed for the arch 'x86_64' and the configured
universal_archs 'x86_64 i386' are not sufficient
-----------------------+--------------------------
  Reporter:  jgbroida  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:  arm64 bigsur
      Port:  xfig      |
-----------------------+--------------------------
Changes (by ryandesign):

 * keywords:   => arm64 bigsur


Comment:

 It's simpler for everyone if you use free document formats like text files
 rather than proprietary formats like Word documents. The contents of the
 Word document are:

 {{{
 Last login: Sun Aug 15 17:19:24 on ttys000
 joelbroida at Joels-MacBook-Pro ~ % sudo port install xfig
 Password:
 Error: Cannot install xfig for the arch 'arm64' because
 Error: its dependency libpng is only installed for the arch 'x86_64'
 Error: and the configured universal_archs 'x86_64 i386' are not
 sufficient.
 Error: Unable to execute port: architecture mismatch
 joelbroida at Joels-MacBook-Pro ~ %
 }}}

 Since you are on an Apple Silicon Mac, libpng should not be installed for
 x86_64; it should be installed for arm64. This suggests that you had
 MacPorts installed on a previous Intel Mac, migrated that drive to this
 Mac, and did not perform the MacPorts [wiki:Migration migration process]
 afterward, so you should perform those steps now, which will involve
 possibly updating your macports.conf file and then reinstalling all ports.

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


More information about the macports-tickets mailing list