Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 23:12:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269888] net-im/libsignal-node: gyp ERR! stack FetchError
Message-ID:  <bug-269888-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269888

            Bug ID: 269888
           Summary: net-im/libsignal-node: gyp ERR! stack FetchError
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: dan.kotowski@a9development.com
             Flags: maintainer-feedback?(mikael@FreeBSD.org)
          Assignee: mikael@FreeBSD.org

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building for libsignal-node-0.22.0
echo 'yarn-offline-mirror "../yarn-offline-cache"' >
/wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.22.0/.yarnrc
cd /wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.22.0/node &&=20
/usr/bin/env ELECTRON_OVERRIDE_DIST_PATH=3D/usr/local/share/electron21=20
ELECTRON_SKIP_BINARY_DOWNLOAD=3D1=20
HOME=3D/wrkdirs/usr/ports/net-im/libsignal-node/work=20
PYTHON=3D/usr/local/bin/python3.9=20
XDG_CACHE_HOME=3D/wrkdirs/usr/ports/net-im/libsignal-node/work/.cache
RUSTC_BOOTSTRAP=3Daes,polyval
XDG_DATA_HOME=3D/wrkdirs/usr/ports/net-im/libsignal-node/work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/net-im/libsignal-node/work=20
XDG_CACHE_HOME=3D/wrkdirs/usr/ports/net-im/libsignal-node/work/.cache=20
HOME=3D/wrkdirs/usr/ports/net-im/libsignal-node/work
TMPDIR=3D"/wrkdirs/usr/ports/net-im/libsignal-node/work"
PATH=3D/wrkdirs/usr/ports/net-im/libsignal-node/work/.bin:/sbin:/bin:/usr/s=
bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/bin
PKG_CONFIG_LIBDIR=3D/wrkdirs/usr/ports/net-im/libsignal-node/work/.pkgconfi=
g:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgc=
onfig
MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=3DYES
PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  CC=3D"cc" CFLAGS=3D"-O2 -pipe=
=20
-fstack-protector-strong -fno-strict-aliasing "  CPP=3D"cpp" CPPFLAGS=3D""=
=20
LDFLAGS=3D" -fstack-protector-strong " LIBS=3D""  CXX=3D"c++" CXXFLAGS=3D"-=
O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX=3D"/usr/local"
BSD_INSTALL_PROGRAM=3D"install  -s -m 555"  BSD_INSTALL_LIB=3D"install  -s =
-m 0644"
 BSD_INSTALL_SCRIPT=3D"install  -m 555"  BSD_INSTALL_DATA=3D"install  -m 06=
44"=20
BSD_INSTALL_MAN=3D"install  -m 444" yarn install --frozen-lockfile
--ignore-optional --offline
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ node-gyp-build
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@16.19.1 | freebsd | x64
gyp info find Python using Python version 3.9.16 found at
"/usr/local/bin/python3.9"
gyp http GET
https://nodejs.org/download/release/v16.19.1/node-v16.19.1-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack FetchError: request to
https://nodejs.org/download/release/v16.19.1/node-v16.19.1-headers.tar.gz
failed, reason: getaddrinfo EAI_FAIL nodejs.org
gyp ERR! stack     at ClientRequest.<anonymous>
(/wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.22.0/node/node_m=
odules/minipass-fetch/lib/index.js:110:14)
gyp ERR! stack     at ClientRequest.emit (node:events:513:28)
gyp ERR! stack     at TLSSocket.socketErrorListener (node:_http_client:494:=
9)
gyp ERR! stack     at TLSSocket.emit (node:events:525:35)
gyp ERR! stack     at emitErrorNT (node:internal/streams/destroy:157:8)
gyp ERR! stack     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
gyp ERR! stack     at processTicksAndRejections
(node:internal/process/task_queues:83:21)
gyp ERR! System FreeBSD 14.0-CURRENT
gyp ERR! command "/usr/local/bin/node"
"/wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.22.0/node/node_m=
odules/.bin/node-gyp"
"rebuild"
gyp ERR! cwd
/wrkdirs/usr/ports/net-im/libsignal-node/work/libsignal-0.22.0/node
gyp ERR! node -v v16.19.1
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about =
this
command.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/libsignal-node
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: Interactive    >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
[00:00:25] Installing packages
[00:00:25] Installing run-depends for net-im/libsignal-node |
libsignal-node-0.22.0
[00:00:25] Installing net-im/libsignal-node | libsignal-node-0.22.0
pkg-static: /tmp/pkgs/libsignal-node-0.22.0.pkg: No such file or directory
pkg-static: Was 'pkg install /tmp/pkgs/libsignal-node-0.22.0.pkg' meant?

Failed to install the following 1 package(s):
/tmp/pkgs/libsignal-node-0.22.0.pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/libsignal-node


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Looks like it just needs a distfiles bump for the new node headers

# shasum -a256 /usr/ports/distfiles/node-v16.19.1-headers.tar.gz
b2d010190ad40b52ab2fb92131db51375ef682a37f924fe2ce3813767d68fee9=20
/usr/ports/distfiles/node-v16.19.1-headers.tar.gz

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269888-7788>