+ 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-r128-6.13.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-r128-6.13.0/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xf86-video-r128-6.13.0
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/home/pbulk/build/x11/xf86-video-r128/work/xf86-video-r128-6.13.0'
Making all in src
gmake[2]: Entering directory '/home/pbulk/build/x11/xf86-video-r128/work/xf86-video-r128-6.13.0/src'
  CC       r128_accel.lo
  CC       r128_crtc.lo
r128_crtc.c: In function 'r128_crtc_shadow_allocate':
r128_crtc.c:1006:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
 1006 |     return info->FB + rotate_offset;
      |                     ^
  CC       r128_cursor.lo
r128_cursor.c: In function 'r128_crtc_load_cursor_image':
r128_cursor.c:187:21: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
  187 |     memcpy(info->FB + r128_crtc->cursor_offset + pScrn->fbOffset, src, CURSOR_WIDTH * CURSOR_HEIGHT / 4);
      |                     ^
r128_cursor.c:187:48: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
  187 |     memcpy(info->FB + r128_crtc->cursor_offset + pScrn->fbOffset, src, CURSOR_WIDTH * CURSOR_HEIGHT / 4);
      |                                                ^
  CC       r128_driver.lo
  CC       r128_misc.lo
  CC       r128_output.lo
r128_output.c: In function 'R128OutputCreate':
r128_output.c:410:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
  410 |     sprintf(buf, name, i);
      |     ^~~~~~~
  CC       r128_probe.lo
  CC       r128_video.lo
r128_video.c:144:48: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  144 |    {XvSettable | XvGettable, 0, (1 << 24) - 1, "XV_COLORKEY"},
      |                                                ^~~~~~~~~~~~~
r128_video.c:145:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  145 |    {XvSettable | XvGettable, -64, 63, "XV_BRIGHTNESS"},
      |                                       ^~~~~~~~~~~~~~~
r128_video.c:146:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  146 |    {XvSettable | XvGettable, 0, 31, "XV_SATURATION"},
      |                                     ^~~~~~~~~~~~~~~
r128_video.c:147:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  147 |    {XvSettable | XvGettable, 0, 1, "XV_DOUBLE_BUFFER"}
      |                                    ^~~~~~~~~~~~~~~~~~
  CC       r128_exa.lo
r128_exa.c: In function 'R128EXAInit':
r128_exa.c:412:44: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
  412 |     info->ExaDriver->memoryBase = info->FB + pScrn->fbOffset;
      |                                            ^
  CC       r128_exa_render.lo
  CC       r128_dri.lo
r128_dri.c: In function 'R128DRIAgpInit':
r128_dri.c:246:56: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  246 |                "[agp] %d kB allocated with handle 0x%08x\n",
      |                                                     ~~~^
      |                                                        |
      |                                                        unsigned int
      |                                                     %08lx
  247 |                info->agpSize*1024, info->agpMemHandle);
      |                                    ~~~~~~~~~~~~~~~~~~   
      |                                        |
      |                                        drm_handle_t {aka long unsigned int}
r128_dri.c:286:42: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  286 |                "[agp] ring handle = 0x%08x\n", info->ringHandle);
      |                                       ~~~^     ~~~~~~~~~~~~~~~~
      |                                          |         |
      |                                          |         drm_handle_t {aka long unsigned int}
      |                                          unsigned int
      |                                       %08lx
r128_dri.c:304:51: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  304 |                "[agp] ring read ptr handle = 0x%08x\n",
      |                                                ~~~^
      |                                                   |
      |                                                   unsigned int
      |                                                %08lx
  305 |                info->ringReadPtrHandle);
      |                ~~~~~~~~~~~~~~~~~~~~~~~             
      |                    |
      |                    drm_handle_t {aka long unsigned int}
r128_dri.c:324:61: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  324 |                "[agp] vertex/indirect buffers handle = 0x%08x\n",
      |                                                          ~~~^
      |                                                             |
      |                                                             unsigned int
      |                                                          %08lx
  325 |                info->bufHandle);
      |                ~~~~~~~~~~~~~~~                               
      |                    |
      |                    drm_handle_t {aka long unsigned int}
r128_dri.c:344:53: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  344 |                "[agp] AGP texture map handle = 0x%08x\n",
      |                                                  ~~~^
      |                                                     |
      |                                                     unsigned int
      |                                                  %08lx
  345 |                info->agpTexHandle);
      |                ~~~~~~~~~~~~~~~~~~                    
      |                    |
      |                    drm_handle_t {aka long unsigned int}
r128_dri.c: In function 'R128DRIPciInit':
r128_dri.c:406:56: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  406 |                "[pci] %d kB allocated with handle 0x%08x\n",
      |                                                     ~~~^
      |                                                        |
      |                                                        unsigned int
      |                                                     %08lx
  407 |                info->agpSize*1024, info->pciMemHandle);
      |                                    ~~~~~~~~~~~~~~~~~~   
      |                                        |
      |                                        drm_handle_t {aka long unsigned int}
r128_dri.c:430:42: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  430 |                "[pci] ring handle = 0x%08x\n", info->ringHandle);
      |                                       ~~~^     ~~~~~~~~~~~~~~~~
      |                                          |         |
      |                                          |         drm_handle_t {aka long unsigned int}
      |                                          unsigned int
      |                                       %08lx
r128_dri.c:451:51: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  451 |                "[pci] ring read ptr handle = 0x%08x\n",
      |                                                ~~~^
      |                                                   |
      |                                                   unsigned int
      |                                                %08lx
  452 |                info->ringReadPtrHandle);
      |                ~~~~~~~~~~~~~~~~~~~~~~~             
      |                    |
      |                    drm_handle_t {aka long unsigned int}
r128_dri.c:474:61: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  474 |                "[pci] vertex/indirect buffers handle = 0x%08x\n",
      |                                                          ~~~^
      |                                                             |
      |                                                             unsigned int
      |                                                          %08lx
  475 |                info->bufHandle);
      |                ~~~~~~~~~~~~~~~                               
      |                    |
      |                    drm_handle_t {aka long unsigned int}
r128_dri.c: In function 'R128DRIMapInit':
r128_dri.c:575:46: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'drm_handle_t' {aka 'long unsigned int'} [-Wformat=]
  575 |                "[drm] register handle = 0x%08x\n", info->registerHandle);
      |                                           ~~~^     ~~~~~~~~~~~~~~~~~~~~
      |                                              |         |
      |                                              |         drm_handle_t {aka long unsigned int}
      |                                              unsigned int
      |                                           %08lx
r128_dri.c: In function 'R128DRIScreenInit':
r128_dri.c:771:26: error: implicit declaration of function 'getpagesize' [-Werror=implicit-function-declaration]
  771 |     r128_drm_page_size = getpagesize();
      |                          ^~~~~~~~~~~
r128_dri.c:771:26: warning: nested extern declaration of 'getpagesize' [-Wnested-externs]
r128_dri.c:778:42: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  778 |     pDRIInfo->drmDriverName              = R128_DRIVER_NAME;
      |                                          ^
r128_dri.c:779:42: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  779 |     pDRIInfo->clientDriverName           = R128_DRIVER_NAME;
      |                                          ^
cc1: some warnings being treated as errors
gmake[2]: *** [Makefile:538: r128_dri.lo] Error 1
gmake[2]: Leaving directory '/home/pbulk/build/x11/xf86-video-r128/work/xf86-video-r128-6.13.0/src'
gmake[1]: *** [Makefile:453: all-recursive] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/x11/xf86-video-r128/work/xf86-video-r128-6.13.0'
gmake: *** [Makefile:385: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xf86-video-r128
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xf86-video-r128