+ 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-ragg-1.2.7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-ragg-1.2.7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for R-ragg-1.2.7
=> Generating pre-install file lists
=> Creating installation directories
* installing *source* package 'ragg' ...
** package 'ragg' successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/opt/pkg/include/freetype2 -I/opt/pkg/include -I/opt/pkg/include/libpng16
Using PKG_LIBS=-L/opt/pkg/lib -lfreetype -lpng16 -ltiff -Wl,-R/opt/pkg/lib -ljpeg -ljpeg
** libs
using C++ compiler: 'g++ (GCC) 13.3.0'
g++ -std=gnu++17 -I"/opt/pkg/lib/R/include" -DNDEBUG -I./agg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include -I/opt/pkg/include/libpng16 -I'/opt/pkg/lib/R/library/systemfonts/include' -I'/opt/pkg/lib/R/library/textshaping/include' -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    -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   -c agg/src/agg_curves.cpp -o agg/src/agg_curves.o
g++ -std=gnu++17 -I"/opt/pkg/lib/R/include" -DNDEBUG -I./agg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include -I/opt/pkg/include/libpng16 -I'/opt/pkg/lib/R/library/systemfonts/include' -I'/opt/pkg/lib/R/library/textshaping/include' -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    -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   -c agg/src/agg_font_freetype.cpp -o agg/src/agg_font_freetype.o
agg/src/agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<int, 6>; FT_Outline = FT_Outline_]':
agg/src/agg_font_freetype.cpp:1070:48:   required from here
agg/src/agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
agg/src/agg_font_freetype.cpp: In instantiation of 'bool agg::decompose_ft_outline(const FT_Outline&, bool, const trans_affine&, PathStorage&) [with PathStorage = path_storage_integer<short int, 6>; FT_Outline = FT_Outline_]':
agg/src/agg_font_freetype.cpp:1091:48:   required from here
agg/src/agg_font_freetype.cpp:182:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  182 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~
      |                                   |
      |                                   unsigned char*
*** Error code 1

Stop.
make: stopped making "ragg.so" in /home/pbulk/build/graphics/R-ragg/work/ragg/src
ERROR: compilation failed for package 'ragg'
* removing '/home/pbulk/build/graphics/R-ragg/work/.destdir/opt/pkg/lib/R/library/ragg'
*** Error code 1

Stop.
bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/R-ragg
*** Error code 1

Stop.
bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/R-ragg