Bug#1109751: apache-log4j2: Exclude Build-Depends: groovy

Bastian Germann bage at debian.org
Wed Jul 23 08:53:14 BST 2025


Source: apache-log4j2
Version: 2.19.0-2
Severity: wishlist
Tags: patch

groovy is not used during the build. Its Debian package is very outdated
and your package makes it a key package. Please consider dropping it
from the Build-Depends. I am including a patch with the suggested
change.

-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.87.2-microsoft-standard-WSL2 (SMP w/22 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
diff -Nru apache-log4j2-2.19.0/debian/changelog apache-log4j2-2.19.0/debian/changelog
--- apache-log4j2-2.19.0/debian/changelog	2022-12-22 15:49:45.000000000 +0100
+++ apache-log4j2-2.19.0/debian/changelog	2025-07-23 08:44:39.000000000 +0200
@@ -1,3 +1,10 @@
+apache-log4j2 (2.19.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Ignore groovy dependency.
+
+ -- Bastian Germann <bage at debian.org>  Wed, 23 Jul 2025 08:44:39 +0200
+
 apache-log4j2 (2.19.0-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru apache-log4j2-2.19.0/debian/control apache-log4j2-2.19.0/debian/control
--- apache-log4j2-2.19.0/debian/control	2022-12-22 15:49:45.000000000 +0100
+++ apache-log4j2-2.19.0/debian/control	2022-12-22 15:49:45.000000000 +0100
@@ -6,7 +6,6 @@
 Build-Depends:
  debhelper-compat (= 13),
  default-jdk,
- groovy,
  libapache-pom-java (>= 10),
  libbsh-java,
  libbuild-helper-maven-plugin-java,
diff -Nru apache-log4j2-2.19.0/debian/maven.ignoreRules apache-log4j2-2.19.0/debian/maven.ignoreRules
--- apache-log4j2-2.19.0/debian/maven.ignoreRules	2022-12-22 15:49:45.000000000 +0100
+++ apache-log4j2-2.19.0/debian/maven.ignoreRules	2025-07-23 08:44:39.000000000 +0200
@@ -40,6 +40,7 @@
 org.apache.maven.wagon wagon-ssh * * * *
 org.apache.rat apache-rat-plugin * * * *
 org.apache.velocity velocity * * * *
+org.codehaus.groovy groovy-jsr223 * * * *
 org.codehaus.groovy groovy-dateutil * * * *
 org.codehaus.mojo clirr-maven-plugin * * * *
 org.codehaus.mojo cobertura-maven-plugin * * * *


More information about the pkg-java-maintainers mailing list