+ 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
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
  CC       radeon_accel.lo
  CC       radeon_cursor.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;
      |                    ^~~~~~~~~~~~~~
  CC       radeon_legacy_memory.lo
radeon_accel.c: In function 'RADEONAccelInit':
radeon_accel.c:1069:20: warning: unused variable 'info' [-Wunused-variable]
 1069 |     RADEONInfoPtr  info  = RADEONPTR(pScrn);
      |                    ^~~~
  CC       radeon_driver.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);
      |                   ^~~~
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;
      |                    ^~~~~~
  CC       radeon_video.lo
  CC       radeon_bios.lo
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]: *** Waiting for unfinished jobs....
radeon_video.c: In function 'RADEONInitVideo':
radeon_video.c:365:88: warning: passing argument 2 of 'RADEONCreateAdaptorXvMC' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  365 |         XF86MCAdaptorPtr xvmcAdaptor = RADEONCreateAdaptorXvMC(pScreen, texturedAdaptor->name);
      |                                                                         ~~~~~~~~~~~~~~~^~~~~~
In file included from radeon_video.c:15:
radeon_video.h:173:50: note: expected 'char *' but argument is of type 'const char *'
  173 | RADEONCreateAdaptorXvMC(ScreenPtr pScreen, char *xv_adaptor_name);
      |                                            ~~~~~~^~~~~~~~~~~~~~~
radeon_video.c: In function 'RADEONPutImage':
radeon_video.c:2932:36: warning: variable 'bpp' set but not used [-Wunused-but-set-variable]
 2932 |    int top, left, npixels, nlines, bpp;
      |                                    ^~~
radeon_video.c: In function 'RADEONPutVideo':
radeon_video.c:3490:53: warning: variable 's2offset' set but not used [-Wunused-but-set-variable]
 3490 |    unsigned int offset1, offset2, offset3, offset4, s2offset, s3offset;
      |                                                     ^~~~~~~~
radeon_video.c:3489:17: warning: variable 'pitch' set but not used [-Wunused-but-set-variable]
 3489 |    unsigned int pitch, new_size, alloc_size;
      |                 ^~~~~
radeon_video.c: At top level:
radeon_video.c:3994:13: warning: 'RADEON_FI1236_SetEncoding' defined but not used [-Wunused-function]
 3994 | static void RADEON_FI1236_SetEncoding(RADEONPortPrivPtr pPriv)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
radeon_video.c:3952:13: warning: 'RADEON_TDA9885_SetEncoding' defined but not used [-Wunused-function]
 3952 | static void RADEON_TDA9885_SetEncoding(RADEONPortPrivPtr pPriv)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
radeon_video.c:3891:13: warning: 'RADEON_MSP_SetEncoding' defined but not used [-Wunused-function]
 3891 | static void RADEON_MSP_SetEncoding(RADEONPortPrivPtr pPriv)
      |             ^~~~~~~~~~~~~~~~~~~~~~
In file included from radeon_atombios.h:152,
                 from radeon_bios.c:42:
./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/stdint.h:36,
                 from /usr/include/stdint.h:36,
                 from /opt/tools/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.3.0/include/stdint.h:9,
                 from /home/pbulk/build/x11/xf86-video-ati6/work/.buildlink/include/xorg/misc.h:81,
                 from /home/pbulk/build/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86str.h:37,
                 from /home/pbulk/build/x11/xf86-video-ati6/work/.buildlink/include/xorg/xf86.h:44,
                 from radeon_bios.c:34:
/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_bios.c: In function 'RADEONGetExtTMDSInfoFromBIOS':
radeon_bios.c:1329:30: warning: variable 'max_freq' set but not used [-Wunused-but-set-variable]
 1329 |     int offset, table_start, max_freq, gpio_reg, flags;
      |                              ^~~~~~~~
gmake[2]: *** [Makefile:941: radeon_bios.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 making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xf86-video-ati6
*** Error code 1

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