+ 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/xf86-video-sis-0.12.0nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-sis-0.12.0nb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xf86-video-sis-0.12.0nb2 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- init.lo --- --- init301.lo --- --- initextx.lo --- --- sis300_accel.lo --- --- init.lo --- CC init.lo --- init301.lo --- CC init301.lo --- initextx.lo --- CC initextx.lo --- sis300_accel.lo --- CC sis300_accel.lo --- initextx.lo --- initextx.c: In function 'SiSBuildBuiltInModeList': initextx.c:255:22: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 255 | sprintf(current->name, "%hu%hu", pSiS->SiS_Pr->SiS_RefIndex[i].XRes, | ~~~~~~~^~~~~~ In file included from /usr/include/stdio.h:82, from sis.h:36, from initextx.h:38, from initextx.c:36: /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'const char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ initextx.c:405:33: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 405 | strcpy(current->name, SiS_PlasmaMode[l].name); | ~~~~~~~^~~~~~ In file included from /usr/include/string.h:35, from sis.h:37: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'const char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ initextx.c:488:28: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 488 | sprintf(current->name, "%dx%d", pSiS->SiS_Pr->CP_HDisplay[i], | ~~~~~~~^~~~~~ /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'const char *' 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ --- sis310_accel.lo --- CC sis310_accel.lo --- sis6326_video.lo --- CC sis6326_video.lo --- sis_accel.lo --- CC sis_accel.lo --- sis_cursor.lo --- CC sis_cursor.lo --- sis_dac.lo --- CC sis_dac.lo --- sis_dga.lo --- CC sis_dga.lo --- sis_driver.lo --- CC sis_driver.lo sis_driver.c: In function 'SiS_SiSFB_Lock': sis_driver.c:454:8: error: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 454 | ioctl(fd, SISFB_SET_LOCK, &parm); | ^~~~~ sis_driver.c: In function 'SISPreInit': sis_driver.c:6094:25: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6094 | strcpy(newm->name, tempm->name); | ~~~~^~~~~~ In file included from /usr/include/string.h:35, from sis.h:37, from sis_driver.c:50: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'const char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ *** [sis_driver.lo] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/x11/xf86-video-sis/work/xf86-video-sis-0.12.0/src bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/build/x11/xf86-video-sis/work/xf86-video-sis-0.12.0/src bmake[1]: stopped making "all-recursive" in /home/pbulk/build/x11/xf86-video-sis/work/xf86-video-sis-0.12.0 bmake: stopped making "all" in /home/pbulk/build/x11/xf86-video-sis/work/xf86-video-sis-0.12.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xf86-video-sis *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xf86-video-sis