+ 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/hercules-3.13nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hercules-3.13nb3/work.log ===> Building for hercules-3.13nb3 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' Making all in decNumber gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/decNumber' CC decimal128.lo CC decContext.lo CC decimal32.lo CC decimal64.lo CC decNumber.lo CC decPacked.lo CCLD libdecNumber.la gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/decNumber' Making all in softfloat gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/softfloat' CC softfloat.lo CCLD libsoftfloat.la gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/softfloat' Making all in m4 gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/m4' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/m4' Making all in util gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/util' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/util' Making all in html gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/html' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/html' Making all in man gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/man' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13/man' Making all in . gmake[2]: Entering directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' CC hsys.lo CC version.lo CC hscutl.lo CC hscutl2.lo CC codepage.lo CC logger.lo CC logmsg.lo codepage.c: In function 'set_iconv_cp': codepage.c:1011:28: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1011 | if(iconv(codepage_g2h, (char**)&ibytes, &nibytes, &obytes, &nobytes) == (size_t)(-1) ) | ^~~~~~~~~~~~~~~ | | | char ** In file included from hstdinc.h:171, from codepage.c:4: /home/pbulk/build/emulators/hercules/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); | ~~~~~~~~~~~~~~^~~~~ codepage.c:1022:28: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1022 | if(iconv(codepage_h2g, (char**)&ibytes, &nibytes, &obytes, &nobytes) == (size_t)(-1) ) | ^~~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/emulators/hercules/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); | ~~~~~~~~~~~~~~^~~~~ codepage.c: In function 'host_to_guest': codepage.c:1081:29: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1081 | iconv(codepage_h2g, (char**)&hbyte, &inbytes, &gbyte, &outbytes); | ^~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/emulators/hercules/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); | ~~~~~~~~~~~~~~^~~~~ codepage.c: In function 'guest_to_host': codepage.c:1100:29: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 1100 | iconv(codepage_g2h, (char**)&gbyte, &inbytes, &hbyte, &outbytes); | ^~~~~~~~~~~~~~ | | | char ** /home/pbulk/build/emulators/hercules/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[2]: *** [Makefile:1754: codepage.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from hercules.h:87, from logger.c:19: logger.c: In function 'logger_init': hthreads.h:157:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 157 | ptt_pthread_create(ptid,pat,(THREAD_FUNC*)&(fn),arg,(nm),PTT_LOC) | ^ logger.c:524:9: note: in expansion of macro 'create_thread' 524 | if (create_thread (&logger_tid, JOINABLE, | ^~~~~~~~~~~~~ gmake[2]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' gmake[1]: *** [Makefile:1776: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/emulators/hercules/work/hercules-3.13' gmake: *** [Makefile:1309: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/hercules *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/hercules