pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/57176: npm-8.15.1 doens't build on NetBSD 10.0 (ipv6 related?)
>Number: 57176
>Category: pkg
>Synopsis: npm-8.15.1 doens't build on NetBSD 10.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 08 19:25:01 +0000 2023
>Originator: Manuel Bouyer
>Release: NetBSD 10.0_BETA
>Organization:
>Environment:
System: NetBSD rochebonne.antioche.eu.org 10.0_BETA NetBSD 10.0_BETA (GENERIC_CAN) #0: Wed Jan 4 16:41:59 MET 2023 bouyer%armandeche.soc.lip6.fr@localhost:/local/armandeche1/tmp/build/amd64/obj/local/armandeche2/netbsd-10/src/sys/arch/amd64/compile/GENERIC_CAN amd64
Architecture: x86_64
Machine: amd64
>Description:
On a NetBSD 10.0_BETA host without IPv6 connectivity, building npm
fails with:
===> Building for npm-8.15.1
node bin/npm-cli.js run resetdeps
> npm@8.15.1 resetdeps
> bash scripts/resetdeps.sh
+ node . i --ignore-scripts --no-audit --no-fund
npm ERR! code EHOSTUNREACH
npm ERR! syscall connect
npm ERR! errno EHOSTUNREACH
npm ERR! request to https://registry.npmjs.org/tap/-/tap-16.3.0.tgz failed, reason: connect EHOSTUNREACH 2606:4700::6810:1b23:443 - Local (:::60578)
npm ERR! A complete log of this run can be found in:
npm ERR! /usr/tmp/lang/npm/work/.home/.npm/_logs/2023-01-07T11_12_33_812Z-debug-0.log
gmake: *** [Makefile:53: deps] Error 1
tail of 2023-01-07T11_12_33_812Z-debug-0.log (I can make it available
on request):
80 verbose cwd /usr/tmp/lang/npm/work/cli-8.15.1
81 verbose NetBSD 10.0
82 verbose node v19.2.0
83 verbose npm v8.15.1
84 error code EHOSTUNREACH
85 error syscall connect
86 error errno EHOSTUNREACH
87 error request to https://registry.npmjs.org/tap/-/tap-16.3.0.tgz failed, reason: connect EHOSTUNREACH 2606:4700::6810:1b23:443 - Local (:::60578)
88 verbose exit 1
89 timing npm Completed in 71076ms
90 verbose unfinished npm timer reify 1673089953901
91 verbose unfinished npm timer reify:loadBundles 1673089954742
92 verbose unfinished npm timer reifyNode:node_modules/tap 1673089954742
93 verbose code 1
94 error A complete log of this run can be found in:
94 error /usr/tmp/lang/npm/work/.home/.npm/_logs/2023-01-07T11_12_33_812Z-debug-0.log
It looks like it failed because it didn't fall back to IPv4 for
https request. Other ipv6-enabled softwares (like telnet or ftp)
properly fall back to ipv4.
>How-To-Repeat:
try to build npm on a NetBSD 10.0_BETA host without IPv6 connectivity
>Fix:
Home |
Main Index |
Thread Index |
Old Index