[MacPorts] #60037: pdftk @2.02: does not build on macOS 10.15.3

MacPorts noreply at macports.org
Thu Feb 13 16:08:17 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 NF6X):

 The pdftk @2.02 build also fails for me under macOS 10.14.6. In my case,
 the error returned is ''fatal error: string.h: No such file or
 directory'':

 {{{
 [...]
 :info:build /opt/local/bin/g++-mp-5 -DPATH_DELIM=0x2f
 -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
 -DPDFTK_VER=\"2.02\" -Wall -Wextra -Weffc++ -O2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pdftk/pdftk/work/pdftk-2.02-dist/pdftk/../java
 pdftk.cc -c
 :info:build In file included from pdftk.cc:33:0:
 :info:build /opt/local/include/gcc5/c++/gcj/cni.h:22:20: fatal error:
 string.h: No such file or directory
 :info:build compilation terminated.
 :info:build make: *** [pdftk.o] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pdftk/pdftk/work/pdftk-2.02-dist/pdftk'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pdftk/pdftk/work/pdftk-2.02-dist/pdftk"
 && /usr/bin/make -w all -f Makefile.OSX-10.6 VERSUFF=-mp-5
 :info:build Exit code: 2
 :error:build Failed to build pdftk: command execution failed
 :debug:build Error code: CHILDSTATUS 32794 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pdftk/pdftk/main.log
 for details.
 }}}

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


More information about the macports-tickets mailing list