pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
seg fault building npm
With an 8.0 stable system fetch 15/09/2019 (although I've been seeing
the same behaviour on my last 3 weekly 8-stable builds) I'm seeing a
seg-fault very early in the building of npm:
Failure output is as follows:
===> Building for npm-6.4.1
cd /pkg_comp/obj/pkgsrc/lang/npm/default/cli-6.4.1 && /usr/bin/env
USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread
PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\
-pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\
-D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include
CPPFLAGS=-I/usr/include\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\
-D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include
COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C
LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C
LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\
-Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R
PATH=/pkg_comp/obj/pkgsrc/lang/npm/default/.cwrapper/bin:/pkg_comp/obj/pkgsrc/lang/npm/default/.buildlink/bin:/pkg_comp/obj/pkgsrc/lang/npm/default/.gcc/bin:/pkg_comp/obj/pkgsrc/lang/npm/default/.tools/bin:/usr/pkg/bin:/usr/pkg/java/openjdk8/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin
PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc
CXXCPP=cpp HOME=/pkg_comp/obj/pkgsrc/lang/npm/default/.home
CWRAPPERS_CONFIG_DIR=/pkg_comp/obj/pkgsrc/lang/npm/default/.cwrapper/config
CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man
PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF
USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\
wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\
wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\
wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\
wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\
wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install
BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\
755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\
-m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\
-m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\
-m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\
-m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\
-m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\
wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\
wheel\ -m\ 775 INSTALL_INFO=
MAKEINFO=/pkg_comp/obj/pkgsrc/lang/npm/default/.tools/bin/makeinfo FLEX=
BISON= PKG_CONFIG=
PKG_CONFIG_LIBDIR=/pkg_comp/obj/pkgsrc/lang/npm/default/.buildlink/lib/pkgconfig:/pkg_comp/obj/pkgsrc/lang/npm/default/.buildlink/share/pkgconfig
PKG_CONFIG_LOG=/pkg_comp/obj/pkgsrc/lang/npm/default/.pkg-config.log
PKG_CONFIG_PATH=
CWRAPPERS_CONFIG_DIR=/pkg_comp/obj/pkgsrc/lang/npm/default/.cwrapper/config
node bin/npm-cli.js install
/pkg_comp/obj/pkgsrc/lang/npm/default/marked-0.4.0 --no-global
--no-timing --no-save
[1] Segmentation fault /usr/bin/env USE...
*** Error code 139
This is using the default dependency of nodejs-10.11
I've tried this both inside my pkg_comp chroot and outside on the same
system. I also tried building node8 but that failed to link.
I've only recently added node to my package build list so I've got no
idea what would be expected here. The nodejs javascript interpreter
seems okay although I did get this slightly worrying output building it:
=> Generating pre-install file lists
/bin/chmod -R g-w /pkg_comp/obj/pkgsrc/lang/nodejs/default/node-v10.11.0
#
# Fatal process OOM in heap setup
#
[1] Illegal instruction (core dumped) /pkg_comp/obj/pk...
#
# Fatal process OOM in heap setup
#
[1] Illegal instruction (core dumped) /pkg_comp/obj/pk...
Any ideas/suggestions?
Mike
Home |
Main Index |
Thread Index |
Old Index