#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by jasper@…): I'm still inclined to judge that #30299 is a duplicate of this one. I've applied manually the patch to Makefile.OSX-10.6 and next run the make script, and it starts out saying: {{{ mycomp:pdftk jasper$ make -f Makefile.OSX-10.6 VERSUFF=-mp-4.5 make -f Makefile -iC ../java all /opt/local/bin/gcj-mp-4.5 -Wall -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/opt/local/share/gcc-4.5/java/libgcj- tools-4.5.3.jar:/Users/jasper/Projects/pdftk-1.44-dist/java:." -C com/lowagie/text/Anchor.java gcj-mp-4.5: Internal error: Abort trap: 6 (program ecj1) Please submit a full bug report. See <http://gcc.gnu.org/bugs.html> for instructions. }}} And it goes on like that for each and every java file it has to compile (with varying error messages: Abort trap or Illegal instruction; but nothing gets compiled). After it iterated over all java files, it fails to bundle them in java_lib.jar (because there's nothing to bundle). And only then does the make script run finally aground when it tries to build an object file out from java_lib.jar: {{{ /opt/local/bin/gcj-mp-4.5 -Wall -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/opt/local/share/gcc-4.5/java/libgcj- tools-4.5.3.jar:/Users/jasper/Projects/pdftk-1.44-dist/java:." -c java_lib.jar gcj-mp-4.5: java_lib.jar: No such file or directory gcj-mp-4.5: no input files make[1]: [java_lib.o] Error 1 (ignored) make: *** No rule to make target `../java/java_lib.o', needed by `pdftk.o'. Stop. }}} It seems to me that the problem is with gcj 4.5. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS