+ 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-ati6-6.14.6nb9/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xf86-video-ati6-6.14.6nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xf86-video-ati6-6.14.6nb9
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/home/pbulk/build/x11/xf86-video-ati6/work/xf86-video-ati-6.14.6'
Making all in src
gmake[2]: Entering directory '/home/pbulk/build/x11/xf86-video-ati6/work/xf86-video-ati-6.14.6/src'
  CC       ati.lo
  CC       atimodule.lo
  CCLD     ati_drv.la
  CC       radeon_accel.lo
radeon_accel.c: In function 'RADEONEngineReset':
radeon_accel.c:232:20: warning: variable 'host_path_cntl' set but not used [-Wunused-but-set-variable]
  232 |     uint32_t       host_path_cntl;
      |                    ^~~~~~~~~~~~~~
radeon_accel.c: In function 'RADEONAccelInit':
radeon_accel.c:1069:20: warning: unused variable 'info' [-Wunused-variable]
 1069 |     RADEONInfoPtr  info  = RADEONPTR(pScrn);
      |                    ^~~~
  CC       radeon_cursor.lo
  CC       radeon_legacy_memory.lo
radeon_legacy_memory.c: In function 'radeon_legacy_allocate_memory':
radeon_legacy_memory.c:22:19: warning: unused variable 'info' [-Wunused-variable]
   22 |     RADEONInfoPtr info = RADEONPTR(pScrn);
      |                   ^~~~
radeon_legacy_memory.c:21:15: warning: unused variable 'pScreen' [-Wunused-variable]
   21 |     ScreenPtr pScreen = xf86ScrnToScreen(pScrn);
      |               ^~~~~~~
radeon_legacy_memory.c: In function 'radeon_legacy_free_memory':
radeon_legacy_memory.c:114:19: warning: unused variable 'info' [-Wunused-variable]
  114 |     RADEONInfoPtr info = RADEONPTR(pScrn);
      |                   ^~~~
  CC       radeon_driver.lo
In file included from radeon_atombios.h:152,
                 from radeon_driver.c:77:
./AtomBios/includes/CD_Common_Types.h:65:45: error: conflicting types for 'int8_t'; have 'char'
   65 |                 typedef char                int8_t;
      |                                             ^~~~~~
In file included from /usr/include/sys/types.h:55,
                 from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:46,
                 from radeon.h:40,
                 from radeon_driver.c:72:
/usr/include/sys/int_types.h:74:33: note: previous declaration of 'int8_t' with type 'int8_t' {aka 'signed char'}
   74 | typedef signed char             int8_t;
      |                                 ^~~~~~
./AtomBios/includes/CD_Common_Types.h:82: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
   82 | #pragma warning ( disable : 4142 )
      | 
./AtomBios/includes/CD_Common_Types.h:156: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
  156 | #pragma warning ( default : 4142 )
      | 
radeon_driver.c: In function 'RADEONCreateScreenResources':
radeon_driver.c:258:40: warning: implicit declaration of function 'shadowUpdatePackedWeak'; did you mean 'shadowUpdatePacked'? [-Wimplicit-function-declaration]
  258 |        if (!shadowAdd(pScreen, pixmap, shadowUpdatePackedWeak(),
      |                                        ^~~~~~~~~~~~~~~~~~~~~~
      |                                        shadowUpdatePacked
radeon_driver.c:258:40: warning: passing argument 3 of 'shadowAdd' makes pointer from integer without a cast [-Wint-conversion]
  258 |        if (!shadowAdd(pScreen, pixmap, shadowUpdatePackedWeak(),
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        int
In file included from radeon_driver.c:103:
/home/pbulk/build/x11/xf86-video-ati6/work/.buildlink/include/xorg/shadow.h:78:28: note: expected 'ShadowUpdateProc' {aka 'void (*)(struct _Screen *, struct _shadowBuf *)'} but argument is of type 'int'
   78 |           ShadowUpdateProc update,
      |           ~~~~~~~~~~~~~~~~~^~~~~~
radeon_driver.c: In function 'RADEONPreInitAccel':
radeon_driver.c:2209:25: warning: unused variable 'errmin' [-Wunused-variable]
 2209 |         int errmaj = 0, errmin = 0;
      |                         ^~~~~~
radeon_driver.c:2209:13: warning: unused variable 'errmaj' [-Wunused-variable]
 2209 |         int errmaj = 0, errmin = 0;
      |             ^~~~~~
radeon_driver.c: In function 'RADEONPreInitXv':
radeon_driver.c:2700:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2700 |         if((microc_path = xf86GetOptValString(info->Options, OPTION_RAGE_THEATRE_MICROC_PATH)) != NULL)
      |                         ^
radeon_driver.c:2708:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2708 |         if((microc_type = xf86GetOptValString(info->Options, OPTION_RAGE_THEATRE_MICROC_TYPE)) != NULL)
      |                         ^
radeon_driver.c: In function 'RADEONFixZaphodOutputs':
radeon_driver.c:2870:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2870 |     if ((s = xf86GetOptValString(info->Options, OPTION_ZAPHOD_HEADS))) {
      |            ^
radeon_driver.c: In function 'RADEONScreenInit':
radeon_driver.c:3740:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3740 |     if ((s = xf86GetOptValString(info->Options, OPTION_SUBPIXEL_ORDER))) {
      |            ^
radeon_driver.c:3454:20: warning: variable 'hasDRI' set but not used [-Wunused-but-set-variable]
 3454 |     int            hasDRI = 0;
      |                    ^~~~~~
radeon_driver.c: In function 'RADEONEnterVT':
radeon_driver.c:6316:17: warning: implicit declaration of function 'R600LoadShaders' [-Wimplicit-function-declaration]
 6316 |                 R600LoadShaders(pScrn);
      |                 ^~~~~~~~~~~~~~~
radeon_driver.c: In function 'RADEONCloseScreen':
radeon_driver.c:6444:19: warning: unused variable 'pPix' [-Wunused-variable]
 6444 |         PixmapPtr pPix = pScreen->GetScreenPixmap(pScreen);
      |                   ^~~~
gmake[2]: *** [Makefile:941: radeon_driver.lo] Error 1
gmake[2]: Leaving directory '/home/pbulk/build/x11/xf86-video-ati6/work/xf86-video-ati-6.14.6/src'
gmake[1]: *** [Makefile:452: all-recursive] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/x11/xf86-video-ati6/work/xf86-video-ati-6.14.6'
gmake: *** [Makefile:384: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/x11/xf86-video-ati6
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/x11/xf86-video-ati6