Closed HiMyNameIsIlNano closed 7 years ago
I haven't built them yet. Will work on this.
Just out of curiosity, can one build the .node file himself? If so, how is it possible to do that?
Thanks in advance, Daniele.
npm install
should fallback to building the binary locally. Assuming you have build chain installed i.e. python2, gcc - it should compile automatically.
If that's not happening for some reason npm rebuild node-sass
should do it.
@xzyfer ,
this is the complete log from the install command:
> node-sass@4.5.0 install /usr/home/User/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/freebsd-x64-51_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.0/freebsd-x64-51_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> node-sass@4.5.0 postinstall /usr/home/User/node_modules/node-sass
> node scripts/build.js
Building: /usr/local/bin/node /usr/home/User/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/bin/node',
gyp verb cli '/usr/home/User/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.5.0
gyp info using node@7.5.0 | freebsd | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/local/bin/python2
gyp verb check python version `/usr/local/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.13\n"
gyp verb get node dir no --target version specified, falling back to host node version: 7.5.0
gyp verb command install [ '7.5.0' ]
gyp verb install input version string "7.5.0"
gyp verb install installing version: 7.5.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 7.5.0
gyp verb ensuring nodedir is created /home/User/.node-gyp/7.5.0
gyp verb created nodedir /home/User/.node-gyp/7.5.0
gyp http GET https://nodejs.org/download/release/v7.5.0/node-v7.5.0-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp verb command remove [ '7.5.0' ]
gyp verb remove using node-gyp dir: /home/User/.node-gyp
gyp verb remove removing target version: 7.5.0
gyp verb remove removing development files for version: 7.5.0
gyp ERR! configure error
gyp ERR! stack Error: unable to get local issuer certificate
gyp ERR! stack at TLSSocket.<anonymous> (_tls_wrap.js:1085:38)
gyp ERR! stack at emitNone (events.js:86:13)
gyp ERR! stack at TLSSocket.emit (events.js:186:7)
gyp ERR! stack at TLSSocket._finishInit (_tls_wrap.js:603:8)
gyp ERR! stack at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:433:38)
gyp ERR! System FreeBSD 11.0-STABLE
gyp ERR! command "/usr/local/bin/node" "/usr/home/User/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /usr/home/User/node_modules/node-sass
gyp ERR! node -v v7.5.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN enoent ENOENT: no such file or directory, open '/usr/home/User/package.json'
npm WARN User No description
npm WARN User No repository field.
npm WARN User No README data
npm WARN User No license field.
npm ERR! FreeBSD 11.0-STABLE
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-sass"
npm ERR! node v7.5.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! node-sass@4.5.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.5.0 postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/home/User/npm-debug.log
it does not seem to be even trying to compile the module and when I run
npm rebuild node-nass
nothing happens.
Looks like an SSL issue connecting to nodes.org
On 22 Feb. 2017 5:41 pm, "HiMyNameIsIlNano" notifications@github.com wrote:
@xzyfer https://github.com/xzyfer ,
this is the complete log from the install command:
node-sass@4.5.0 install /usr/home/User/node_modules/node-sass node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/freebsd-x64-51_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.0/freebsd-x64-51_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
node-sass@4.5.0 postinstall /usr/home/User/node_modules/node-sass node scripts/build.js
Building: /usr/local/bin/node /usr/home/User/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ '/usr/local/bin/node', gyp verb cli '/usr/home/User/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' ] gyp info using node-gyp@3.5.0 gyp info using node@7.5.0 | freebsd | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb
which
succeeded python2 /usr/local/bin/python2 gyp verb check python version/usr/local/bin/python2 -c "import platform; print(platform.python_version());"
returned: "2.7.13\n" gyp verb get node dir no --target version specified, falling back to host node version: 7.5.0 gyp verb command install [ '7.5.0' ] gyp verb install input version string "7.5.0" gyp verb install installing version: 7.5.0 gyp verb install --ensure was passed, so won't reinstall if already installed gyp verb install version not already installed, continuing with install 7.5.0 gyp verb ensuring nodedir is created /home/User/.node-gyp/7.5.0 gyp verb created nodedir /home/User/.node-gyp/7.5.0 gyp http GET https://nodejs.org/download/release/v7.5.0/node-v7.5.0-headers.tar.gz gyp WARN install got an error, rolling back install gyp verb command remove [ '7.5.0' ] gyp verb remove using node-gyp dir: /home/User/.node-gyp gyp verb remove removing target version: 7.5.0 gyp verb remove removing development files for version: 7.5.0 gyp ERR! configure error gyp ERR! stack Error: unable to get local issuer certificate gyp ERR! stack at TLSSocket.(_tls_wrap.js:1085:38) gyp ERR! stack at emitNone (events.js:86:13) gyp ERR! stack at TLSSocket.emit (events.js:186:7) gyp ERR! stack at TLSSocket._finishInit (_tls_wrap.js:603:8) gyp ERR! stack at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:433:38) gyp ERR! System FreeBSD 11.0-STABLE gyp ERR! command "/usr/local/bin/node" "/usr/home/User/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /usr/home/User/node_modules/node-sass gyp ERR! node -v v7.5.0 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok Build failed with error code: 1 npm WARN enoent ENOENT: no such file or directory, open '/usr/home/User/package.json' npm WARN User No description npm WARN User No repository field. npm WARN User No README data npm WARN User No license field. npm ERR! FreeBSD 11.0-STABLE npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-sass" npm ERR! node v7.5.0 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE npm ERR! node-sass@4.5.0 postinstall:
node scripts/build.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@4.5.0 postinstall script 'node scripts/build.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the node-sass package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node scripts/build.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs node-sass npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls node-sass npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /usr/home/User/npm-debug.log
it does not seem to be even trying to compile the module and when I run
npm rebuild node-nass
nothing happens.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sass/node-sass/issues/1911#issuecomment-281583603, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjZWE0Elv7yLA0D5mac8v0uKfTxJTyoks5re9iWgaJpZM4MHaO2 .
if you try to copy and paste the URL used to download tbe .node module for BSD you will see it does not exist (404). This does not seem to be an SSL issue, rather the file is missing.
There are two issues.
The binary does not exist so you get a 404.
When you try to build it locally npm needs to download the headers for Node from nodejs.org. This is failing due an SSL error.
gyp http GET https://nodejs.org/download/release/v7.5.0/node-v7.5.0-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp verb command remove [ '7.5.0' ]
gyp verb remove using node-gyp dir: /home/User/.node-gyp
gyp verb remove removing target version: 7.5.0
gyp verb remove removing development files for version: 7.5.0
gyp ERR! configure error
gyp ERR! stack Error: unable to get local issuer certificate
gyp ERR! stack at TLSSocket.<anonymous> (_tls_wrap.js:1085:38)
gyp ERR! stack at emitNone (events.js:86:13)
gyp ERR! stack at TLSSocket.emit (events.js:186:7)
gyp ERR! stack at TLSSocket._finishInit (_tls_wrap.js:603:8)
gyp ERR! stack at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:433:38)
I see. So in principle if I downalod the gz file from https://nodejs.org/download/release/v7.5.0/ on to my machine, I should be able to build the module myself. If this is the case, in which folder is this to be downloaded/moved? Maybe /home/User/.node-gyp?
I don't know the exact details. You'll need to check the node-gyp docs. I believe there is a flag to tell node-gyp where the headers are.
@xzyfer,
I think I am going to read a bit of documentation and try to get it working while I am waiting for the binary file to be delivered.
I think I also tried the npm cache clean
, but it did not help.
Have a look at my ports on https://github.com/saper/ports-exp
Fortunately FreeBSD node port installs include files in /use/local/include/node so the biggest part to get it working is adding --nodedir path to node-gyp (I am writing this from memory)
@saper,
so your suggestion is, instead of installing node-sass with npm, doing it via the ports tree?
In the Makefile
I see a do build
:
(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} NPM_CONFIG_CACHE=${NPM_CACHE} npm install --nodedir=${LOCALBASE})
The path to the node-gyp should be the place containing the downloaded header tarball or should this contain something else?
It does not matter if you are using a port or when you are building by hand. --nodedir
should point to the existing node installation. Unlike Linux systems FreeBSD pre-installs node headers so download is not necessary
@saper
I tried a to install node-sass using npm install node-sass --nodedir=/usr/local
and this is what I got:
> node-sass@4.5.0 install /usr/home/User/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/freebsd-x64-51_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.0/freebsd-x64-51_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> node-sass@4.5.0 postinstall /usr/home/User/node_modules/node-sass
> node scripts/build.js
Building: /usr/local/bin/node /usr/home/User/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/bin/node',
gyp verb cli '/usr/home/User/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using node-gyp@3.5.0
gyp info using node@7.5.0 | freebsd | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/local/bin/python2
gyp verb check python version `/usr/local/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.13\n"
gyp verb get node dir compiling against specified --nodedir dev files: /usr/local
gyp verb build dir attempting to create "build" dir: /usr/home/User/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /usr/home/User/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /usr/home/User/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /usr/home/User/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /usr/home/User/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/local/bin/python2
gyp info spawn args [ '/usr/home/User/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/usr/home/User/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/home/User/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/usr/local',
gyp info spawn args '-Dnode_gyp_dir=/usr/home/User/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=/usr/home/User/node_modules/node-sass',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /usr/local
gyp verb `which` succeeded for `gmake` /usr/local/bin/gmake
gyp info spawn gmake
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
gmake: Entering directory '/usr/home/User/node_modules/node-sass/build'
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/ast.o ../src/libsass/src/ast.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o ../src/libsass/src/ast_fwd_decl.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/base64vlq.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/base64vlq.o ../src/libsass/src/base64vlq.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/bind.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/bind.o ../src/libsass/src/bind.cpp
cc '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/cencode.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/cencode.o ../src/libsass/src/cencode.c
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/check_nesting.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/check_nesting.o ../src/libsass/src/check_nesting.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/color_maps.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/color_maps.o ../src/libsass/src/color_maps.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/constants.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/constants.o ../src/libsass/src/constants.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/context.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/context.o ../src/libsass/src/context.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/cssize.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/cssize.o ../src/libsass/src/cssize.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/emitter.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/emitter.o ../src/libsass/src/emitter.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/environment.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/environment.o ../src/libsass/src/environment.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/error_handling.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/error_handling.o ../src/libsass/src/error_handling.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/eval.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/eval.o ../src/libsass/src/eval.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/expand.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/expand.o ../src/libsass/src/expand.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/extend.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/extend.o ../src/libsass/src/extend.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/file.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/file.o ../src/libsass/src/file.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/functions.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/functions.o ../src/libsass/src/functions.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/inspect.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/inspect.o ../src/libsass/src/inspect.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/json.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/json.o ../src/libsass/src/json.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/lexer.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/lexer.o ../src/libsass/src/lexer.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/listize.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/listize.o ../src/libsass/src/listize.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/memory/SharedPtr.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/memory/SharedPtr.o ../src/libsass/src/memory/SharedPtr.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/node.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/node.o ../src/libsass/src/node.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/output.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/output.o ../src/libsass/src/output.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/parser.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/parser.o ../src/libsass/src/parser.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/plugins.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/plugins.o ../src/libsass/src/plugins.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/position.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/position.o ../src/libsass/src/position.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/prelexer.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/prelexer.o ../src/libsass/src/prelexer.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/remove_placeholders.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/remove_placeholders.o ../src/libsass/src/remove_placeholders.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass.o ../src/libsass/src/sass.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass2scss.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass2scss.o ../src/libsass/src/sass2scss.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_context.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass_context.o ../src/libsass/src/sass_context.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_functions.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass_functions.o ../src/libsass/src/sass_functions.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_util.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass_util.o ../src/libsass/src/sass_util.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_values.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass_values.o ../src/libsass/src/sass_values.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/source_map.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/source_map.o ../src/libsass/src/source_map.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/subset_map.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/subset_map.o ../src/libsass/src/subset_map.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/to_c.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/to_c.o ../src/libsass/src/to_c.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/to_value.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/to_value.o ../src/libsass/src/to_value.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/units.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/units.o ../src/libsass/src/units.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/utf8_string.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/utf8_string.o ../src/libsass/src/utf8_string.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/util.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/util.o ../src/libsass/src/util.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.5.0.beta.2"' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -std=gnu++0x -std=c++0x -fexceptions -frtti -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/values.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/values.o ../src/libsass/src/values.cpp
rm -f Release/obj.target/src/sass.a && ar crs Release/obj.target/src/sass.a Release/obj.target/libsass/src/libsass/src/ast.o Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o Release/obj.target/libsass/src/libsass/src/base64vlq.o Release/obj.target/libsass/src/libsass/src/bind.o Release/obj.target/libsass/src/libsass/src/cencode.o Release/obj.target/libsass/src/libsass/src/check_nesting.o Release/obj.target/libsass/src/libsass/src/color_maps.o Release/obj.target/libsass/src/libsass/src/constants.o Release/obj.target/libsass/src/libsass/src/context.o Release/obj.target/libsass/src/libsass/src/cssize.o Release/obj.target/libsass/src/libsass/src/emitter.o Release/obj.target/libsass/src/libsass/src/environment.o Release/obj.target/libsass/src/libsass/src/error_handling.o Release/obj.target/libsass/src/libsass/src/eval.o Release/obj.target/libsass/src/libsass/src/expand.o Release/obj.target/libsass/src/libsass/src/extend.o Release/obj.target/libsass/src/libsass/src/file.o Release/obj.target/libsass/src/libsass/src/functions.o Release/obj.target/libsass/src/libsass/src/inspect.o Release/obj.target/libsass/src/libsass/src/json.o Release/obj.target/libsass/src/libsass/src/lexer.o Release/obj.target/libsass/src/libsass/src/listize.o Release/obj.target/libsass/src/libsass/src/memory/SharedPtr.o Release/obj.target/libsass/src/libsass/src/node.o Release/obj.target/libsass/src/libsass/src/output.o Release/obj.target/libsass/src/libsass/src/parser.o Release/obj.target/libsass/src/libsass/src/plugins.o Release/obj.target/libsass/src/libsass/src/position.o Release/obj.target/libsass/src/libsass/src/prelexer.o Release/obj.target/libsass/src/libsass/src/remove_placeholders.o Release/obj.target/libsass/src/libsass/src/sass.o Release/obj.target/libsass/src/libsass/src/sass2scss.o Release/obj.target/libsass/src/libsass/src/sass_context.o Release/obj.target/libsass/src/libsass/src/sass_functions.o Release/obj.target/libsass/src/libsass/src/sass_util.o Release/obj.target/libsass/src/libsass/src/sass_values.o Release/obj.target/libsass/src/libsass/src/source_map.o Release/obj.target/libsass/src/libsass/src/subset_map.o Release/obj.target/libsass/src/libsass/src/to_c.o Release/obj.target/libsass/src/libsass/src/to_value.o Release/obj.target/libsass/src/libsass/src/units.o Release/obj.target/libsass/src/libsass/src/utf8_string.o Release/obj.target/libsass/src/libsass/src/util.o Release/obj.target/libsass/src/libsass/src/values.o
rm -rf "Release/sass.a" && cp -af "Release/obj.target/src/sass.a" "Release/sass.a"
c++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/usr/local/include/node -I/usr/local/src -I/usr/local/deps/uv/include -I/usr/local/deps/v8/include -I../../nan -I../src/libsass/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -std=c++0x -MMD -MF ./Release/.deps/Release/obj.target/binding/src/binding.o.d.raw -c -o Release/obj.target/binding/src/binding.o ../src/binding.cpp
In file included from ../src/binding.cpp:1:
../../nan/nan.h:46:10: fatal error: 'uv.h' file not found
#include <uv.h>
^
1 error generated.
gmake: *** [binding.target.mk:114: Release/obj.target/binding/src/binding.o] Error 1
gmake: Leaving directory '/usr/home/User/node_modules/node-sass/build'
gyp ERR! build error
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/home/User/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:192:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System FreeBSD 11.0-STABLE
gyp ERR! command "/usr/local/bin/node" "/usr/home/User/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /usr/home/User/node_modules/node-sass
gyp ERR! node -v v7.5.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN enoent ENOENT: no such file or directory, open '/usr/home/User/package.json'
npm WARN User No description
npm WARN User No repository field.
npm WARN User No README data
npm WARN User No license field.
npm ERR! FreeBSD 11.0-STABLE
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-sass" "--nodedir=/usr/local"
npm ERR! node v7.5.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! node-sass@4.5.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.5.0 postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/home/User/Development/c/ports-exp/textproc/node-sass/npm-debug.log
the library:
In file included from ../src/binding.cpp:1:
../../nan/nan.h:46:10: fatal error: 'uv.h' file not found
#include <uv.h>
does not seem to exist.
--Edit: libuv seem to be installed on my machine and searching for uv.h I have found some occurrences of the library.
I am also getting the same 404 error when attempting to downloading the binary. Same issues on multiple machines and networks, so I guess its not a proxy issue. Is there a workaround or fix?
[exec] > node-sass@3.13.1 install /workspace/FCWeb/WebContent/node_modules/node-sass [exec] > node scripts/install.js [exec] [exec] Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-48_binding.node [exec] Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-48_binding.node": [exec] [exec] tunneling socket could not be established, statusCode=504 [exec] [exec] Hint: If github.com is not accessible in your location [exec] try setting a proxy via HTTP_PROXY, e.g. [exec] [exec] export HTTP_PROXY=http://example.com:1234 [exec] [exec] or configure npm proxy via [exec] [exec] npm config set proxy http://example.com:8080 [exec] [exec] > node-sass@3.13.1 postinstall
Hi @emjaksa
you can try with:
npm install node-sass --nodedir=/usr/local
Plesse tell me if you also encouter issues with libuv.
Regards, Daniele
The problem may be related to an Amazon AWS S3 Outage. https://status.aws.amazon.com/
We're continuing to work to remediate the availability issues for Amazon S3 in US-EAST-1. AWS services and customer applications depending on S3 will continue to experience high error rates as we are actively working to remediate the errors in Amazon S3.
There's probably some ongoing issue with AWS.
Trying to install node-sass v3.13.1 linux-x64-48_binding which redirects to this link and fails.
Thank you. I just heard the news about Amazon after posting.
You all are awesome, thanks for the live support! Exciting!
I'm also encountering this issue while npm tries to install node-sass on some Docker images, thank you for the updates!
I just spent more than 2 hrs trying to figure it out why node-sass wasn't able to download D: thanks for the update! At least is not my fault :)
I'm also looking for a FreeBSD version.
@xzyfer ,
is there any news on this topic? I have been trying to search for a solution to the problem described above, that is:
In file included from ../src/binding.cpp:1:
../../nan/nan.h:46:10: fatal error: 'uv.h' file not found
#include <uv.h>
without any luck. Actually it is both impossible to download the *.node file from the repo and to compile it locally. I assume that if you have to provide the (I will maybe use an incorrect term) artifact, you shuould have a Freebsd box at hand and do a compile on your local machine. If this is so, could you potentially be affected by this error either? Do you have any idea how to overcome the problem?
Regards, Daniele.
This is because node port for FreeBSD started to link to the shared, unbundled libuv. You can try fixing the Makefike in the build directory and run make
there.
I need to teach node-gyp to detect the situation and we will resume building binaries.
@saper ,
the only way I found to get to the makefile is htting CTRL + C, when compiling the module, I cannot find any makefile
under the /home/***/node_modules/node-sass/build
otherwise. If then cd
into that folder and then type make
this is what I get:
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 17: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 19: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 21: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 103: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 105: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 107: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 116: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 117: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 208: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 221: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 229: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 230: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 231: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 232: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 233: Missing dependency operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 234: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 236: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 237: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 238: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 239: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 240: Missing dependency operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 241: Missing dependency operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 242: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 243: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 244: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 266: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 268: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 270: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 272: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 274: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 278: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 280: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 282: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 284: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 286: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 288: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 291: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 293: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 295: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 297: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 299: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 301: warning: duplicate script for target "./Release/obj.target/%.o" ignored
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 264: warning: using previous script for "./Release/obj.target/%.o" defined here
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 306: Missing dependency operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 307: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 308: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 311: Missing dependency operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 312: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 313: Need an operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 327: Missing dependency operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 328: Missing dependency operator
make: "/usr/home/***/node_modules/node-sass/build/Makefile" line 329: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/home/***/node_modules/node-sass/build
I am everything but an expert, but I think that to build on freebsd one needs gmake. I took a look at the makefile
and gcc
seems to be used:
CC.host ?= gcc
Regards, Daniele.
you can try with env CFLAGS=-I/usr/local gmake
instead of make
@pizzamig,
I do not think this will solve the issue:
ACTION Regenerating Makefile Traceback (most recent call last): File "/usr/home/User/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module> sys.exit(gyp.script_main()) File "/usr/home/User/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main return main(sys.argv[1:]) File "/usr/home/User/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main return gyp_main(args) File "/usr/home/User/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 514, in gyp_main options.duplicate_basename_check) File "/usr/home/User/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 130, in Load params['parallel'], params['root_targets']) File "/usr/home/User/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2772, in Load check, generator_input_info) File "/usr/home/User/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 604, in LoadTargetBuildFilesParallel parallel_state.pool = multiprocessing.Pool(multiprocessing.cpu_count()) File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 232, in Pool return Pool(processes, initializer, initargs, maxtasksperchild) File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 138, in __init__ self._setup_queues() File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 233, in _setup_queues from .queues import SimpleQueue File "/usr/local/lib/python2.7/multiprocessing/queues.py", line 48, in <module> from .synchronize import Lock, BoundedSemaphore, Semaphore, Condition File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 59, in <module> " function, see issue 3770.") ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770. gmake: *** [Makefile:318: Makefile] Error 1
It seems like FBD does not have support for python multi-processing. I am not sure this would be easily fixable...
Has your python pkg the POSIX Semaphore support enabled? You can check it via pkg info python27
The Option SEM has to be on.
I've built sass on FreeBSD without any problem (but using yarn).
Hi @pizzamig,
your suggestion was definitely correct (I did compile python27 without SEM
support). Nevertheless I still cannot get the module to compile. I do not have a specific preference for npm over yarn, but I am quite curious to know how you managed to get sass on your system.
What seems quite odd to me is that in order to get the access to the makefile
, I have to stop the compilation of node-sass
and then move to the build
folder. Even then the compiler complains about the missing (wrongly linked) uv.h
library.
Is there any way to get a clear description on how to compile this modue starting from how to get the access to the makefile
?
Daniele.
I added the yarn package to FreeBSD. I've asked our javascript developers a kind of stress test and they told me to install node-sass. This is the procedure I followed (I've just repeated it now):
mkdir test
cd test
yarn init
yarn node-sass
On my laptop, it took around 90 seconds to build. No errors. In your case, it seems to me that your node-sass build process is not configured to use /usr/local
. In FreeBSD, all packages are installed, normally, under /usr/local
. That means that:
/usr/include
, but also /usr/local/include
(where the missing uv.h
is)/lib
and /usr/lib
, but also /usr/local/lib
(where the libuv.so is)Normally, configure
extends the CFLAGS with -I/usr/local/include
and LDFLAGS with -L/usr/local/lib
.
It's hard to me to understand what's happened in your case; I'll try to install npm and to install node-sass with it. I've forgot to mention, that I performed my test using node 6.10.2
Hi there,
I think I will simply give up on this. I am a bit frustrated as none of the suggestions proposed worked and with yarn I get into the same dead end road as with npm. I tried patching the build.js
the following way:
function build(options) {
var args = [require.resolve(path.join('node-gyp', 'bin', 'node-gyp.js')), 'rebuild', '--verbose'].concat(
['libsass_ext', 'libsass_cflags', 'libsass_ldflags', 'libsass_library'].map(function(subject) {
if (process.platform == 'freebsd') { // Freebsd
if (subject == 'libsass_cflags') {
return ['--', subject, '=', '/usr/local/include' || ''].join('');
} else if (subject == 'libsass_ldflags') {
return ['--', subject, '=', '/usr/local/lib' || ''].join('');
} else {
return ['--', subject, '=', process.env[subject.toUpperCase()] || ''].join('');
}
} else if (arguments.length >= 2) { // Windows, Linux, et. al
console.info('Starting build on ' + process.platform);
return ['--', subject, '=', process.env[subject.toUpperCase()] || ''].join('');
}
})).concat(options.args);
console.log('Building:', [process.execPath].concat(args).join(' '));
var proc = spawn(process.execPath, args, {
stdio: [0, 1, 2]
});
proc.on('exit', function(errorCode) {
if (!errorCode) {
afterBuild(options);
return;
}
if (errorCode === 127 ) {
console.error('node-gyp not found!');
} else {
console.error('Build failed with error code:', errorCode);
}
process.exit(1);
});
}
but I cannot get the npm install --nodedir=/usr/local -g node-sass@latest
to work on the patched build.js
as the latter seems to be a temporary file under /usr/local/bin/node-sass -> /usr/local/lib/node_modules/node-sass/bin/node-sass
.
If any of you guys have any idea... please just let me know.
Regards, Daniele.
I've managed to get node-sass to build by setting the following:
export CC=gcc5
export CXX=g++5
However, this would be much simpler if the binaries existed in the node-sass repo. I'd be happy to build and upload these if that would help. Just give me some guidance on how to do that and I am happy to set aside some cycles to see that releases get built.
@rterbush thanks for the offer! Right now, NodeJS builds with GCC 4.9 (sorry link to that is off the 8.2 release notes). The best way to get this fixed might be to figure out a Docker file that we can add to our release process if that's in your skillset.
@nschonni is the release process documented somewhere that you can point me to?
I'm a bit confused, as you would need a running FreeBSD environment to host a FreeBSD docker image. If you are building on some other virtualization tech, I am sure I could help you pull together a FreeBSD image to run compiles.
Binaries for modern FreeBSD systems (10, 11, 12) should be built using clang, not gcc. I have no idea how to run FreeBSD userland in the docker container on Linux. Probably you cannot.
https://hub.docker.com/r/auchida/freebsd/
https://fosskb.in/2015/07/28/docker-on-freebsd-11/
explain that needs FreeBSD host anyway - in that case we are better off with poudriere (as I did it in the past).
When dropping support for old versions and keeping only node versions available in the ports tree it should be much easier.
I'd prefer not to mix the package management solution with some things being installed with npm and others installed from ports. That is a path to frustration in my experience.
Not sure how you are currently building binaries, but it would be easy to create an AWS image to run compiles from if that fits into your model. Let me know if I can help.
I am using pourdiere (on my infrastructure, don't need AWS) just to ensure my builds are clean and I can test on FreeBSD 10 and 11, i386 and amd64 alike.
I have solved a whole npm complexity by using a temporary directory to store all required modules.
so I don't need to deal with a whole npm dependency hell. I also shrinkwrap it to make sure my builds are reproducible.
The only thing which needs to be done is to finish restoring of my poudriere infrastructure. If we drop support for old node engines, I can get rid of my custom node/iojs ports and the npm hack to make them all work. But even without that simplification, my update procedure should work
@saper Just to be clear, I'm not suggesting that AWS is a solution for individuals to build their own copy of node-sass. Simply offering some assistance to help build a FreeBSD distribution and at least clear up the 404 errors that everyone sees on the platform when trying to use npm to install node-sass.
To your other points... unfortunately, not all node modules are available through ports. So if you choose to install ANY node modules via ports, you are making the decision to mix two methods of software distribution. In my experience, that will invariably result in some conflicts or incompatibilities. I'm currently dealing with this same situation for the sharp
module, which is not available in ports.
Once again, I'm just voicing a need for a FreeBSD distribution package and offering to help produce one if there is interest.
of course, I think I have understood you correctly that it is about building the binding on AWS instead of using, say, docker.
Can you have a look at my ports and see if that is something you could work with? I am using only libsass, node and npm as port dependencies, keeping all node deps outside of FreeBSD packaging (well, almost, they end up in node-sass plist).
of course, I think I have understood you correctly that it is about building the binding on AWS instead of using, say, docker.
@saper Sorry to continue to beat on this, but that is NOT what this is about.
Docker is not an option for building distribution binaries for FreeBSD since it still requires the builder to have a FreeBSD server to host the Docker image.
The real point of my post was just to offer pulling together a FreeBSD distribution build process that is compatible with the current project process for creating distribution binaries. Attempting to help solve the problem rather than just being a me too
voice.
The real point of my original post to this thread was to offer some assistance to the project in building a distribution binary so that an npm install
would work and allow other FreeBSD users to avoid the compiler issues that still persist.
I appreciate the work that you have done to support the install through ports, but I am not willing to use ports to solve this problem. Same rule applies to ruby gems, python modules, etc. I will not use ports to install these language extensions globally as each application has its own unique requirements when it comes to versions, etc. IMO, that is the role of things like npm, rbenv, virtualenv, etc.
OK, how do you think this should be done in the best way?
@saper Let me answer that with a few other questions.
How are you generating the binaries for your currently supported platforms?
How could I provide a binary (or build server/image) for FreeBSD that best fits into that same process?
Most of the base binaries are built off of Travis-CI (Linux and OSX) and AppVeyor (Windows). The Alpine ones are built using the official NodeJS Docker image.
Just for anyone who wants an immediately workable solution, the following worked for me:
pkg install libsass
LIBSASS_EXT=auto npm install node-sass@4.3.0 --nodedir=/usr/local
This uses the system install of libsass
which is currently at 3.4.4 and drops back to an old version of node-sass which will successfully link against that version of libsass
. The --nodedir
argument is required to use the system node
headers rather than trying to download a fresh copy.
@rterbush here is my documentation (only jail versions and node versions have changed in the meantime)
https://github.com/saper/node-sass/wiki/Building-binaries-on-FreeBSD
To reproduce it a FreeBSD machine running poudriere is needed, my custom ports tree overlay and one or two scrips, sell of them should be linked from there.
@saper looking into the issue with travis-ci, this may be relevant. I've not yet determined if FreeBSD support has crept into travis since that issue was closed. https://github.com/travis-ci/travis-ci/issues/1818
So it begs the question if the project wants to consider some other path to getting this binary built (which I am still willing to help) or perhaps preventing the attempt to download a FreeBSD binary and thus the 404 errors and just falling back to node-gyp process to build locally.
@rterbush Did you check my documentation?
@saper I did, but missed the part about the script you are using to copy the binary builds into the distribution area for node-sass.
So that begs the question, Why are there no FreeBSD binaries if you have already worked out this process to create them? Is it just that you lack the FreeBSD machine now?
When I run
npm install node-sass
on my Freebsd machine I get:The file freebsd-x64-51_binding.node does not exist. Where can one find this file?
Regards, Daniele.