+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-RNetCDF-2.9.2nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-RNetCDF-2.9.2nb3/work.log ===> Installing for R-RNetCDF-2.9.2nb3 => Generating pre-install file lists => Creating installation directories * installing *source* package 'RNetCDF' ... ** package 'RNetCDF' successfully unpacked and MD5 sums checked ** using staged installation configure: Find compiler/linker variables from environment: checking CFLAGS... -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include checking CPPFLAGS... -I/opt/pkg/include -I/usr/include checking LDFLAGS... -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 checking LIBS... configure: Select C compiler: checking C compiler from --with-mpicc... checking C compiler from R... gcc configure: Find compiler/linker variables from R: checking R_CFLAGS... -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ncurses checking R_CPPFLAGS... -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ncurses checking R_LDFLAGS... -Wl,-R/opt/pkg/lib/R/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 checking for gcc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for gcc options needed to detect all undeclared functions... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether _WIN32 is declared... no checking whether __APPLE__ is declared... no configure: Operating system is Unix-alike checking for nc-config... yes configure: Check compiler/linker variables from nc-config: checking NC_CC... gcc checking NC_CC matches selected C compiler... yes checking nc-config --cflags... -I/opt/pkg/include -I/usr/include -I/opt/pkg/include checking nc-config --libs ... -L/opt/pkg/lib -lnetcdf configure: Check compiler type sizes and language features checking size of int... 0 checking size of long long... 0 checking size of size_t... 0 checking for C/C++ restrict keyword... __restrict__ configure: Check NetCDF features: checking for netcdf.h... yes checking for library containing nc_open... no configure: error: netcdf library was not linked - defining LDFLAGS may help ERROR: configuration failed for package 'RNetCDF' * removing '/home/pbulk/build/math/R-RNetCDF/work/.destdir/opt/pkg/lib/R/library/RNetCDF' *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R-RNetCDF *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/R-RNetCDF