+ 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.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libbpg-0.9.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for libbpg-0.9.2 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 bpgdec.c: In function 'main': bpgdec.c:326:9: warning: implicit declaration of function 'strrchr' [-Wimplicit-function-declaration] 326 | p = strrchr(outfilename, '.'); | ^~~~~~~ bpgdec.c:326:9: warning: incompatible implicit declaration of built-in function 'strrchr' bpgdec.c:39:1: note: include '<string.h>' or provide a declaration of 'strrchr' 38 | #include "libbpg.h" +++ |+#include <string.h> 39 | bpgdec.c:330:14: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 330 | if (p && strcasecmp(p, "ppm") != 0) { | ^~~~~~~~~~ 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 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); | ^~~~~~~~~~~~~ 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_cabac.c: In function 'ff_hevc_hls_residual_coding': libavcodec/hevc_cabac.c:1462:63: warning: 'sb_type' may be used uninitialized in this function [-Wmaybe-uninitialized] 1462 | int c_rice_p_init = lc->stat_coeff[sb_type] / 4; | ~~~~~~~~~~~~~~^~~~~~~~~ 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 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); | ^~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~ 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 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.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.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 * In file included from ./libavutil/common.h:412, from libavcodec/hevc.c:28: ./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); | ~~~~~~~~~~~~~~^~~~ 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) | ^~~~~~~~~~~~~~ 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/hevcpred.o libavcodec/hevcpred.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/samplefmt.h:24, from libavcodec/avcodec.h:31, from libavcodec/hevc.h:29, from libavcodec/hevcpred.c:23: ./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 libavcodec/hevcpred.c:37: libavcodec/hevcpred_template.c: In function 'intra_pred_var': libavcodec/hevcpred_template.c:133:17: warning: unused variable 'x_left_pu' [-Wunused-variable] 133 | int x_left_pu = PU(x0 - 1); | ^~~~~~~~~ libavcodec/hevcpred_template.c:141:17: warning: unused variable 'x_left_pu' [-Wunused-variable] 141 | int x_left_pu = PU(x0 - 1); | ^~~~~~~~~ libavcodec/hevcpred_template.c:150:17: warning: unused variable 'y_top_pu' [-Wunused-variable] 150 | int y_top_pu = PU(y0 - 1); | ^~~~~~~~ libavcodec/hevcpred_template.c:149:17: warning: unused variable 'x_left_pu' [-Wunused-variable] 149 | int x_left_pu = PU(x0 - 1); | ^~~~~~~~~ libavcodec/hevcpred_template.c:155:17: warning: unused variable 'y_top_pu' [-Wunused-variable] 155 | int y_top_pu = PU(y0 - 1); | ^~~~~~~~ libavcodec/hevcpred_template.c:162:17: warning: unused variable 'y_top_pu' [-Wunused-variable] 162 | int y_top_pu = PU(y0 - 1); | ^~~~~~~~ libavcodec/hevcpred_template.c:223:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 223 | if (j > 0) | ^ In file included from libavcodec/hevcpred.c:37: libavcodec/hevcpred_template.c:99:9: warning: unused variable 'min_pu_width' [-Wunused-variable] 99 | int min_pu_width = s->sps->min_pu_width; | ^~~~~~~~~~~~ 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_refs.o libavcodec/hevc_refs.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/samplefmt.h:24, from libavcodec/avcodec.h:31, from libavcodec/internal.h:33, from libavcodec/hevc_refs.c:26: ./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_refs.c: In function 'alloc_frame': libavcodec/hevc_refs.c:115:1: warning: label 'fail' defined but not used [-Wunused-label] 115 | fail: | ^~~~ libavcodec/hevc_refs.c:82:12: warning: unused variable 'j' [-Wunused-variable] 82 | int i, j, ret; | ^ libavcodec/hevc_refs.c: In function 'ff_hevc_output_frame': libavcodec/hevc_refs.c:198:22: warning: 'min_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] 198 | if (frame->flags & HEVC_FRAME_FLAG_BUMPING) | ~~~~~^~~~~~~ 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/hevcdsp.o libavcodec/hevcdsp.c In file included from ./libavutil/common.h:412, from libavcodec/get_bits.h:31, from libavcodec/hevcdsp.h:28, from libavcodec/hevcdsp.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); | ^~~~~~~~~~~~~ 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_mvs.o libavcodec/hevc_mvs.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/samplefmt.h:24, from libavcodec/avcodec.h:31, from libavcodec/hevc.h:29, from libavcodec/hevc_mvs.c:24: ./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); | ^~~~~~~~~~~~~ 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_ps.o libavcodec/hevc_ps.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/imgutils.h:30, from libavcodec/hevc_ps.c:26: ./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); | ^~~~~~~~~~~~~ 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_sei.o libavcodec/hevc_sei.c In file included from ./libavutil/common.h:412, from libavcodec/get_bits.h:31, from libavcodec/golomb.h:35, from libavcodec/hevc_sei.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); | ^~~~~~~~~~~~~ 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/utils.o libavcodec/utils.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/avassert.h:31, from libavcodec/utils.c:31: ./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); | ^~~~~~~~~~~~~ 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/cabac.o libavcodec/cabac.c In file included from ./libavutil/common.h:412, from libavcodec/cabac.c:29: ./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); | ^~~~~~~~~~~~~ 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 libavutil/mem.o libavutil/mem.c In file included from libavutil/common.h:412, from libavutil/avutil.h:289, from libavutil/avassert.h:31, from libavutil/mem.c:39: 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); | ^~~~~~~~~~~~~ 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 libavutil/buffer.o libavutil/buffer.c In file included from libavutil/common.h:412, from libavutil/buffer.c:24: 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); | ^~~~~~~~~~~~~ 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 libavutil/log2_tab.o libavutil/log2_tab.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 libavutil/frame.o libavutil/frame.c In file included from libavutil/common.h:412, from libavutil/avutil.h:289, from libavutil/avassert.h:31, from libavutil/frame.c:21: 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); | ^~~~~~~~~~~~~ libavutil/frame.c:67:13: warning: 'free_side_data' defined but not used [-Wunused-function] 67 | static void free_side_data(AVFrameSideData **ptr_sd) | ^~~~~~~~~~~~~~ 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 libavutil/pixdesc.o libavutil/pixdesc.c In file included from libavutil/common.h:412, from libavutil/avutil.h:289, from libavutil/avassert.h:31, from libavutil/pixdesc.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); | ^~~~~~~~~~~~~ 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 libavutil/md5.o libavutil/md5.c In file included from libavutil/md5.c:37: 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); | ^~~~~~~~~~~~~ libavutil/md5.c: In function 'av_md5_final': libavutil/md5.c:188:24: warning: pointer targets in passing argument 2 of 'av_md5_update' differ in signedness [-Wpointer-sign] 188 | av_md5_update(ctx, "\200", 1); | ^~~~~~ | | | char * libavutil/md5.c:148:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 148 | void av_md5_update(AVMD5 *ctx, const uint8_t *src, int len) | ~~~~~~~~~~~~~~~^~~ libavutil/md5.c:190:28: warning: pointer targets in passing argument 2 of 'av_md5_update' differ in signedness [-Wpointer-sign] 190 | av_md5_update(ctx, "", 1); | ^~ | | | char * libavutil/md5.c:148:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 148 | void av_md5_update(AVMD5 *ctx, const uint8_t *src, int len) | ~~~~~~~~~~~~~~~^~~ 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 libbpg.o libbpg.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/opt.h:31, from libbpg.c:29: ./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); | ^~~~~~~~~~~~~ ar rcs libbpg.a libavcodec/hevc_cabac.o libavcodec/hevc_filter.o libavcodec/hevc.o libavcodec/hevcpred.o libavcodec/hevc_refs.o libavcodec/hevcdsp.o libavcodec/hevc_mvs.o libavcodec/hevc_ps.o libavcodec/hevc_sei.o libavcodec/utils.o libavcodec/cabac.o libavutil/mem.o libavutil/buffer.o libavutil/log2_tab.o libavutil/frame.o libavutil/pixdesc.o libavutil/md5.o libbpg.o gcc -g -Wl,--gc-sections -o bpgdec bpgdec.o libbpg.a -L/opt/pkg/lib -Wl,-rpath,/opt/pkg/lib -lpng -ljpeg -lrt -lm -lpthread ld: fatal: library -lpng: not found ld: fatal: file processing errors. No output written to bpgdec collect2: error: ld returned 1 exit status gmake: *** [Makefile:144: bpgdec] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/libbpg *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/libbpg