all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bumping NodeJS from 18.19.0 to 20.0.0
@ 2024-05-16 18:39 Ashvith Shetty
  2024-05-16 18:43 ` Thompson, David
  0 siblings, 1 reply; 3+ messages in thread
From: Ashvith Shetty @ 2024-05-16 18:39 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 1032 bytes --]

Hello folks,
I've been trying to bump NodeJS to a newer version. My initial attempt was
to bump to 22.0.0, but since that would be a huge leap, and would
potentially require bumping other dependencies, I'm trying a smaller jump
to 20.0.0, without the need of having to create package variants. I will
attach the patch below, but that hasn't been successful so far. Here's the
trimmed build log:

```console
$ zcat
/var/log/guix/drvs/cw/ym532jrh5bcmqqfxgwlzr3h7aljhdx-node-20.0.0.drv.gz
...
Failed tests:
out/Release/node --experimental-permission --allow-fs-read=*
--allow-child-process
/tmp/guix-build-node-20.0.0.drv-0/node-v20.0.0/test/parallel/test-permission-fs-wildcard.js
make: *** [Makefile:535: test-ci-js] Error 1

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test-ci-js" "-j"
"8") exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 566.9 seconds
command "make" "test-ci-js" "-j" "8" failed with status 2
```

[-- Attachment #1.2: Type: text/html, Size: 1280 bytes --]

[-- Attachment #2: bump-to-node-20.patch --]
[-- Type: application/octet-stream, Size: 2218 bytes --]

diff --git a/gnu/packages/adns.scm b/gnu/packages/adns.scm
index bf07219d17..041c68e311 100644
--- a/gnu/packages/adns.scm
+++ b/gnu/packages/adns.scm
@@ -167,7 +167,7 @@ (define-public c-ares-for-node
    (package
      (inherit c-ares)
      (name "c-ares")
-     (version "1.18.1")
+     (version "1.19.0")
      (source (origin
                (method url-fetch)
                (uri (string-append
@@ -175,7 +175,7 @@ (define-public c-ares-for-node
                      ".tar.gz"))
                (sha256
                 (base32
-                 "1kxviskwsaa7dcgscvssxa8ps88pdq7kq4z93gxvz7sam2l54z8s"))))
+                 "1lqxmnvqar93j9zkz4jmvjk4kvq10jn2q01970lk3m9zw8vvmkmz"))))
      (arguments
       '(#:phases
         (modify-phases %standard-phases
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index a9d4e5ab13..1e082f40c0 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -669,7 +669,7 @@ (define-public node-llparse-bootstrap
 (define-public llhttp-bootstrap
   (package
     (name "llhttp")
-    (version "6.0.11")
+    (version "8.1.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -678,7 +678,7 @@ (define-public llhttp-bootstrap
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "16gaylka6nx9bsff9xga3s8xihxm3k7svrb88lr4dj2s4pzlfga9"))
+                "1cq3q3jybibppjhhiymdfmnqgbvn77j7b4ks7lil0lrc3vnnp87f"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -738,14 +738,14 @@ (define-public llhttp-bootstrap
 (define-public node-lts
   (package
     (inherit node)
-    (version "18.19.0")
+    (version "20.0.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://nodejs.org/dist/v" version
                                   "/node-v" version ".tar.gz"))
               (sha256
                (base32
-                "05qc1dgmrms73073n4l36jrcxf6ygqj959d3cngy5qclrg0isk6x"))
+                "05fz82dvj4kahjy1jhhr2w96drz50g30hdgxw8k59lm5am9krvn1"))
               (modules '((guix build utils)))
               (snippet
                '(begin

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-16 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 18:39 Bumping NodeJS from 18.19.0 to 20.0.0 Ashvith Shetty
2024-05-16 18:43 ` Thompson, David
2024-05-16 20:18   ` Ashvith Shetty

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.