From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KOHqLtO4cmZlUwAAe85BDQ:P1 (envelope-from ) for ; Wed, 19 Jun 2024 10:54:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KOHqLtO4cmZlUwAAe85BDQ (envelope-from ) for ; Wed, 19 Jun 2024 12:54:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=B0ahTX3Y; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718794451; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=oFJtW1uYe2W/wOAaZ8WwiSyNasPjymNQ6vsscQ9iT/Y=; b=fr1jvZmpGH9fEYUarpu6Fhhv460yICadYAwIh1LzTft+pc+QNg3bUGNJVBVGNsy5RIjsmP ovyW+BX7TvAO1N9TkdPzcSq42id8RBTVVL6xoHSn4vWmkAdQ9V8TZbWGmdGEddcYAtVbT6 /A6JGFREpJ/qjm79YVm4S65vEXXlb5qn7OHdgkICXGGit4OU6MN4gSJeuwN9IXEGj0FBPf pLQwMAjUS2+S+rDDRI0buB6rCGFxMRm0Cvom7oxvR+8uu316npD5nWqB119cP2qvIOmidq dX11dyA6Ahjbm28Pyo0xRLMWadHHWNv9gJdnVaDNSijZg8GuftPuBpMOiCF4tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=B0ahTX3Y; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718794451; a=rsa-sha256; cv=none; b=speVw11wlja1UMNuDaQoKfePmkkWLGhQ4Ol7pnjm41b79nIgIjFpPaTBYFz3K59kLO2sHs G3ZK4AYXL+d++G/+3lsxYAAxgaYMBeftOCFYBoe6+HWLIDi/VYsJuxmfiTVObEa3x8/tLc 7vCzFbpUKhizY/y0CTe9vtbjWmTgnWH0o4Vgcc7uNjKGQ9+sem3NnYXKdmd6NlRmE4XfJG yl6j/4doAm4ISYkJSCGMT9vlAomqjF7RrEVcn7i6x6VaobM8HO930PdBYp/HSLQd3AQ9cq mnpqKWdn0FbuqPD/PSdvFyhTcwWXYgm76rqFGqOtuX4zV2DgdvwRDtOlbqxArQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98B3C3BF7F for ; Wed, 19 Jun 2024 12:54:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJswz-0001r6-0K; Wed, 19 Jun 2024 06:54:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJswx-0001ib-KD for guix-patches@gnu.org; Wed, 19 Jun 2024 06:53:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJswx-0003Uj-DL for guix-patches@gnu.org; Wed, 19 Jun 2024 06:53:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJsx0-0000yD-Dw for guix-patches@gnu.org; Wed, 19 Jun 2024 06:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71581] [PATCH 11/11] gnu: Remove node-bootstrap. Resent-From: Ashvith Shetty Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Jun 2024 10:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71581 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jelle Licht Cc: 71581@debbugs.gnu.org Received: via spool by 71581-submit@debbugs.gnu.org id=B71581.17187944293706 (code B ref 71581); Wed, 19 Jun 2024 10:54:02 +0000 Received: (at 71581) by debbugs.gnu.org; 19 Jun 2024 10:53:49 +0000 Received: from localhost ([127.0.0.1]:39819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJswm-0000xh-QZ for submit@debbugs.gnu.org; Wed, 19 Jun 2024 06:53:49 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:50477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJswj-0000xN-TA for 71581@debbugs.gnu.org; Wed, 19 Jun 2024 06:53:47 -0400 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-36336aa7ca1so685331f8f.1 for <71581@debbugs.gnu.org>; Wed, 19 Jun 2024 03:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718794356; x=1719399156; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oFJtW1uYe2W/wOAaZ8WwiSyNasPjymNQ6vsscQ9iT/Y=; b=B0ahTX3Y7RCLNuLZRbuDE1bSjxtnBbY4cOSRdbuZuF+OfNvuHTBQHwd3lq9P23s4yc KtTP9yHHE+uFhrX/Mjs+w55i1uxWT4znCGN04SUY/8fT8CBQBwwakqNwVtTjU1rBrSIJ yf6S+goQrVwacrqrpHa04jkoQp9//r/jBFSBvbEVkUPM6Zo8OMbUI1hl5GC1aXMZOb6u XxmpqjIHtRlN1PcCgsn+25nOyIO2sqlBjP7n1amxkRwerJSVqmsB+1Nd8kcloC/V8PIR ppuTIZTa65FD+T8iC/tX4PdS8vLZdp/LJ6aM+4iU0zvVIgimiE7Dq717RkyiOjym5xXV 0eoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718794356; x=1719399156; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oFJtW1uYe2W/wOAaZ8WwiSyNasPjymNQ6vsscQ9iT/Y=; b=ZNA4/utUctGrp94UREUITXK/9n4x0Ux7UbvTMdcXX+lI/LZGQdr+QDQDkt54mIq1lq N07ubLhG9JmErbO4nFtVenDLTl7g/8JTxif5tVeRL8VvwOUSru1dy90QpCk0UbTt1POS fcFJuJRJvSJka3GdOY5Lxm6EuXCIUx/BLUWq71F/rg+42IHJ8HoZfU20wTlliL1HIsEy sXrrznnFwQGedd4K0/BBAmPaUx931m56jgCGDIfSMIg2CWDZ9GgJQADl5Pu3Rjdd/0Gg EoekRdQVri45tnbV+bCuoZIEEwhRn5xSx/2YephWGoBjHTs4I187Q4LUpnWTAUE327ke CNGw== X-Gm-Message-State: AOJu0Yx3pBML2HgSUyesUFyVO3Ea8ReWc2hWg/IDbZlHLmJHxOspminJ y5KCp4S5pWgA17ULvr49d+YDCTNz+wA1MwlOOLwc1cHr1ZdK9tNTC+7KFcGQX2nK46ExK1CDv0/ T7PKArbh0kRsVsETv0/YsBskhd/Y= X-Google-Smtp-Source: AGHT+IERQZ5qGXUAUMly9K9mlfeosdwh8DuxRWLXuM4BoVdGtO1anOuKV7CyDmhqPRFJOraE7opWbWTxVIniY1KqPZ8= X-Received: by 2002:a5d:494f:0:b0:363:1a1:10d1 with SMTP id ffacd0b85a97d-36319a85dbfmr1545711f8f.58.1718794356117; Wed, 19 Jun 2024 03:52:36 -0700 (PDT) MIME-Version: 1.0 References: <361a358ac968efb4148512054e62f0f211abf7f7.1718737412.git.ashvithshetty10@gmail.com> <62b68f1e5db41296ba22bbc9f9d91f1519fb9982.1718737412.git.ashvithshetty10@gmail.com> <87ed8tuzkj.fsf@fsfe.org> In-Reply-To: <87ed8tuzkj.fsf@fsfe.org> From: Ashvith Shetty Date: Wed, 19 Jun 2024 10:52:24 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 98B3C3BF7F X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.26 X-Spam-Score: -5.26 X-TUID: 0YhcyhSSqBT9 Hello, I'm not really an expert in build, so I'd really appreciate someone guiding me with this. Also unfortunately, I cannot diagnose NodeJS properly, because building it takes almost more than a day on my potato PC, only for the build to fail because some parallel tests don't work on Guix. So far, the minor bump to 18.20.0 has worked fine for me, and I was planning to leave it to the last version, so that anyone else looking for NodeJS 18 could use inferiors to package their project. I grew tired of having to do this every time, so right now, I'm packing all the dependencies - `simdutf`, `uvwasi`, `ngtcp2`, while also removing dependencies in NodeJS that also exist in Guix, like for example, sqlite. One advantage I see to this is that the builds will be cached for a particular dependency, and also shared between them - at least in my idea, this would be great for Electron, Chromium forks, Node and also Deno. Right now, there's a few roadblocks: - V8 shared library support was removed around 2015, meaning that I'd have to use a patch to get around this. - Support for shared libraries for tinier dependencies like simdutf, uvwasi and ada does not exist in the file `configure.py` - There's no way to build a project that uses bazel, because it does not exist on Guix at the moment. The first two issues can probably be dealt with, using patches over nodejs. However, I'm pretty sure working on the third one would require working on adding bazel as a build system and at least for the time being, we will have to use internal v8. For JS-based dependencies like acorn, acorn-walk, undici, etc, is it not possible to use txiki.js instead? I was thinking of eliminating all node-based bootstraps, using this tiny JS runtime to build main dependencies. That, or perhaps, a node-minimal package that is free of extra, unneeded stuff. Regards, Ashvith