[MacPorts] #57606: nss @3.40 does not build on PPC Tiger, Mac OS X 10.4.11, with HFSX because 'for' loop initial declaration used outside C99 mode
MacPorts
noreply at macports.org
Thu Nov 15 19:39:19 UTC 2018
#57606: nss @3.40 does not build on PPC Tiger, Mac OS X 10.4.11, with HFSX because
'for' loop initial declaration used outside C99 mode
------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: tiger
Port: nss |
------------------------+--------------------
Comment (by kencu):
The `nss` Portfile contains this block, which doesn't really work for the
gcc-built software using gcc6:
{{{
# blacklist old compilers that don't understand -std=c++0x
# to fix build on 10.6 and earlier
# https://trac.macports.org/ticket/51196
compiler.blacklist *gcc* {clang < 300}
}}}
This should be upgraded to something more current, but I wouldn't bother
as we have an impending extensive update to compiler selection in the
pipeline that will soon make a lot of this (all of this?) obsolete
<https://github.com/macports/macports-base/pull/88>.
So for today, just replace that line on Tiger/Leopard PPC with
PortGroup cxx11 1.1
and you're done for now.
{{{
$ port -v installed nss
The following ports are currently installed:
nss @3.40_0 (active) platform='darwin 8' archs='ppc'
date='2018-11-15T11:19:16-0800'
}}}
It can be looked at again someday when the compiler selection logic is
committed
--
Ticket URL: <https://trac.macports.org/ticket/57606#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list