Hi Andreas, Le 18/10/2023 à 18:48, Andreas Tille a écrit :
Hi Pierre (or whoever wants to take this task),I tried to upgrade bbmap but failed[1]. I stumbled upon the line: jh_build: error: find current -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/mpi.jar:debian/_jh_build.bbmap -d debian/_jh_build.bbmap -encoding ISO8859-1 -source 7 -target 7 returned exit code 123 since we should probably have "-source 8 -target 8" instead but I have not found any string '-source' inside the source tarball. So may be here is some magic in the Jave build process. I can only guess whether those build errors might vanish if source/target=8 is used and would be really happy if someone with Java experience could have a look on this possibly simple issue.
Thanks for drawing my attention on this. In fact the issues were few lines before the quoted part, there were 4 calls to non existing methods or fields in Java classes. I guess upstream does not see this because they have an ad-hoc build script which probably does not compile all classes. So it is likely there is some vintage code here, that could be removed. I opened a ticket on the page of BBmap to say so and I uploaded the Debian package with some fixes to correct the 4 errors!
Kind regards Andreas. [1] https://salsa.debian.org/med-team/bbmap/-/jobs/4824812
Best, -- Pierre
OpenPGP_signature.asc
Description: OpenPGP digital signature