[Bug 269888] net-im/libsignal-node: gyp ERR! stack FetchError
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Feb 2023 23:12:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269888 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 =======================<phase: build >============================ ===> 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 && /usr/bin/env ELECTRON_OVERRIDE_DIST_PATH=/usr/local/share/electron21 ELECTRON_SKIP_BINARY_DOWNLOAD=1 HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work PYTHON=/usr/local/bin/python3.9 XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work/.cache RUSTC_BOOTSTRAP=aes,polyval XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work/.cache HOME=/wrkdirs/usr/ports/net-im/libsignal-node/work TMPDIR="/wrkdirs/usr/ports/net-im/libsignal-node/work" PATH=/wrkdirs/usr/ports/net-im/libsignal-node/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/nonexistent/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-im/libsignal-node/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="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_modules/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_modules/.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 =======================<phase: Interactive >============================ [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 ================ 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 /usr/ports/distfiles/node-v16.19.1-headers.tar.gz -- You are receiving this mail because: You are the assignee for the bug.