Skip to content

5.0.1: java binding build fails with zip END header not found #2187

Open
@kloczek

Description

I cannot diagnose this issue.
May I ask for some help? 🤔

+ /usr/bin/make -O -j48 V=1 VERBOSE=1 PYTHON2=/usr/bin/python3 CFLAGS=CFLAGS
cd ../ && /usr/bin/python3 const_generator.py java
Generating bindings for java
Generating bindings for java
cd capstone && javac -classpath /usr/share/java/jna.jar Capstone.java Arm_const.java Arm64_const.java Mips_const.java X86_const.java Xcore_const.java Ppc_const.java Sparc_const.java Sysz_co
Note: Capstone.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
cd . && jar cf ./capstone.jar capstone/*.class
javac -d . -classpath "/usr/share/java/jna.jar:./capstone.jar" TestBasic.java\
        TestArm.java TestArm64.java TestMips.java TestX86.java TestXcore.java\
        TestPpc.java TestSparc.java TestSystemz.java TestM680x.java
error: error reading ./capstone.jar; zip END header not found
make: *** [Makefile:47: tests] Error 2

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working as it shouldbuild & packagingBuild system and packaging relatedjavabindings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions