From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 19 00:18:49 2022 Received: (at 59188) by debbugs.gnu.org; 19 Nov 2022 05:18:49 +0000 Received: from localhost ([127.0.0.1]:38736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owGFc-0003CP-Bl for submit@debbugs.gnu.org; Sat, 19 Nov 2022 00:18:49 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:50160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owGFa-0003CB-8J for 59188@debbugs.gnu.org; Sat, 19 Nov 2022 00:18:46 -0500 Date: Sat, 19 Nov 2022 13:17:51 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1668835119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FG73OLLX5d/qWWzzKO6BpVvvTN9+xqf+3I7TL2+mK+I=; b=JV8CwCA2e97TVYIi1+hiy/Wc6EF3CaUCjtD1qhnALzPeiUY8X0nK26JtYtnJo80Ly7rLsy 8N5uvdxD+wPv9q9L1uM0JpeeBNe1fZVF2VuXgmSqBBl8KyvGxggVwsKQN5+E/7qDrlSXAf ajvx4OKDxDl9E6tSjC21Ub1FkyPm3xhcM3RM2Gyfo4dO+eZxsJ2SnY4XhiB/7CfJuJGYRZ ikx434D/u8ijYvg2qKwd/INoB8Q4DmieYlzaGuCj8JJnsGiN748jJBcxG++PS3mjRF+Y+J pjw4Z9Tvj/o/bbUxWFjr7H6nFnsQ/Yf3VvIFOM5ZeB/f8xCbVgAG5BcwGB8ttw== Message-ID: From: Hilton Chain To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Subject: Re: bug#59188: [PATCH 0/4] gnu: node-lts: Update to 18.12.1. In-Reply-To: <87bkp4bbd1.fsf_-_@gnu.org> References: <87zgcq79ml.fsf@posteo.de> <87bkp4bbd1.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Spamd-Bar: / Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59188 Cc: Mekeor Melire , Christopher Baines , 59188@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) node-acorn fails in check phase. #+RESULTS: : starting phase `check' : npm ERR! Missing script: "test" : npm ERR! : npm ERR! To see a list of scripts, run: : npm ERR! npm run : : npm ERR! A complete log of this run can be found in: : npm ERR! /tmp/guix-build-node-acorn-8.4.1.drv-0/source/npm-home-0/.npm/_logs/2022-11-19T04_28_57_471Z-debug-0.log : error: in phase 'check': uncaught exception: : %exception #<&invoke-error program: "/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/bin/npm" arguments: ("test") exit-status: 1 term-signal: #f stop-signal: #f> : phase `check' failed after 0.2 seconds : command "/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/bin/npm" "test" failed with status 1 Then node-uglify-js #+RESULTS: : starting phase `configure' : npm ERR! code 254 : npm ERR! path /gnu/store/969597ncg311d3kd8vbhdlniwqg4mr2k-node-acorn-8.4.1/lib/node_modules/acorn : npm ERR! command failed : npm ERR! command sh -c -- cd ..; npm run build:main && npm run build:bin : npm ERR! npm ERR! code ENOENT : npm ERR! npm ERR! syscall open : npm ERR! npm ERR! path /gnu/store/969597ncg311d3kd8vbhdlniwqg4mr2k-node-acorn-8.4.1/lib/package.json : npm ERR! npm ERR! errno -2 : npm ERR! npm ERR! enoent ENOENT: no such file or directory, open '/gnu/store/969597ncg311d3kd8vbhdlniwqg4mr2k-node-acorn-8.4.1/lib/package.json' : npm ERR! npm ERR! enoent This is related to npm not being able to find a file. : npm ERR! npm ERR! enoent : npm ERR! : npm ERR! npm ERR! A complete log of this run can be found in: : npm ERR! npm ERR! /tmp/guix-build-node-uglify-js-3.13.9.drv-0/npm-home-0/.npm/_logs/2022-11-19T04_54_25_643Z-debug-0.log : : npm ERR! A complete log of this run can be found in: : npm ERR! /tmp/guix-build-node-uglify-js-3.13.9.drv-0/npm-home-0/.npm/_logs/2022-11-19T04_54_25_343Z-debug-0.log : error: in phase 'configure': uncaught exception: : %exception #<&invoke-error program: "/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/bin/npm" arguments: ("--offline" "--ignore-scripts" "install") exit-status: 254 term-signal: #f stop-signal: #f> : phase `configure' failed after 0.6 seconds : command "/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/bin/npm" "--offline" "--ignore-scripts" "install" failed with status 254 One test failed after deleting node-uglify-js's configure phase. #+RESULTS: : 1 test(s) failed! : : test/reduce.js : 1) Should reduce test case which differs only in Error.message : AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: : + actual - expected : : + `try{null[function(){}]}catch(e){console.log(e)}\n// output: TypeError: Cannot read properties of null (reading 'function(){}')\n// \n// minify: TypeError: Cannot read properties of null (reading 'function() {}')\n// \n// options: {\n// "compress": false,\n// "mangle": false,\n// "output": {\n// "beautify": true\n// }\n// }` : - `try{null[function(){}]}catch(e){console.log(e)}\n// output: TypeError: Cannot read property 'function(){}' of null\n// \n// minify: TypeError: Cannot read property 'function() {}' of null\n// \n// options: {\n// "compress": false,\n// "mangle": false,\n// "output": {\n// "beautify": true\n// }\n// }` : at Function. (/tmp/guix-build-node-uglify-js-3.13.9.drv-0/source/test/mocha/reduce.js:285:16) : at run (/tmp/guix-build-node-uglify-js-3.13.9.drv-0/source/test/mocha.js:79:18) : at process.processTicksAndRejections (node:internal/process/task_queues:77:11) : error: in phase 'check': uncaught exception: : %exception #<&invoke-error program: "/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/bin/npm" arguments: ("test") exit-status: 1 term-signal: #f stop-signal: #f> : phase `check' failed after 264.2 seconds : command "/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/bin/npm" "test" failed with status 1 Then node-string-decoder fails to install, I have no idea how to continue... #+RESULTS: : starting phase `install' : npm info using npm@8.19.2 : npm info using node@v18.12.1 : npm timing npm:load:whichnode Completed in 0ms : npm timing config:load:defaults Completed in 1ms : npm timing config:load:file:/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/lib/node_modules/npm/npmrc Completed in 2ms : npm timing config:load:builtin Completed in 3ms : npm WARN config production Use `--omit=dev` instead. : npm timing config:load:cli Completed in 1ms : npm timing config:load:env Completed in 1ms : npm timing config:load:project Completed in 0ms : npm timing config:load:file:/tmp/guix-build-node-string-decoder-1.3.0.drv-0/npm-home-0/.npmrc Completed in 0ms : npm timing config:load:user Completed in 0ms : npm timing config:load:file:/gnu/store/ansccgk9y8vzd5rwsx4iz7j2n0gp8ig8-node-string-decoder-1.3.0/etc/npmrc Completed in 2ms : npm timing config:load:global Completed in 2ms : npm timing config:load:validate Completed in 0ms : npm timing config:load:credentials Completed in 1ms : npm timing config:load:setEnvs Completed in 0ms : npm timing config:load Completed in 9ms : npm timing npm:load:configload Completed in 9ms : npm timing npm:load:mkdirpcache Completed in 1ms : npm timing npm:load:mkdirplogs Completed in 1ms : npm timing npm:load:setTitle Completed in 0ms : npm timing config:load:flatten Completed in 1ms : npm timing npm:load:display Completed in 4ms : npm timing npm:load:logFile Completed in 3ms : npm timing npm:load:timers Completed in 0ms : npm timing npm:load:configScope Completed in 0ms : npm timing npm:load Completed in 19ms : npm timing arborist:ctor Completed in 0ms : npm timing idealTree:init Completed in 4ms : npm timing idealTree:userRequests Completed in 30ms : npm timing idealTree:#root Completed in 16ms : npm timing idealTree:node_modules/string_decoder Completed in 3ms : npm timing idealTree:node_modules/string_decoder/node_modules/safe-buffer Completed in 0ms : npm timing idealTree:buildDeps Completed in 20ms : npm timing idealTree:fixDepFlags Completed in 0ms : npm timing idealTree Completed in 56ms : npm timing reify:loadTrees Completed in 57ms : npm timing reify:diffTrees Completed in 1ms : npm timing reify:retireShallow Completed in 1ms : npm timing reify:createSparse Completed in 0ms : npm timing reify:trashOmits Completed in 0ms : npm timing reify:loadBundles Completed in 0ms : npm timing reify:audit Completed in 0ms : npm timing reifyNode:node_modules/string_decoder/node_modules/safe-buffer Completed in 5ms : npm timing reifyNode:node_modules/string_decoder Completed in 12ms : npm timing reify:unpack Completed in 13ms : npm timing reify:unretire Completed in 0ms : npm timing build:queue Completed in 1ms : npm timing build:deps Completed in 1ms : npm timing build:queue Completed in 1ms : npm timing build:links Completed in 1ms : npm timing build Completed in 2ms : npm timing reify:build Completed in 2ms : npm timing reify:trash Completed in 0ms : npm timing command:install Completed in 83ms : npm ERR! Cannot set properties of null (setting 'dev') : npm timing npm Completed in 163ms : : npm ERR! A complete log of this run can be found in: : npm ERR! /tmp/guix-build-node-string-decoder-1.3.0.drv-0/npm-home-0/.npm/_logs/2022-11-19T05_09_44_366Z-debug-0.log : error: in phase 'install': uncaught exception: : %exception #<&invoke-error program: "/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/bin/npm" arguments: ("--prefix" "/gnu/store/ansccgk9y8vzd5rwsx4iz7j2n0gp8ig8-node-string-decoder-1.3.0" "--global" "--offline" "--loglevel" "info" "--production" "install" "../package.tgz") exit-status: 1 term-signal: #f stop-signal: #f> : phase `install' failed after 0.4 seconds : command "/gnu/store/l32l0i53ik9ja3fircdd89bgq6b1v6y5-node-18.12.1/bin/npm" "--prefix" "/gnu/store/ansccgk9y8vzd5rwsx4iz7j2n0gp8ig8-node-string-decoder-1.3.0" "--global" "--offline" "--loglevel" "info" "--production" "install" "../package.tgz" failed with status 1