Source: subversion
Version: 1.14.2-1
Severity: important
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello,

Java support should be disabled on kfreebsd too

openjdk8 (the current default) is no available on that architecture for years 
(and openjdk11 is not even supported by the package)

The attached patch should(?) disable the java support

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru subversion-1.14.2/debian/control subversion-1.14.2/debian/control
--- subversion-1.14.2/debian/control    2022-04-12 14:38:19.000000000 +0200
+++ subversion-1.14.2/debian/control    2022-06-05 23:36:42.000000000 +0200
@@ -6,11 +6,11 @@
                bash-completion,
                chrpath,
                debhelper-compat (= 12),
-               default-jdk-headless (>= 2:1.8) [!hurd-i386 !hppa !sparc] 
<!pkg.subversion.nojava>,
+               default-jdk-headless (>= 2:1.8) [!hurd-i386 !hppa !sparc 
!kfreebsd-amd64 !kfreebsd-i386] <!pkg.subversion.nojava>,
                dh-apache2,
                dh-python,
                doxygen,
-               junit4 [!hurd-i386 !hppa !sparc] <!pkg.subversion.nojava>,
+               junit4 [!hurd-i386 !hppa !sparc !kfreebsd-amd64 !kfreebsd-i386] 
<!pkg.subversion.nojava>,
                libapr1-dev,
                libaprutil1-dev,
                libdb5.3-dev,
diff -Nru subversion-1.14.2/debian/rules subversion-1.14.2/debian/rules
--- subversion-1.14.2/debian/rules      2022-04-12 14:38:19.000000000 +0200
+++ subversion-1.14.2/debian/rules      2022-06-05 23:36:42.000000000 +0200
@@ -27,7 +27,7 @@
 # with DISABLE_JAVAHL_ARCHS.
 
 ENABLE_JAVAHL        = yes
-DISABLE_JAVAHL_ARCHS = hurd-i386 hppa sparc
+DISABLE_JAVAHL_ARCHS = hurd-i386 hppa sparc kfreebsd-amd64 kfreebsd-i386
 ifneq (,$(filter $(DEB_HOST_ARCH), $(DISABLE_JAVAHL_ARCHS)))
   ENABLE_JAVAHL =
 endif

Reply via email to