+ 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/odt2txt-0.5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/odt2txt-0.5/work.log ===> Building for odt2txt-0.5 gcc -O2 -DICONV_CHAR="const char" -I/opt/pkg/include -c -o odt2txt.o odt2txt.c gcc -O2 -DICONV_CHAR="const char" -I/opt/pkg/include -c -o regex.o regex.c gcc -O2 -DICONV_CHAR="const char" -I/opt/pkg/include -c -o mem.o mem.c gcc -O2 -DICONV_CHAR="const char" -I/opt/pkg/include -c -o strbuf.o strbuf.c odt2txt.c: In function 'conv': odt2txt.c:277:31: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 277 | r = iconv(ic, &doc, &inleft, &out, &outleft); | ^~~~ | | | const char ** In file included from odt2txt.c:20: /home/pbulk/build/converters/odt2txt/work/.buildlink/include/iconv.h:82:43: note: expected 'char **' but argument is of type 'const char **' 82 | extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~ odt2txt.c: In function 'subst_doc': odt2txt.c:342:39: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 342 | r = iconv(ic, &in, &inleft, &out, &outleft); | ^~~ | | | const char ** /home/pbulk/build/converters/odt2txt/work/.buildlink/include/iconv.h:82:43: note: expected 'char **' but argument is of type 'const char **' 82 | extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~ gmake: *** [: odt2txt.o] Error 1 gmake: *** Waiting for unfinished jobs.... regex.c: In function 'image': regex.c:176:9: warning: 'memcpy' reading 11 bytes from a region of size 5 [-Wstringop-overread] 176 | memcpy(match + pr_len + len, postfix, po_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/converters/odt2txt *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/converters/odt2txt