=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Installing for R-nloptr-1.0.4
=> Generating pre-install file lists
=> Creating installation directories
/usr/bin/env R_LIBS= DESTDIR=/data/scratch/math/R-nloptr/work/.destdir USETOOLS=no CC=clang CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=clang++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/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/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/math/R-nloptr/work/.cwrapper/bin:/data/scratch/math/R-nloptr/work/.buildlink/bin:/data/scratch/math/R-nloptr/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/data/scratch/math/R-nloptr/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/math/R-nloptr/work/.cwrapper/config CPP=clang-cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/data/scratch/math/R-nloptr/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/data/scratch/math/R-nloptr/work/.buildlink/lib/pkgconfig:/data/scratch/math/R-nloptr/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/math/R-nloptr/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/math/R-nloptr/work/.cwrapper/config /usr/pkg/bin/R  CMD INSTALL -l /data/scratch/math/R-nloptr/work/.destdir/usr/pkg/lib/R/library /data/scratch/math/R-nloptr/work/nloptr
* installing *source* package 'nloptr' ...
file 'configure' has the wrong MD5 checksum
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking how to run the C++ preprocessor... clang++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether clang++ accepts -g... (cached) yes
checking for pkg-config... no
configure: Now testing for NLopt header file.
checking for grep that handles long lines and -e... /data/scratch/math/R-nloptr/work/.tools/bin/grep
checking for egrep... /data/scratch/math/R-nloptr/work/.tools/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking nlopt.h usability... yes
checking nlopt.h presence... yes
checking for nlopt.h... yes
configure: Suitable NLopt library found.
configure: creating ./config.status
config.status: creating src/Makevars
** libs
clang++ -I/usr/pkg/lib/R/include -DNDEBUG  -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/include/krb5    -fpic  -O2 -pthread -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/include/krb5  -c dummy.cpp -o dummy.o
clang -I/usr/pkg/lib/R/include -DNDEBUG  -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/include/krb5    -fpic  -O2 -pthread -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -I/usr/include/krb5  -c nloptr.c -o nloptr.o
clang++ -shared -Wl,-R/usr/pkg/lib/R/lib -L/usr/pkg/lib/R/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -pthread -o nloptr.so dummy.o nloptr.o -Wl,-R/usr/pkg/lib/R/lib -L/usr/pkg/lib/R/lib -lR
installing to /data/scratch/math/R-nloptr/work/.destdir/usr/pkg/lib/R/library/nloptr/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/data/scratch/math/R-nloptr/work/.destdir/usr/pkg/lib/R/library/nloptr/libs/nloptr.so':
  /data/scratch/math/R-nloptr/work/.destdir/usr/pkg/lib/R/library/nloptr/libs/nloptr.so: Undefined PLT symbol "nlopt_set_maxtime" (symnum = 4)
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/data/scratch/math/R-nloptr/work/.destdir/usr/pkg/lib/R/library/nloptr'
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/math/R-nloptr
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/math/R-nloptr