[MacPorts] #41275: nsis: build failure under 10.9
MacPorts
noreply at macports.org
Thu May 7 23:34:49 PDT 2015
#41275: nsis: build failure under 10.9
----------------------------------+-----------------------
Reporter: clemens.lanthaler@… | Owner: landonf@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: nsis |
----------------------------------+-----------------------
Comment (by steve+macports@…):
Hi, I just want to reiterate that if you only want to install the nsis
port without fiddling around with patches, it should be possible using the
following workaround:
1. Select a gcc port - anything other than "none" should work, but you are
likely to have apple-gcc42 already available from previous failed builds
of nsis. The idea is to change what scons finds when it calls out to gcc,
so PATH is important here too. By default it will find /usr/bin/gcc, ie
clang, which will fail on 10.9+.
{{{
$ sudo port select gcc apple-gcc42
}}}
2. Install nsis
{{{
$ sudo port clean nsis
$ sudo port install nsis
}}}
3. Optionally restore the selected gcc port, eg:
{{{
$ sudo port select gcc none
}}}
I'm glad to hear that the patches are working for someone else. The
patches to SConstruct have been accepted upstream, and the other bug has
been resolved such that nsis trunk now compiles with clang / libc++. That
one's not a simple backport though, so I stand by the currently attached
patches for nsis 2. When nsis 3 is released, with a bit of luck it will
be possible to simplify the port to build without any patchfiles or
compiler constraints.
--
Ticket URL: <https://trac.macports.org/ticket/41275#comment:13>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list