[MacPorts] #60037: pdftk @2.02: does not build on macOS 10.15.3
MacPorts
noreply at macports.org
Tue May 12 03:16:03 UTC 2020
#60037: pdftk @2.02: does not build on macOS 10.15.3
------------------------+------------------------
Reporter: jbouttier | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: pdftk |
------------------------+------------------------
Comment (by ryandesign):
The problem is that pdftk builds using gcj, the gcc java compiler. gcj was
apparently so buggy and apparently nobody involved with the gcc project
was able or willing to fix them that gcc removed gcj entirely. That's why
the pdftk port is stuck using the by-now very old gcc5 port, since that
old version still contains gcj. But unfortunately macOS evolves over time
and as we see gcc5's gcj no longer works at all on Catalina.
What we need is a way to build pdftk that does not require gcj. Here is
[https://forums.gentoo.org/viewtopic-t-1070648-start-0.html a Gentoo forum
thread about that topic]. The developer of pdftk was apparently working on
a gcj-free pdftk a few years ago, but no new version of pdftk has been
released.
The last information in that Gentoo thread is that someone else has done
the conversion and released [https://gitlab.com/pdftk-java/pdftk pdftk-
java]. We already have a port for this in MacPorts so maybe you can try
that and see if it's a suitable replacement. If you have any issues with
pdftk-java, you should file separate tickets about those to keep this
ticket focused on the original pdftk.
--
Ticket URL: <https://trac.macports.org/ticket/60037#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list