Re: Java help for bbmap needed
Pierre Gruet <[email protected]>
| Newsgroups | gmane.linux.debian.devel.medical |
|---|---|
| Message-ID | <[email protected]> |
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
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmUxls0ACgkQYAMWptwn dHbXiRAAkWdqYUPtewAzD/oUG7EQv/Uv+/2ZVh7SbRBAvuYcFKkOUgFcnd1DNM7l t7v4QKEjrCnc04hSb9y1BM1gESRfQJ66GncYymVNY9qmKSvFfJ5kJwwbyf2+tl/H 4eptvxSjdP0IqfAQPQ6NPJrCJLJXt1XINYrhrxITrd2S2haBoQXoqz8cWT2oYPYe GmxSkt/czIA5tY6qdXy4tp2Pg9R5iI2JqMrRggD/iMs3dZL8F2kdyIYrI1lcz5MA jrYRoDsy6SksQiJ4nJ7goQ64ex4kH++WbJmENbfYzhiKC9u/AJpPhsKvcWvF4kXh nFxevX+EWJyOPLQWnrw1PV5WaTveW8LJ2hhddLlZbxtx0RKxcsHXKKy+ABQhWrJB VHhJ+P4t3U5l5DViBLLmFgzLs6Xf4ZnShjOJ9PB4wYRWG4Z2lfMh6E4Y+hlUbeCh aFc6lj3kX8VLGSlla7g/9agWc1hASRh//xldyJLXuVaxJ2NZ64968gUY774bDz3h fECgxiTA4OgriicOqI2P2ooENkVlaMDNX+ZUyRX+Lbq/Fb3qYLo4bNfvtm9u+FTY PSoQ9Z4fbzzT69Cj6sGkLtIWnJvs5gIP8Tyxz3nBI23xpZFNjNiryImBv1mycLxl qt2stPGQFAVaATXKnnEuRFziI65gz7GmxE0HkZKnEafiEijy930= =kwB6 -----END PGP SIGNATURE-----