Skip to content

can't build node-sass under FreeBSD 11.1 #17404

Closed
@oschonrock

Description

@oschonrock

Duplicate of the (closed) #14076

I still have problems building node-sass (under gyp) on FBSD11.1.

In order to get the fix in mat813/freebsd-ports@cea3aae now, I updated to latest packages:

# cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}

and then

pkg install npm-node8

New packages to be INSTALLED:
        npm-node8: 5.4.2_2
        node8: 8.9.1_1

but still

$ npm install node-sass
...
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /usr/local/www/bootstrap4.webcollect.org.uk/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /usr/local/www/bootstrap4.webcollect.org.uk/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /usr/local/www/bootstrap4.webcollect.org.uk/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/local/www/bootstrap4.webcollect.org.uk/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/local/www/bootstrap4.webcollect.org.uk/node_modules/node-sass/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/www/bootstrap4.webcollect.org.uk/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/oliver/.node-gyp/8.9.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',  
gyp info spawn args   '-Dnode_root_dir=/home/oliver/.node-gyp/8.9.1',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/www/bootstrap4.webcollect.org.uk/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/oliver/.node-gyp/8.9.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/usr/local/www/bootstrap4.webcollect.org.uk/node_modules/node-sass',
gyp info spawn args   '-Dnode_engine=v8',
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 /home/oliver/.node-gyp/8.9.1
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/local/www/bootstrap4.webcollect.org.uk/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/home/oliver/.node-gyp/8.9.1/include/node -I/home/oliver/.node-gyp/8.9.1/src -I/home/oliver/.node-gyp/8.9.1/deps/uv/include -I/home/oliver/.node-gyp/8.9.1/deps/v8/include -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1 -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
In file included from ../src/libsass/src/ast.cpp:1:
In file included from ../src/libsass/src/sass.hpp:46:
In file included from ../src/libsass/include/sass/base.h:19:
In file included from /usr/include/c++/v1/stddef.h:40:
/usr/include/c++/v1/__config:73:2: error: "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. use _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
      instead
#error "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. \

also documented here: sass/node-sass#2153 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    addonsIssues and PRs related to native addons.buildIssues and PRs related to build files or the CI.freebsdIssues and PRs related to the FreeBSD platform.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions