[MacPorts] #54374: texlive-bin @2017_0 won't build on PPC Leopard, Mac OS X 10.5.8, because other characters are expected
MacPorts
noreply at macports.org
Sat Jun 24 22:21:40 UTC 2017
#54374: texlive-bin @2017_0 won't build on PPC Leopard, Mac OS X 10.5.8, because
other characters are expected
--------------------------+----------------------
Reporter: ballapete | Owner: drkp
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: leopard
Port: texlive-bin |
--------------------------+----------------------
Comment (by kencu):
I think you're on the right track. When you see errors like this:
{{{
/opt/local/include/poppler/Stream.h:463: error: expected `;' before ‘void’
/opt/local/include/poppler/Stream.h:463: error: expected ‘;’ before
‘override’
/opt/local/include/poppler/Stream.h:464: error: expected ‘;’ before
‘override’
}}}
you can almost guarantee the compiler is too old, and doesn't speak the
current language. So your idea to use something newer, like gcc6, is right
on.
The `cxx11 1.1` portgroup is currently pretty messed up (i.e. useless) on
10.5 PPC. It has to be fixed to work properly on that system. At present,
it will lead you towards installing clang-4.0, and that's a dead end on
PPC, as you found out. So for the moment, on PPC, you can delete that I
guess.
The real question is why your `configure.compiler=macports-gcc-6` was
ignored by texlive-bin. It seems to have not seen that at all:
{{{
CC='/usr/bin/gcc-4.2'
}}}
That should not happen. Maybe delete the `cxx11 1.1` portgroup, and try it
again, because that should work. Although I see in the `textlive-bin`
Portfile there are some additional unusual shenanigans that could possibly
be relevant to this:
{{{
# work around bug in texlive makefiles where $OBJC is not recorded
# during configure phase
build.env OBJC=${configure.objc} \
OBJCFLAGS="${configure.objcflags}
[get_canonical_archflags objc]" \
OBJCXX=${configure.objcxx}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54374#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list