[MacPorts] #36782: cyrus-sasl2 @2.1.25_3+universal: failure when building architectures that host doesn't support (was: cyrus-sasl2: ./makemd5: Bad CPU type in executable)
MacPorts
noreply at macports.org
Tue Dec 2 23:24:51 PST 2014
#36782: cyrus-sasl2 @2.1.25_3+universal: failure when building architectures that
host doesn't support
------------------------------+----------------------
Reporter: jeremy.booker@… | Owner: larryv@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: cyrus-sasl2 |
------------------------------+----------------------
Changes (by larryv@…):
* keywords: snowleopard =>
* owner: landonf@… => larryv@…
* status: new => assigned
* cc: landonf@… (added)
Comment:
Better late than never, I guess.
Cyrus SASL’s build process compiles and runs that `makemd5` executable.
The problem occurs when the host OS isn’t able to run it.
The OP was building i386 + x86_64 on an i386 machine, so the build failed
during the x86_64 portion. I was building i386 + x86_64 + ppc + ppc64 in
an x86_64 VM running Leopard Server, so my build failed for ppc64, which
Rosetta doesn’t translate.
Barring a shift away from `muniversal-1.0`, the `cyrus-sasl2` portfile
needs to set its `supported_archs` more selectively based on the host
hardware. I’ll try to work on this if I find some time; I daresay no one’s
exactly jonesing for a fix.
--
Ticket URL: <https://trac.macports.org/ticket/36782#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list