Opened 4 years ago

#62884 new defect

mod_wsgi @4.7.1 build failure: lipo aborts due to multiple input files with same arch

Reported by: khepler Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: mod_wsgi

Description

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.

Attachments (2)

port-log-mod_wsgi.txt (41.4 KB) - added by khepler 4 years ago.
output of port log mod_wsgi after failure
config.log (9.5 KB) - added by khepler 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by khepler

Attachment: port-log-mod_wsgi.txt added

output of port log mod_wsgi after failure

Changed 4 years ago by khepler

Attachment: config.log added
Note: See TracTickets for help on using tickets.