[MacPorts] #59134: pdftk is using libstdc++ (this installation is configured to use libc++) (again)

MacPorts noreply at macports.org
Sat Jan 16 20:25:08 UTC 2021


#59134: pdftk is using libstdc++ (this installation is configured to use libc++)
(again)
-----------------------------+------------------------
  Reporter:  jacobakkerboom  |      Owner:  ryandesign
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  pdftk           |
-----------------------------+------------------------

Comment (by RobK88):

 I have the same problem trying to install pdftk on my old Mac running Lion
 (10.7.5) using Macports 2.6.4.

 When I edited the portfile by adding "configure.cxx_stdlib macports-
 libstdc++" as suggested above, pdftk was built and installed without any
 issues.

 {{{
 bash-3.2$ sudo port install pdftk
 --->  Computing dependencies for pdftk
 --->  Fetching distfiles for pdftk
 --->  Verifying checksums for pdftk
 --->  Extracting pdftk
 --->  Applying patches to pdftk
 --->  Configuring pdftk
 --->  Building pdftk
 --->  Staging pdftk into destroot
 --->  Installing pdftk @2.02_0+gcc5
 --->  Activating pdftk @2.02_0+gcc5
 --->  Cleaning pdftk
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 bash-3.2$
 bash-3.2$ pdftk --version

 pdftk 2.02 a Handy Tool for Manipulating PDF Documents
 Copyright (c) 2003-13 Steward and Lee, LLC - Please Visit: www.pdftk.com
 This is free software; see the source code for copying conditions. There
 is
 NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 bash-3.2$
 }}}

 Someone should update the portfile or delete this port altogether.  Most
 Linux distros (like Debian) seem to be using pdftk-java these days in lieu
 of pdftk.

 FYI -- There are subtle differences between pdftk and pdftk-java.  From
 the pdftk-java website:


 {{{
 The following differences with respect to the original version of
 pdftk are intended. Issue reports about other differences are welcome
 (when in doubt, open an issue).

 Does not ask for owner password if not needed.
 Does not report some structure-only form fields.
 Reports some missing values in multi-valued form fields.
 Does not escape form fields if UTF-8 output is selected.
 Report entries may be in a different order.
 Reports annotations other than links.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59134#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list