GNU bug report logs - #64026
[PATCH] gnu: maven-model-builder@3.0: Fix build.

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Mon, 12 Jun 2023 18:44:01 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: bug#64026: closed (Re: bug#64026: [PATCH] gnu: maven-model-builder <at> 3.0:
 Fix build.)
Date: Wed, 21 Jun 2023 04:21:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#64026: [PATCH] gnu: maven-model-builder <at> 3.0: Fix build.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 64026 <at> debbugs.gnu.org.

-- 
64026: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64026
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>,
 Julien Lepiller <julien <at> lepiller.eu>, 64026-done <at> debbugs.gnu.org
Subject: Re: bug#64026: [PATCH] gnu: maven-model-builder <at> 3.0: Fix build.
Date: Wed, 21 Jun 2023 06:20:23 +0200
Am Dienstag, dem 20.06.2023 um 23:47 +0200 schrieb Ludovic Courtès:
> Liliana Marie Prikler <liliana.prikler <at> gmail.com> skribis:
> 
> > * gnu/packages/maven.scm (maven-3.0-model-builder)[#:phases]: Add
> > ‘add-components-shebang’.
> 
> Hi!  Go for it!
Already did, but apparently forgot to mark as done.
Other maven-3.0 packages seem to have the same issue, however.

Cheers

[Message part 3 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: maven-model-builder <at> 3.0: Fix build.
Date: Mon, 12 Jun 2023 20:23:31 +0200
* gnu/packages/maven.scm (maven-3.0-model-builder)[#:phases]: Add
‘add-components-shebang’.
---
 gnu/packages/maven.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index a805bda8e5..dc25f7640e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2424,6 +2424,10 @@ (define-public maven-3.0-model-builder
       (substitute-keyword-arguments (package-arguments maven-model-builder)
         ((#:phases phases)
          `(modify-phases ,phases
+            (add-after 'unpack 'add-components-shebang
+              (lambda _
+                (substitute* "components.sh"
+                  (("^## T") "#!/bin/sh\n## T"))))
             (add-before 'build 'generate-components.xml
               (lambda _
                 (mkdir-p "build/classes/META-INF/plexus")

base-commit: 3fc26c6dc4b6bbf558a17b5e3ef8092ea0eeeacd
-- 
2.40.1




This bug report was last modified 1 year and 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.