[MacPorts] #16666: Update apple-gcc42 to rev 5564 and include c++ support
MacPorts
noreply at macports.org
Tue Feb 10 03:04:08 PST 2009
#16666: Update apple-gcc42 to rev 5564 and include c++ support
--------------------------------------------------+-------------------------
Reporter: illogical1@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: apple-gcc42 c++ inline-asm apple gcc | Port: apple-gcc42
--------------------------------------------------+-------------------------
Comment(by ryandesign@…):
Replying to [comment:19 illogic-al@…]:
> I have no idea what the changes upstream were made. All I know is bugs
were fixed and 5564 works better (as in, at all).
What I was trying to figure out was why your proposed portfile changes the
entire port -- changes how it builds, makes it build universal all the
time, causes it to violate the mtree, no longer appends the customary
suffix to the binaries -- when your original request was simply to enable
C++ support and to update to a newer version.
I think the universal support you've added is what's causing the port to
fail to build for me. I'm on Leopard on Intel but my universal_archs
contains all four architectures (i386 ppc x86_64 ppc64), and with your
[attachment:Portfile.3 Portfile.3] and [attachment:Portfile.4 Portfile.4]
I get the message:
{{{
/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_apple-
gcc42/work/gcc_42-5564/obj-i686-ppc64/./gcc/as: line 2: exec: ppc64: not
found
}}}
The full log is [attachment:apple-gcc42.txt.bz2 attached].
We should keep in mind that this is not our port. Although the maintainer
has not responded to this issue within the prescribed 72 hour period, we
should not take this to mean that we can completely rearrange his port.
I would like to scale back and make just a few precise changes to the
portfile, for which I'm attaching patches:
1. [attachment:apple-gcc42-ryandesign-livecheck.diff Change the
livecheck] to more reliably tell us when the version is out of date.
2. [attachment:apple-gcc42-ryandesign-5566.diff Update the version to
5566] which seems to be the latest now.
3. [attachment:apple-gcc42-ryandesign-cxx.diff Enable the C++ and
Objective C++ languages].
Do these meet your needs? I would be comfortable committing patches 1 and
2. Patch 3 I'm not comfortable committing without input from the
maintainer, because the portfile contains a note that enabling C++ causes
the build to fail, which I was not able to reproduce. So I would first
like to know under which circumstances or on what machines Marcus observed
the build to fail with C++ before we go enabling it.
--
Ticket URL: <http://trac.macports.org/ticket/16666#comment:24>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list