Subject: [PATCH v2] gnu: Fix java-jaxen.

From: Hartmut Goebel <[email-masked]>
Date: Wed, 20 Nov 2024 00:52:49 +0100

java-jaxen was missing the dom4j and xom sub-packages. This was caused by
java-jaxen-bootstrap deleting the respective directories (which is okay) and
java-javen not removing the phase that does this.

Solve this by removing the #:phases argument for java-jaxen and thus make guix
use the default phases.

* gnu/packages/java-xml.scm (java-jaxen)[arguments]: Remove #:phases.
, making
---
 gnu/packages/java-xml.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm
index 9ec11fa83e..0153e26ef8 100644
--- a/gnu/packages/java-xml.scm
+++ b/gnu/packages/java-xml.scm
@@ -241,6 +241,10 @@ (define-public java-jaxen
   (package
     (inherit java-jaxen-bootstrap)
     (name "java-jaxen")
+    (arguments
+     (strip-keyword-arguments
+      '(#:phases)  ;; remove any phases added by java-jaxen-bootstrap
+      (package-arguments java-jaxen-bootstrap)))
     (inputs
      (list java-jdom java-xom java-dom4j))))

base-commit: 33665c52c4670bc3b4d337c89ac9cc6c4c69b26f
-- 
2.41.1