Bug#738789: libhamcrest-java: FTBFS: bad class file: hamcrest-core-1.3.jar(org/hamcrest/Description.class)

Daniel Schepler dschepler at gmail.com
Wed Feb 12 22:46:39 UTC 2014


Source: libhamcrest-java
Version: 1.3-4
Severity: serious

>From my pbuilder build log:

...
library:
    [mkdir] Created dir:
/tmp/buildd/libhamcrest-java-1.3/build/temp/hamcrest-library/generated-code
    [mkdir] Created dir:
/tmp/buildd/libhamcrest-java-1.3/build/temp/hamcrest-library-1.3.jar.manifest
    [mkdir] Created dir:
/tmp/buildd/libhamcrest-java-1.3/build/temp/hamcrest-library-1.3.jar.contents
    [javac] Compiling 28 source files to
/tmp/buildd/libhamcrest-java-1.3/build/temp/hamcrest-library-1.3.jar.contents
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.5
    [javac] /tmp/buildd/libhamcrest-java-1.3/hamcrest-library/src/main/java/org/hamcrest/beans/HasProperty.java:5:
error: cannot access Description
    [javac] import org.hamcrest.Description;
    [javac]                    ^
    [javac]   bad class file:
/tmp/buildd/libhamcrest-java-1.3/build/hamcrest-core-1.3.jar(org/hamcrest/Description.class)
    [javac]     unable to access file: corrupted zip file
    [javac]     Please remove or make sure it appears in the correct
subdirectory of the classpath.

BUILD FAILED
/tmp/buildd/libhamcrest-java-1.3/build.xml:59: The following error
occurred while executing this line:
/tmp/buildd/libhamcrest-java-1.3/build.xml:290: Compile failed; see
the compiler error output for details.

Total time: 2 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the pkg-java-maintainers mailing list