[MacPorts] #56729: poppler @0.65.0 does not build on PPC Tiger, Mac OS X 10.4.11, with cmake @3.9.6 because -rpath issue
MacPorts
noreply at macports.org
Mon Jul 2 03:00:39 UTC 2018
#56729: poppler @0.65.0 does not build on PPC Tiger, Mac OS X 10.4.11, with cmake
@3.9.6 because -rpath issue
------------------------+----------------------
Reporter: ballapete | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Resolution: | Keywords: tiger
Port: poppler |
------------------------+----------------------
Comment (by kencu):
It didn't build for me on 10.4 PPC.
The problem is in a file called
{{{
${prefix}/lib/gobject-introspection/giscanner/ccompiler.py
}}}
That file sets up the scanning of the libraries by `g-ir-scanner`, and
although I don't fully understand how the system all works, in there are
hardcoded `-rpath` settings. These fail on 10.4.
The only way around that I could come to was to edit that file and remove
the `-rpath` references. With 5 minutes work this actually worked fine,
and `poppler 0.65.0` installed without any trouble.
This is a bit ugly. It will likely not be easy to sell `Tiger` fixes
upstream. I can most likely make a patch for `Tiger` to fix the install of
`gobject-introspection` for us to use I think.
Maybe somebody has a better idea...
--
Ticket URL: <https://trac.macports.org/ticket/56729#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list