+ 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-polyclip-1.10.7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-polyclip-1.10.7/work.log ===> Installing for R-polyclip-1.10.7 => Generating pre-install file lists => Creating installation directories * installing *source* package 'polyclip' ... ** package 'polyclip' successfully unpacked and MD5 sums checked ** using staged installation 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 g++ accepts -g... yes Using PKG_CONFIG: /home/pbulk/build/graphics/R-polyclip/work/.tools/bin/pkg-config Compiling against bundled copy of clipper library. checking for int64_t... yes In the clipper library, signed 64-bit integers (cInt) will be declared as 'int64_t' checking for uint64_t... yes In the clipper library, unsigned 64-bit integers (cUInt) will be declared as 'uint64_t' configure: creating ./config.status config.status: creating src/Makevars ** libs using C compiler: 'gcc (GCC) 14.3.0' using C++ compiler: 'g++ (GCC) 14.3.0' gcc -I"/opt/pkg/lib/R/include" -DNDEBUG -DPOLYCLIP_LONG64="int64_t" -DPOLYCLIP_ULONG64="uint64_t" -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 -I/opt/pkg/include/libxml2 -fPIC -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 -I/opt/pkg/include/libxml2 -c init.c -o init.o g++ -std=gnu++17 -I"/opt/pkg/lib/R/include" -DNDEBUG -DPOLYCLIP_LONG64="int64_t" -DPOLYCLIP_ULONG64="uint64_t" -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 -I/opt/pkg/include/libxml2 -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 -I/opt/pkg/include/libxml2 -fPIC -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 -I/opt/pkg/include/libxml2 -c interface.cpp -o interface.o g++ -std=gnu++17 -I"/opt/pkg/lib/R/include" -DNDEBUG -DPOLYCLIP_LONG64="int64_t" -DPOLYCLIP_ULONG64="uint64_t" -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 -I/opt/pkg/include/libxml2 -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 -I/opt/pkg/include/libxml2 -fPIC -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 -I/opt/pkg/include/libxml2 -c clipper.cpp -o clipper.o g++ -std=gnu++17 -shared -L/opt/pkg/lib/R/lib -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 -o polyclip.so init.o interface.o clipper.o -L/opt/pkg/lib/R/lib installing to /home/pbulk/build/graphics/R-polyclip/work/.destdir/opt/pkg/lib/R/library/00LOCK-polyclip/00new/polyclip/libs ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for 'polyclip' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/pbulk/build/graphics/R-polyclip/work/.destdir/opt/pkg/lib/R/library/00LOCK-polyclip/00new/polyclip/libs/polyclip.so': ld.so.1: R: fatal: libstdc++.so.6: open failed: No such file or directory Error: loading failed Execution halted ERROR: loading failed * removing '/home/pbulk/build/graphics/R-polyclip/work/.destdir/opt/pkg/lib/R/library/polyclip' *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/R-polyclip *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/R-polyclip