unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27852] [PATCH] gnu: node: Update to 8.2.1.
@ 2017-07-27 15:33 Jelle Licht
  2017-07-28 19:40 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Jelle Licht @ 2017-07-27 15:33 UTC (permalink / raw)
  To: 27852


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

It seems the node devs do not expect packagers to run `make check':
https://github.com/nodejs/node/issues/14513

Anyway, attached you will find a patch which updates node to its latest
released version while still allowing use to run most of the included test
suite.

At some point in time someone could look into getting node to build
reproducibly. Who knows, it might even be me ;-).

- Jelle

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

[-- Attachment #2: 0001-gnu-node-Update-to-8.2.1.patch --]
[-- Type: text/x-patch, Size: 1770 bytes --]

From f88297638a82858dff61176f646cdc4ddca748cf Mon Sep 17 00:00:00 2001
From: Jelle Licht <jlicht@fsfe.org>
Date: Thu, 27 Jul 2017 17:11:08 +0200
Subject: [PATCH] gnu: node: Update to 8.2.1.

* gnu/packages/node.scm (node): Update to 8.2.1.
(node)[arguments]: Removed broken linter test.
---
 gnu/packages/node.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 2cebabbca..4892bc9f0 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -40,14 +40,14 @@
 (define-public node
   (package
     (name "node")
-    (version "8.1.2")
+    (version "8.2.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://nodejs.org/dist/v" version
                                   "/node-v" version ".tar.gz"))
               (sha256
                (base32
-                "0l92gar1pivzaiwffiiiz2f2m5k39sl5fphlfnvy0ml9hrjb65yp"))
+                "0gwp65mls420x64jk3bkx7xdq75zjnv5mi5mqqb9mbvxpiwi7zk6"))
               ;; https://github.com/nodejs/node/pull/9077
               (patches (search-patches "node-9077.patch"))))
     (build-system gnu-build-system)
@@ -78,10 +78,9 @@
                (("'/usr/bin/env'")
                 (string-append "'" (which "env") "'")))
 
-             ;; Having the build fail because of linter errors is insane!
+             ;; Linting is no longer supported in the release tarball
              (substitute* '("Makefile")
-               (("	\\$\\(MAKE\\) jslint") "")
-               (("	\\$\\(MAKE\\) cpplint\n") ""))
+               (("	\\$\\(MAKE\\) lint") ""))
 
              ;; FIXME: This test seems to depends on files that are not
              ;; available in the bundled v8. See
-- 
2.13.3


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

* [bug#27852] [PATCH] gnu: node: Update to 8.2.1.
  2017-07-27 15:33 [bug#27852] [PATCH] gnu: node: Update to 8.2.1 Jelle Licht
@ 2017-07-28 19:40 ` Ludovic Courtès
  2017-09-01 22:20   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-28 19:40 UTC (permalink / raw)
  To: Jelle Licht; +Cc: 27852

Jelle Licht <jlicht@fsfe.org> skribis:

> From f88297638a82858dff61176f646cdc4ddca748cf Mon Sep 17 00:00:00 2001
> From: Jelle Licht <jlicht@fsfe.org>
> Date: Thu, 27 Jul 2017 17:11:08 +0200
> Subject: [PATCH] gnu: node: Update to 8.2.1.
>
> * gnu/packages/node.scm (node): Update to 8.2.1.
> (node)[arguments]: Removed broken linter test.

LGTM!

> -             ;; Having the build fail because of linter errors is insane!
> +             ;; Linting is no longer supported in the release tarball
>               (substitute* '("Makefile")
> -               (("	\\$\\(MAKE\\) jslint") "")
> -               (("	\\$\\(MAKE\\) cpplint\n") ""))
> +               (("	\\$\\(MAKE\\) lint") ""))

Maybe add a link to <https://github.com/nodejs/node/issues/14513> for
future reference?

Thanks,
Ludo’.

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

* [bug#27852] [PATCH] gnu: node: Update to 8.2.1.
  2017-07-28 19:40 ` Ludovic Courtès
@ 2017-09-01 22:20   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-09-01 22:20 UTC (permalink / raw)
  To: Jelle Licht; +Cc: 27852

Jelle, it looks like this fell through the cracks a warm summer
inevitably creates, no?  :-)

Ludo’.

ludo@gnu.org (Ludovic Courtès) skribis:

> Jelle Licht <jlicht@fsfe.org> skribis:
>
>> From f88297638a82858dff61176f646cdc4ddca748cf Mon Sep 17 00:00:00 2001
>> From: Jelle Licht <jlicht@fsfe.org>
>> Date: Thu, 27 Jul 2017 17:11:08 +0200
>> Subject: [PATCH] gnu: node: Update to 8.2.1.
>>
>> * gnu/packages/node.scm (node): Update to 8.2.1.
>> (node)[arguments]: Removed broken linter test.
>
> LGTM!
>
>> -             ;; Having the build fail because of linter errors is insane!
>> +             ;; Linting is no longer supported in the release tarball
>>               (substitute* '("Makefile")
>> -               (("	\\$\\(MAKE\\) jslint") "")
>> -               (("	\\$\\(MAKE\\) cpplint\n") ""))
>> +               (("	\\$\\(MAKE\\) lint") ""))
>
> Maybe add a link to <https://github.com/nodejs/node/issues/14513> for
> future reference?
>
> Thanks,
> Ludo’.

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

end of thread, other threads:[~2017-09-01 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-27 15:33 [bug#27852] [PATCH] gnu: node: Update to 8.2.1 Jelle Licht
2017-07-28 19:40 ` Ludovic Courtès
2017-09-01 22:20   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).