Package: pdftk
Version: 1.40-2
Severity: serious
Justification: no longer builds from source

Hi,

I don't know whose bug this is, pdftk's (by possibly setting wrong
classpath? I don't know) or gcj's or what, but anyway, for me pdftk
doesn't build:

------------------------------------------------------------
$ dpkg-buildpackage -rfakeroot
[...]
make[3]: Entering directory 
`/home/sliedes/sij/vero/pdftk/o/pdftk-1.40/java_libs/gnu_local/java/security'
gcj-4.1 -O2 --encoding=UTF-8 
--classpath="/home/sliedes/sij/vero/pdftk/o/pdftk-1.40/java_libs" -c 
Engine.java -o Engine.o
Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) 
belongs to the raw type Class. References to generic type Class<T> should be 
parameterized
        !argTypes[j].isAssignableFrom(initArgs[j].getClass()))
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1 problem (1 warning)
ar rs security.a  Engine.o;
ar: creating security.a
gcj-4.1 -O2 --encoding=UTF-8 
--classpath="/home/sliedes/sij/vero/pdftk/o/pdftk-1.40/java_libs" -C Engine.java
Engine.java:226: warning: Type safety: The method isAssignableFrom(Class) 
belongs to the raw type Class. References to generic type Class<T> should be 
parameterized
        !argTypes[j].isAssignableFrom(initArgs[j].getClass()))
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1 problem (1 warning)
gcjh-4.1 --classpath="." Engine;
Exception in thread "main" java.io.IOException: can't find class file 
java/lang/Object.class in 
java.net.URLClassLoader{urls=[file:/home/sliedes/sij/vero/pdftk/o/pdftk-1.40/java_libs/gnu_local/java/security/./,file:/usr/lib/jvm/java-1.5.0-gcj-4.1-1.5.0.0/jre/lib/rt.jar],
 parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
   at gnu.classpath.tools.javah.Main.getClass(libgcj-tools.so.71)
   at gnu.classpath.tools.javah.ClassWrapper.linkSupers(libgcj-tools.so.71)
   at gnu.classpath.tools.javah.ClassWrapper.printFully(libgcj-tools.so.71)
   at gnu.classpath.tools.javah.CniIncludePrinter.printClass(libgcj-tools.so.71)
   at gnu.classpath.tools.javah.Main.writeHeaders(libgcj-tools.so.71)
   at gnu.classpath.tools.javah.Main.run(libgcj-tools.so.71)
   at gnu.classpath.tools.javah.GcjhMain.main(libgcj-tools.so.71)
make[3]: *** [Engine.h] Error 1
rm Engine.class
make[3]: Leaving directory 
`/home/sliedes/sij/vero/pdftk/o/pdftk-1.40/java_libs/gnu_local/java/security'
make[2]: *** [libgcj_local] Error 2
make[2]: Leaving directory `/home/sliedes/sij/vero/pdftk/o/pdftk-1.40/java_libs'
make[1]: *** [java_libs] Error 2
make[1]: Leaving directory `/home/sliedes/sij/vero/pdftk/o/pdftk-1.40/pdftk'
make: *** [build-stamp] Error 2
------------------------------------------------------------

------------------------------------------------------------
$ dpkg -l debhelper gcj-4.1 g++-4.1 gcc-4.1 libgcj7-jar ecj java-common \
        libgcj-bc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  debhelper      5.0.49         helper programs for debian/rules
ii  ecj            3.2.2-1        standalone version of the Eclipse Java compi
ii  g++-4.1        4.1.2-4        The GNU C++ compiler
ii  gcc-4.1        4.1.2-4        The GNU C compiler
ii  gcj-4.1        4.1.2-4        The GNU compiler for Java(TM)
ii  java-common    0.25           Base of all Java packages
ii  libgcj-bc      4.1.2-2        Link time only library for use with gcj
ii  libgcj7-jar    4.1.2-4        Java runtime library for use with gcj (jar f
------------------------------------------------------------

        Sami


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20.4-grsec-sli
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages pdftk depends on:
ii  libc6                         2.5-4      GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.2-4  GCC support library
ii  libgcj7-0                     4.1.1-20   Java runtime library for use with 
ii  libstdc++6                    4.1.2-4    The GNU Standard C++ Library v3

pdftk recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to