Opened 9 years ago

Closed 9 years ago

#32382 closed defect (duplicate)

pdftk fails to build

Reported by: Sam.Halliday@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion Cc: ryandesign (Ryan Schmidt)
Port: pdftk

Description (last modified by ryandesign (Ryan Schmidt))

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/
: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
:info:build    at
: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(
:info:build    at org.eclipse.jdt.internal.compiler.impl.CompilerOptions.<init>(
:info:build    at org.eclipse.jdt.internal.compiler.impl.CompilerOptions.<init>(
:info:build    at org.eclipse.jdt.internal.compiler.batch.Main.initialize(
:info:build    at org.eclipse.jdt.internal.compiler.batch.Main.<init>(
:info:build    at org.eclipse.jdt.internal.compiler.batch.Main.<init>(
:info:build    at org.eclipse.jdt.internal.compiler.batch.GCCMain.<init>(
:info:build    at org.eclipse.jdt.internal.compiler.batch.GCCMain.main(
: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.

Attachments (1)

main.log.gz (19.8 KB) - added by Sam.Halliday@… 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Sam.Halliday@…

Attachment: main.log.gz added

comment:1 in reply to:  description Changed 9 years ago by Sam.Halliday@…

Apologies, I should say: I am on OS X Lion and running latest macports +selfupdate.

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Keywords: lion added
Port: pdftk added
Resolution: duplicate
Status: newclosed

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"?

Note: See TracTickets for help on using tickets.