Bug#634089: jh_manifest causes CRC error

Benjamin Mesing bensmail at gmx.net
Sun Sep 4 18:50:59 UTC 2011


For the record here is the E-Mail traffic on Debian-Java list (it seems,
that there is a problem with jh_manifest)

----
>> Now, I can reproduce the error when doing the following:
>> * using debian/javabuild with:
>> javatut.jar src
>> * using debian/manifest with:
>> usr/share/javatut/javatut.jar:
>>  Main-Class: net.zabuchy.Main
>>
>> But as soon as I remove debian/javabuild and debian/manifest and
build
>> with debian/rules:
>> %:
>>   dh $@ --with javahelper
>>
>> override_dh_auto_build:
>>   jh_build -mnet.zabuchy.Main javatut.jar src
>>
>> everything works just fine. Any thoughts?
>>
>> Tomek
>>
>>
> 
> Does it come back if you use jh_manifest to set the main class?

Yes, jh_manifest is to blame:
% ./javatut.jar
Hello world
% jh_manifest -cnet.zabuchy.Main javatut.jar
% ./javatut.jar
Error! CRCs do not match! Got 1a6cd7b3, expected 0

Tomek
---







More information about the pkg-java-maintainers mailing list