Skip to content

pkg-fetch cannot be built for freebsd, time to switch from pkg-fetch for freebsd? #6

Open
@srappan

Description

@srappan

Unfortunatley, the project seems uninterested to support freebsd further, might be time to switch alternative for the pkg-fetch.

[email protected] start /root/UnicornFFMPEG
pkg . -o "bin/Plex Transcoder"

[email protected]
Fetching base Node.js binaries to PKG_CACHE_PATH
fetched-v10.15.3-freebsd-x64 [ ] 0%
Error! 404 Not Found
https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v10.15.3-freebsd-x64
Asset not found by direct link:
{"tag":"v2.6","name":"uploaded-v2.6-node-v10.15.3-freebsd-x64"}
Not found in GitHub releases:
{"tag":"v2.6","name":"uploaded-v2.6-node-v10.15.3-freebsd-x64"}
Building base binary from source:
built-v10.15.3-freebsd-x64
Cloning Node.js repository from GitHub...
git [====================] 100%
Checking out v10.15.3
Applying patches
Compiling Node.js from sources...
WARNING: failed to autodetect C++ compiler version (CXX=g++)
WARNING: failed to autodetect C compiler version (CC=gcc)
ERROR: No acceptable C compiler found!
Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
Error! Error: ./configure failed with code 1
at ChildProcess. (/root/UnicornFFMPEG/node_modules/pkg-fetch/lib-es5/spawn.js:68:23)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: pkg . -o "bin/Plex Transcoder"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
1

Github Issues raised on pkg-fetch for this particular issue have gone unanswered

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions