+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mtools-4.0.43/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mtools-4.0.43/work.log ===> Building for mtools-4.0.43 gcc -I/opt/pkg/include -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -DCPU_x86_64 -DVENDOR_sun -DOS_solaris2_11 -DOS_solaris2 -DOS_solaris -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I. -c buffer.c gcc -I/opt/pkg/include -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -DCPU_x86_64 -DVENDOR_sun -DOS_solaris2_11 -DOS_solaris2 -DOS_solaris -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I. -c charsetConv.c gcc -I/opt/pkg/include -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -DCPU_x86_64 -DVENDOR_sun -DOS_solaris2_11 -DOS_solaris2 -DOS_solaris -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I. -c codepages.c gcc -I/opt/pkg/include -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -DCPU_x86_64 -DVENDOR_sun -DOS_solaris2_11 -DOS_solaris2 -DOS_solaris -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I. -c config.c gcc -I/opt/pkg/include -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/opt/pkg\" -DCPU_x86_64 -DVENDOR_sun -DOS_solaris2_11 -DOS_solaris2 -DOS_solaris -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I. -I. -c copyfile.c charsetConv.c: In function 'try': charsetConv.c:71:21: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 71 | &inbuf, &inbufLen, | ^~~~~~ | | | char ** In file included from charsetConv.c:28: /home/pbulk/build/sysutils/mtools/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ charsetConv.c: In function 'dos_to_wchar': charsetConv.c:161:27: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 161 | r=iconv(cp->from, &dos2, &in_len, (char **)&dptr, &out_len); | ^~~~~ | | | char ** /home/pbulk/build/sysutils/mtools/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ charsetConv.c: In function 'safe_iconv': charsetConv.c:184:31: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 184 | r=iconv(conv, (char**)&wchar, &in_len, &dptr, &out_len); | ^~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/sysutils/mtools/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ gmake: *** [Makefile:142: charsetConv.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mtools *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mtools