Bug#1010875: ust: Bogus Build-Dependency makes package BD-Uninstallable on hppa

2022-10-08 Thread John David Anglin

I believe the attached change fixes the BD-Uninstallable issue on hppa.  The 
problem is the nojava
profile is not considered in determining build dependencies.  It is only 
checked at build time.

Regards,
Dave Anglin

--
John David Anglin  dave.ang...@bell.net
--- control.save2022-10-08 15:17:22.584793346 +
+++ control 2022-10-08 15:25:28.799377710 +
@@ -3,11 +3,11 @@
 Maintainer: Jon Bernard 
 Uploaders: Michael Jeanson 
 Build-Depends: debhelper-compat (= 12),
-  default-jdk  | default-jdk-headless ,
+  default-jdk [!hppa]  | default-jdk-headless [!hppa] ,
   dh-python,
   dpkg-dev (>= 1.16.1),
-  javahelper ,
-  liblog4j1.2-java ,
+  javahelper [!hppa] ,
+  liblog4j1.2-java [!hppa] ,
   libnuma-dev,
   liburcu-dev (>= 0.12~),
   pkg-config,


Bug#1010875: ust: Bogus Build-Dependency makes package BD-Uninstallable on hppa

2022-10-06 Thread John David Anglin
Source: ust
Version: 2.13.4-1
Followup-For: Bug #1010875

Dear Maintainer,

Changing the control file to use "" instead of ""
resolves the dependency problem on hppa.

Regards,
Dave Anglin

-- System Information:
Debian Release: bookworm/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 5.19.14+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)



Bug#1010875: ust: Bogus Build-Dependency makes package BD-Uninstallable on hppa

2022-05-11 Thread John Paul Adrian Glaubitz
Source: ust
Version: 2.13.2-1
Severity: normal
User: debian-h...@lists.debian.org
Usertags: hppa
X-Debbugs-Cc: debian-h...@lists.debian.org

Hello!

The package currently uses "" for disabling Java build dependencies
in debian/control [1]. However, this does not work as expected and makes the
package BD-Uninstallable on hppa [2].

The reason why it doesn't work as-is is because the buildds don't use any build
profiles. The proper way to do it would be to add "[!hppa]" to each Java build
dependency next to the "".

Thanks,
Adrian

> [1] https://salsa.debian.org/debian/ust/-/blob/debian/sid/debian/control
> [2] https://buildd.debian.org/status/package.php?p=ust=sid

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913