Package: gprofng-gui Version: 1:2.1-1 Followup-For: Bug #1110785 User: [email protected] Usertags: origin-ubuntu questing ubuntu-patch Control: tags -1 patch ftbfs
Dear Maintainers, The ftbfs was causing by listing same directory twice in the jar file arguments. Jar does not deduplicate input files and this causes the error. As the jar file should contain only class files in addition to the properties and icons, we can pass GPROFNG_CLASSES instead of the root directory. I have built the package in the ppa[1] and did a basic test (start/open about dialog). Would it be possible to consider the attached patch to resolve the ftbfs? Best Regards, Vlaimir. [1] https://launchpad.net/~vpa1977/+archive/ubuntu/plusone2/+sourcepub/17506444/+listing- archive-extra [2] https://savannah.gnu.org/bugs/?group=gprofng-gui -- System Information: Debian Release: trixie/sid APT prefers plucky-updates APT policy: (500, 'plucky-updates'), (500, 'plucky-security'), (500, 'plucky') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.14.0-27-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
diff -Nru gprofng-gui-2.1/debian/patches/do_not_add_duplicate_files.patch gprofng-gui-2.1/debian/patches/do_not_add_duplicate_files.patch --- gprofng-gui-2.1/debian/patches/do_not_add_duplicate_files.patch 1970-01-01 12:00:00.000000000 +1200 +++ gprofng-gui-2.1/debian/patches/do_not_add_duplicate_files.patch 2025-08-18 17:25:35.000000000 +1200 @@ -0,0 +1,22 @@ +Description: do not add duplicate files to the jar + Makefile lists MPMT_PROPERTIES, MPMT_DIR and $(MPMT_DIR)/icons + as jar file arguments. Jar does not deduplicate input and tries to add + the files twice, causing the exception. + Explicitly add only class files instead of the MPMT_DIR. +Author: Vladimir Petko <[email protected]> +Bug: https://savannah.gnu.org/bugs/index.php?67439 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110785 +Last-Update: 2025-08-18 + +--- a/Makefile.am ++++ b/Makefile.am +@@ -603,8 +603,7 @@ + $(MPMT_PROPERTIES) $(ICONS:%=$(srcdir)/%) + $(AM_V_GEN)rm -f $(GPROFNG_CLASSES) + $(AM_V_at)$(JAVAC) -cp $(srcdir) $(JAVAC_FLAGS) -d . $(srcdir)/$(MPMT_DIR)/Analyzer.java +- $(AM_V_at)$(JAR) $(JAR_FLAGS) $@ $(anmodule_MF) $(MPMT_PROPERTIES) $(MPMT_DIR) \ +- -C $(srcdir) $(MPMT_DIR)/icons ++ $(AM_V_at)$(JAR) $(JAR_FLAGS) $@ $(anmodule_MF) $(MPMT_PROPERTIES) -C $(srcdir) $(MPMT_DIR)/icons $(GPROFNG_CLASSES) + + # + # Standalone gprofng GUI diff -Nru gprofng-gui-2.1/debian/patches/series gprofng-gui-2.1/debian/patches/series --- gprofng-gui-2.1/debian/patches/series 1970-01-01 12:00:00.000000000 +1200 +++ gprofng-gui-2.1/debian/patches/series 2025-08-18 17:25:35.000000000 +1200 @@ -0,0 +1 @@ +do_not_add_duplicate_files.patch

