GNU bug report logs - #38321
[PATCH] gnu: jamvm-1-bootstrap: Remove precompiled blob.

Previous Next

Package: guix-patches;

Reported by: Andrius Štikonas <andrius <at> stikonas.eu>

Date: Fri, 22 Nov 2019 10:27:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38321 in the body.
You can then email your comments to 38321 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38321; Package guix-patches. (Fri, 22 Nov 2019 10:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrius Štikonas <andrius <at> stikonas.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 22 Nov 2019 10:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrius Štikonas <andrius <at> stikonas.eu>
To: guix-patches <at> gnu.org,
	rekado <at> elephly.net
Cc: Andrius Štikonas <andrius <at> stikonas.eu>
Subject: [PATCH] gnu: jamvm-1-bootstrap: Remove precompiled blob.
Date: Fri, 22 Nov 2019 12:26:06 +0200
* gnu/packages/java.scm (jamvm-1-bootstrap): Remove prebuilt lib/classes.zip
---
 gnu/packages/java.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 65f8d6aa77..013faa2f48 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -192,7 +192,11 @@ language.")
               (patches (search-patches "jamvm-arm.patch"))
               (sha256
                (base32
-                "06lhi03l3b0h48pc7x58bk9my2nrcf1flpmglvys3wyad6yraf36"))))
+                "06lhi03l3b0h48pc7x58bk9my2nrcf1flpmglvys3wyad6yraf36"))
+              (snippet '(begin
+                          ;; Remove precompiled software.
+                          (delete-file "lib/classes.zip")
+                          #t))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -205,6 +209,7 @@ language.")
      `(("classpath" ,classpath-bootstrap)
        ("jikes" ,jikes)
        ("libffi" ,libffi)
+       ("zip" ,zip)
        ("zlib" ,zlib)))
     ;; When built with a recent GCC and glibc the configure step of icedtea-6
     ;; fails with an invalid instruction error.
-- 
2.24.0





Information forwarded to guix-patches <at> gnu.org:
bug#38321; Package guix-patches. (Fri, 22 Nov 2019 11:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 38321 <at> debbugs.gnu.org (full text, mbox):

From: Andrius Štikonas <andrius <at> stikonas.eu>
To: 38321 <at> debbugs.gnu.org
Cc: Andrius Štikonas <andrius <at> stikonas.eu>
Subject: [PATCH] gnu: java: Remove precompiled blobs.
Date: Fri, 22 Nov 2019 13:07:47 +0200
* gnu/packages/java.scm (jamvm-1-bootstrap): Remove prebuilt classes.zip
* gnu/packages/java.scm (jamvm): Remove prebuilt classes.zip
---
 gnu/packages/java.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 65f8d6aa77..0ccefb19a1 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -192,7 +192,11 @@ language.")
               (patches (search-patches "jamvm-arm.patch"))
               (sha256
                (base32
-                "06lhi03l3b0h48pc7x58bk9my2nrcf1flpmglvys3wyad6yraf36"))))
+                "06lhi03l3b0h48pc7x58bk9my2nrcf1flpmglvys3wyad6yraf36"))
+              (snippet '(begin
+                          ;; Remove precompiled software.
+                          (delete-file "lib/classes.zip")
+                          #t))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -205,6 +209,7 @@ language.")
      `(("classpath" ,classpath-bootstrap)
        ("jikes" ,jikes)
        ("libffi" ,libffi)
+       ("zip" ,zip)
        ("zlib" ,zlib)))
     ;; When built with a recent GCC and glibc the configure step of icedtea-6
     ;; fails with an invalid instruction error.
@@ -659,7 +664,11 @@ machine.")))
                                   version ".tar.gz"))
               (sha256
                (base32
-                "1nl0zxz8y5x8gwsrm7n32bry4dx8x70p8z3s9jbdvs8avyb8whkn"))))
+                "1nl0zxz8y5x8gwsrm7n32bry4dx8x70p8z3s9jbdvs8avyb8whkn"))
+              (snippet '(begin
+                          ;; Remove precompiled software.
+                          (delete-file "src/classlib/gnuclasspath/lib/classes.zip")
+                          #t))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -668,6 +677,7 @@ machine.")))
     (inputs
      `(("classpath" ,classpath-devel)
        ("ecj-javac-wrapper" ,ecj-javac-wrapper)
+       ("zip" ,zip)
        ("zlib" ,zlib)))))
 
 (define ecj-javac-wrapper-final
-- 
2.23.0





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Thu, 28 Nov 2019 16:14:01 GMT) Full text and rfc822 format available.

Notification sent to Andrius Štikonas <andrius <at> stikonas.eu>:
bug acknowledged by developer. (Thu, 28 Nov 2019 16:14:02 GMT) Full text and rfc822 format available.

Message #13 received at 38321-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Andrius Štikonas <andrius <at> stikonas.eu>
Cc: 38321-done <at> debbugs.gnu.org
Subject: Re: [bug#38321] [PATCH] gnu: java: Remove precompiled blobs.
Date: Thu, 28 Nov 2019 17:13:12 +0100
Hi Andrius,

> * gnu/packages/java.scm (jamvm-1-bootstrap): Remove prebuilt classes.zip
> * gnu/packages/java.scm (jamvm): Remove prebuilt classes.zip

Thank you for noticing this problem.  I applied your patch on the
“staging” branch with commit cff1e09504.

-- 
Ricardo





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 27 Dec 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 120 days ago.

Previous Next


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