From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jelle Licht Subject: bug#34526: Updating node.js Date: Mon, 18 Feb 2019 21:50:41 +0100 Message-ID: <877edw6cta.fsf@fsfe.org> References: <87d0npb1tx.fsf@atufi.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvqY9-0006KV-Kh for bug-guix@gnu.org; Mon, 18 Feb 2019 16:34:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvqY8-0002eJ-Q8 for bug-guix@gnu.org; Mon, 18 Feb 2019 16:34:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvqY8-0002eC-Lk for bug-guix@gnu.org; Mon, 18 Feb 2019 16:34:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvqY6-0008AD-CC for bug-guix@gnu.org; Mon, 18 Feb 2019 16:34:04 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87d0npb1tx.fsf@atufi.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Daniel Gerber Cc: 34526@debbugs.gnu.org Daniel Gerber writes: > Notes on v11.10.0: > - it does support openssl@1.1.1 > - it ships with libuv 1.26.0 (1.24.0 in guix) > - some previously bundled deps are absent from tarball > - NODE_EXPERIMENTAL_HTTP is a no-op / always defined > > There is an issue with the alternative http parser, `llhttp`. The > choice of parser is at runtime, and one compile flag, > --shared-http-parser, configures both. Building fails with: > [snip] > ../src/http_parser_adaptor.h:5:21: fatal error: llhttp.h: No such > file or directory > ``` > > AFAIU, either llhttp has to be made a separate package and listed > in inputs, or http-parser linked statically. Or should the missing > -I../deps/llhttp/include argument be passed here somehow -- maybe > patching node.gypi? It seems that llhttp includes a build step for generating C-files using TypeScript, making it a non-starter for proper packaging in Guix. See https://github.com/nodejs/llhttp/issues/14 for more details, but sadly no solution. > > I have not tried to build 10.15.1(LTS), which presumably has the > same issues as in #32095. > > Also, should previous version branches (8.x, 9.x) be kept in guix? As long as they are still supported by upstream, I see no issue with this. The 8.x LTS is still maintained through the end of 2019. I am not sure the 9.X series is still supported. If not, it might make more sense to remove it instead of updating it.