[MacPorts] #24779: perl5.8 files contain -arch flags
MacPorts
noreply at macports.org
Tue Sep 7 22:48:31 PDT 2010
#24779: perl5.8 files contain -arch flags
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: ricci@…
Type: defect | Status: assigned
Priority: High | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: perl5.8
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):
* priority: Normal => High
Comment:
I don't know the answers to all your questions. I do know that ImageMagick
+perl builds fine with this change. And I know the current situation
without the patch is broken and a patch like the one I submitted is
needed. I've had that patch in place on my system for most of the past 4
months and I don't think I've encountered any problems as a result. To
verify that the situation without that patch is broken, you need only
install perl5.8 with the +universal variant and then attempt to install
silc-client, which does not have a universal variant. It will fail with
the message
{{{
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple
-arch flags
}}}
You'll see "-arch x86_64 -arch i386" in the log, confirming that silc-
client is trying to build universal, though we did not request it and
though the portfile explicitly disables it. It is inheriting these arch
flags from perl5.8's configure script. This is why the arch flags must be
removed from the files perl5.8 installs. If individual p5 modules then
have trouble building universal, we can address those issues in those
portfiles, but I do not anticipate any such issues.
--
Ticket URL: <http://trac.macports.org/ticket/24779#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list