Bug#1064417: jansi1 misses actual jar with the library after rebuild

Vladimir Petko vpa1977 at gmail.com
Wed Feb 21 20:23:23 GMT 2024


Package: jansi1
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch

Dear Maintainer,

I apologise for sending this as a debdiff, since I think there is no branch for
jansi1 on salsa.

After maven-debian-helper changes to create a symlink to versioned jar instead
of vice-versa,
the actual jar is deleted during the package build.

This makes all gradle builds fail.

In Ubuntu, the attached patch was applied to achieve the following:

  * d/rules: do not delete versioned jar file (LP: #2054504).


Thanks for considering the patch.


-- System Information:
Debian Release: trixie/sid
  APT prefers mantic-updates
  APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic'), (100, 'mantic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-17-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru jansi1-1.18/debian/rules jansi1-1.18/debian/rules
--- jansi1-1.18/debian/rules	2022-05-15 03:36:17.000000000 +1200
+++ jansi1-1.18/debian/rules	2024-02-21 17:22:21.000000000 +1300
@@ -7,4 +7,3 @@
 	dh_auto_install
 	rm -Rf debian/libjansi1-java/usr/share/maven-repo/org/fusesource/jansi/jansi/1.18
 	rm -Rf debian/libjansi1-java/usr/share/maven-repo/org/fusesource/jansi/jansi-project/1.18
-	rm -Rf debian/libjansi1-java/usr/share/java/jansi1-1.18.jar


More information about the pkg-java-maintainers mailing list