#32382: pdftk fails to build ------------------------------------+--------------------------------------- Reporter: Sam.Halliday@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ------------------------------------+--------------------------------------- pdftk currently fails to build, full log file attached but the nub of it seems to be this error :info:build /opt/local/bin/gcj-mp-4.5 -Wall -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/opt/local/share/java/libgcj-4.5.3.jar:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pdftk/pdftk/work/pdftk-1.44-dist/java:." -C com/lowagie/text/Anchor.java :info:build Exception in thread "main" java.lang.ClassFormatError: org.eclipse.jdt.internal.compiler.Compiler (erroneous constant pool tag) :info:build at java.lang.VMClassLoader.defineClass(libgcj.11.dylib) :info:build at java.lang.ClassLoader.defineClass(libgcj.11.dylib) :info:build at java.security.SecureClassLoader.defineClass(libgcj.11.dylib) :info:build at java.net.URLClassLoader.findClass(libgcj.11.dylib) :info:build at java.lang.ClassLoader.loadClass(libgcj.11.dylib) :info:build at java.lang.ClassLoader.loadClass(libgcj.11.dylib) :info:build at org.eclipse.jdt.internal.compiler.impl.CompilerOptions.resetDefaults(CompilerOptions.java:963) :info:build at org.eclipse.jdt.internal.compiler.impl.CompilerOptions.<init>(CompilerOptions.java:371) :info:build at org.eclipse.jdt.internal.compiler.impl.CompilerOptions.<init>(CompilerOptions.java:363) :info:build at org.eclipse.jdt.internal.compiler.batch.Main.initialize(Main.java:3548) :info:build at org.eclipse.jdt.internal.compiler.batch.Main.<init>(Main.java:1435) :info:build at org.eclipse.jdt.internal.compiler.batch.Main.<init>(Main.java:1423) :info:build at org.eclipse.jdt.internal.compiler.batch.GCCMain.<init>(GCCMain.java:62) :info:build at org.eclipse.jdt.internal.compiler.batch.GCCMain.main(GCCMain.java:498) :info:build make[1]: [com/lowagie/text/Anchor.class] Error 1 (ignored) As an aside - why can't we just install as a standard Java app? gcc-java is a big load of epic failure. -- Ticket URL: <https://trac.macports.org/ticket/32382> MacPorts <http://www.macports.org/> Ports system for Mac OS