[MacPorts] #62884: mod_wsgi @4.7.1 build failure: lipo aborts due to multiple input files with same arch

MacPorts noreply at macports.org
Thu May 13 18:19:25 UTC 2021


#62884: mod_wsgi @4.7.1 build failure: lipo aborts due to multiple input files with
same arch
---------------------+----------------------
 Reporter:  khepler  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.6.4
 Keywords:           |       Port:  mod_wsgi
---------------------+----------------------
 The mod_wsgi configure script appears to be adding its own -arch flag to
 CFLAGS.  This results in passing two files with same arch to lipo which
 refuses to combine them.

 {{{
 fatal error: lipo:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_wsgi/mod_wsgi/work/.tmp/ccXsMfMP.out
 and
 opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_mod_wsgi/mod_wsgi/work/.tmp/ccOAdFUl.out
 have the same architectures (ppc7400) and can't be in the same fat output
 file
 apxs:Error: Command failed with rc=65536
 }}}

 Build works fine after removing macports' -arch flags from CFLAGS and
 such.  I don't know how to remove the configure script's -arch flags; the
 help text does not list a relevant option.

 It is not clear if this is specific to ppc, but I don't see any reason it
 would be.

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


More information about the macports-tickets mailing list