guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit d499d9b3b1c7f4c9265915e5fb3b5ded0a67efc0
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Fri Aug 28 09:15:51 2026 +0900

    gnu: openjdk11: Reinstate parallel builds.
    
    * gnu/packages/java.scm (openjdk11) [#:parallel-build?]: Delete, along
    erroneous comment, reworded and place above the package definition.
    * gnu/packages/java.scm (openjdk12): Likewise.
---
 gnu/packages/java.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8e1d73a5fdb..dda59eed983 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1306,6 +1306,9 @@ new Date();"))))
            which
            zip))))
 
+;;; Note: The build of openjdk11 fails half of the time with a
+;;; ConcurrentModificationException error, whether building in parallel or not
+;;; (see: <https://codeberg.org/guix/guix/issues/10850>).
 (define-public openjdk11
   (package
     (name "openjdk")
@@ -1333,8 +1336,6 @@ new Date();"))))
     (outputs '("out" "jdk" "doc"))
     (arguments
      (list
-      ;; Prevent a java.util.ConcurrentModificationException.
-      #:parallel-build? #f
       #:modules `((guix build gnu-build-system)
                   (guix build utils)
                   (ice-9 match)
@@ -1655,8 +1656,6 @@ new Date();"))))
       (patches (search-patches "openjdk-10-setsignalhandler.patch"))))
    (arguments
     (substitute-keyword-arguments (package-arguments openjdk11)
-      ;; Re-enable parallel build.
-      ((#:parallel-build? _ #t) #t)
       ((#:phases phases)
        #~(modify-phases #$phases
            #$@(if (target-aarch64?)

Reply via email to