[MacPorts] #32382: pdftk fails to build
#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
#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: ------------------------------------+--------------------------------------- Comment(by Sam.Halliday@…): Apologies, I should say: I am on OS X Lion and running latest macports +selfupdate. -- Ticket URL: <https://trac.macports.org/ticket/32382#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32382: pdftk fails to build -------------------------------------+-------------------------------------- Reporter: Sam.Halliday@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: lion Port: pdftk | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * keywords: => lion * resolution: => duplicate * port: => pdftk Old description:
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.
New description: 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. -- Comment: Please remember to use WikiFormatting, to fill in the Port field, and to Cc the maintainer of that port. And please search for duplicates before filing a new ticket. This is a duplicate of #30299.
why can't we just install as a standard Java app? gcc-java is a big load of epic failure.
I agree that gcc java has been problematic for pdftk (or perhaps pdftk is problematic for gcc java) but I was not aware of an alternative. What alternative are you suggesting? What does it mean to you to "install as a standard Java app"? -- Ticket URL: <https://trac.macports.org/ticket/32382#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts