+ 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/libbpg-0.9.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libbpg-0.9.2nb1/work.log ===> Building for libbpg-0.9.2nb1 gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -c -o bpgdec.o bpgdec.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc_cabac.o libavcodec/hevc_cabac.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc_filter.o libavcodec/hevc_filter.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc.o libavcodec/hevc.c bpgdec.c: In function 'main': bpgdec.c:326:9: error: implicit declaration of function 'strrchr' [-Wimplicit-function-declaration] 326 | p = strrchr(outfilename, '.'); | ^~~~~~~ bpgdec.c:39:1: note: include '' or provide a declaration of 'strrchr' 38 | #include "libbpg.h" +++ |+#include 39 | bpgdec.c:326:9: warning: incompatible implicit declaration of built-in function 'strrchr' [-Wbuiltin-declaration-mismatch] 326 | p = strrchr(outfilename, '.'); | ^~~~~~~ bpgdec.c:326:9: note: include '' or provide a declaration of 'strrchr' bpgdec.c:330:14: error: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 330 | if (p && strcasecmp(p, "ppm") != 0) { | ^~~~~~~~~~ gmake: *** [Makefile:172: bpgdec.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from ./libavutil/common.h:412, from libavcodec/hevc_cabac.c:25: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ In file included from ./libavutil/common.h:412, from libavcodec/hevc_filter.c:25: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ In file included from ./libavutil/common.h:412, from libavcodec/hevc.c:28: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ libavcodec/hevc_cabac.c:937:12: warning: 'explicit_rdpcm_dir_flag_decode' defined but not used [-Wunused-function] 937 | static int explicit_rdpcm_dir_flag_decode(HEVCContext *s, int c_idx) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/hevc_cabac.c:932:12: warning: 'explicit_rdpcm_flag_decode' defined but not used [-Wunused-function] 932 | static int explicit_rdpcm_flag_decode(HEVCContext *s, int c_idx) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/hevc.c: In function 'intra_prediction_unit_default_value': libavcodec/hevc.c:1997:12: warning: unused variable 'k' [-Wunused-variable] 1997 | int j, k; | ^ libavcodec/hevc.c:1988:23: warning: unused variable 'lc' [-Wunused-variable] 1988 | HEVCLocalContext *lc = s->HEVClc; | ^~ libavcodec/hevc_filter.c: In function 'ff_hevc_deblocking_boundary_strengths': libavcodec/hevc_filter.c:753:12: warning: unused variable 'bs' [-Wunused-variable] 753 | int i, bs; | ^~ libavcodec/hevc_filter.c:745:9: warning: unused variable 'min_tu_width' [-Wunused-variable] 745 | int min_tu_width = s->sps->min_tb_width; | ^~~~~~~~~~~~ libavcodec/hevc_filter.c:744:9: warning: unused variable 'min_pu_width' [-Wunused-variable] 744 | int min_pu_width = s->sps->min_pu_width; | ^~~~~~~~~~~~ libavcodec/hevc_filter.c:743:9: warning: unused variable 'log2_min_tu_size' [-Wunused-variable] 743 | int log2_min_tu_size = s->sps->log2_min_tb_size; | ^~~~~~~~~~~~~~~~ libavcodec/hevc_filter.c:742:9: warning: unused variable 'log2_min_pu_size' [-Wunused-variable] 742 | int log2_min_pu_size = s->sps->log2_min_pu_size; | ^~~~~~~~~~~~~~~~ libavcodec/hevc.c: In function 'hls_decode_neighbour': libavcodec/hevc.c:2309:32: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2309 | if (!ctb_addr_in_slice > 0) | ^ libavcodec/hevc.c:2309:13: note: add parentheses around left hand side expression to silence this warning 2309 | if (!ctb_addr_in_slice > 0) | ^~~~~~~~~~~~~~~~~~ | ( ) libavcodec/hevc.c: In function 'decode_nal_unit': libavcodec/hevc.c:2699:5: warning: case value '48' not in enumerated type 'enum NALUnitType' [-Wswitch] 2699 | case 48: | ^~~~ libavcodec/hevc.c: In function 'ff_hevc_extract_rbsp': libavcodec/hevc.c:2888:39: warning: pointer targets in passing argument 2 of 'av_fast_malloc' differ in signedness [-Wpointer-sign] 2888 | av_fast_malloc(&nal->rbsp_buffer, &nal->rbsp_buffer_size, | ^~~~~~~~~~~~~~~~~~~~~~ | | | int * ./libavutil/mem.h:383:46: note: expected 'unsigned int *' but argument is of type 'int *' 383 | void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size); | ~~~~~~~~~~~~~~^~~~ libavcodec/hevc.c: At top level: libavcodec/hevc.c:283:12: warning: 'get_buffer_sao' defined but not used [-Wunused-function] 283 | static int get_buffer_sao(HEVCContext *s, AVFrame *frame, const HEVCSPS *sps) | ^~~~~~~~~~~~~~ libavcodec/hevc_cabac.c: In function 'ff_hevc_hls_residual_coding': libavcodec/hevc_cabac.c:1478:59: warning: 'sb_type' may be used uninitialized [-Wmaybe-uninitialized] 1478 | int c_rice_p_init = lc->stat_coeff[sb_type] / 4; | ~~~~~~~~~~~~~~^~~~~~~~~ libavcodec/hevc_cabac.c:1399:17: note: 'sb_type' was declared here 1399 | int sb_type; | ^~~~~~~ *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/libbpg *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/libbpg