=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> 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:326:9: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)' p = strrchr(outfilename, '.'); ^ bpgdec.c:326:9: note: include the header or explicitly provide a declaration for 'strrchr' bpgdec.c:330:14: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' if (p && strcasecmp(p, "ppm") != 0) { ^ bpgdec.c:330:14: note: include the header or explicitly provide a declaration for 'strcasecmp' 2 warnings generated. 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 libavcodec/hevc_cabac.c:1526:88: warning: variable 'explicit_rdpcm_dir_flag' is uninitialized when used here [-Wuninitialized] int mode = s->sps->implicit_rdpcm_enabled_flag ? (pred_mode_intra == 26) : explicit_rdpcm_dir_flag; ^~~~~~~~~~~~~~~~~~~~~~~ libavcodec/hevc_cabac.c:1096:32: note: initialize the variable 'explicit_rdpcm_dir_flag' to silence this warning int explicit_rdpcm_dir_flag; ^ = 0 libavcodec/hevc_cabac.c:881:29: warning: unused function 'abs_mvd_greater0_flag_decode' [-Wunused-function] static av_always_inline int abs_mvd_greater0_flag_decode(HEVCContext *s) ^ libavcodec/hevc_cabac.c:886:29: warning: unused function 'abs_mvd_greater1_flag_decode' [-Wunused-function] static av_always_inline int abs_mvd_greater1_flag_decode(HEVCContext *s) ^ libavcodec/hevc_cabac.c:891:29: warning: unused function 'mvd_decode' [-Wunused-function] static av_always_inline int mvd_decode(HEVCContext *s) ^ libavcodec/hevc_cabac.c:907:29: warning: unused function 'mvd_sign_flag_decode' [-Wunused-function] static av_always_inline int mvd_sign_flag_decode(HEVCContext *s) ^ libavcodec/hevc_cabac.c:932:12: warning: unused function 'explicit_rdpcm_flag_decode' [-Wunused-function] static int explicit_rdpcm_flag_decode(HEVCContext *s, int c_idx) ^ libavcodec/hevc_cabac.c:937:12: warning: unused function 'explicit_rdpcm_dir_flag_decode' [-Wunused-function] static int explicit_rdpcm_dir_flag_decode(HEVCContext *s, int c_idx) ^ 7 warnings generated. 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 libavcodec/hevc_filter.c:743:9: warning: unused variable 'log2_min_tu_size' [-Wunused-variable] int log2_min_tu_size = s->sps->log2_min_tb_size; ^ libavcodec/hevc_filter.c:745:9: warning: unused variable 'min_tu_width' [-Wunused-variable] int min_tu_width = s->sps->min_tb_width; ^ libavcodec/hevc_filter.c:753:12: warning: unused variable 'bs' [-Wunused-variable] int i, bs; ^ libavcodec/hevc_filter.c:744:9: warning: unused variable 'min_pu_width' [-Wunused-variable] int min_pu_width = s->sps->min_pu_width; ^ libavcodec/hevc_filter.c:742:9: warning: unused variable 'log2_min_pu_size' [-Wunused-variable] int log2_min_pu_size = s->sps->log2_min_pu_size; ^ 5 warnings generated. 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 libavcodec/hevc.c:1988:23: warning: unused variable 'lc' [-Wunused-variable] HEVCLocalContext *lc = s->HEVClc; ^ libavcodec/hevc.c:1997:12: warning: unused variable 'k' [-Wunused-variable] int j, k; ^ libavcodec/hevc.c:2699:10: warning: case value not in enumerated type 'enum NALUnitType' [-Wswitch] case 48: ^ libavcodec/hevc.c:2888:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] av_fast_malloc(&nal->rbsp_buffer, &nal->rbsp_buffer_size, ^~~~~~~~~~~~~~~~~~~~~~ ./libavutil/mem.h:383:46: note: passing argument to parameter 'size' here void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size); ^ libavcodec/hevc.c:283:12: warning: unused function 'get_buffer_sao' [-Wunused-function] static int get_buffer_sao(HEVCContext *s, AVFrame *frame, const HEVCSPS *sps) ^ 5 warnings generated. 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 libavcodec/hevcpred.c:37: libavcodec/hevcpred_template.c:133:17: warning: unused variable 'x_left_pu' [-Wunused-variable] int x_left_pu = PU(x0 - 1); ^ libavcodec/hevcpred_template.c:141:17: warning: unused variable 'x_left_pu' [-Wunused-variable] int x_left_pu = PU(x0 - 1); ^ libavcodec/hevcpred_template.c:149:17: warning: unused variable 'x_left_pu' [-Wunused-variable] int x_left_pu = PU(x0 - 1); ^ libavcodec/hevcpred_template.c:150:17: warning: unused variable 'y_top_pu' [-Wunused-variable] int y_top_pu = PU(y0 - 1); ^ libavcodec/hevcpred_template.c:155:17: warning: unused variable 'y_top_pu' [-Wunused-variable] int y_top_pu = PU(y0 - 1); ^ libavcodec/hevcpred_template.c:162:17: warning: unused variable 'y_top_pu' [-Wunused-variable] int y_top_pu = PU(y0 - 1); ^ libavcodec/hevcpred_template.c:226:23: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ libavcodec/hevcpred_template.c:99:9: warning: unused variable 'min_pu_width' [-Wunused-variable] int min_pu_width = s->sps->min_pu_width; ^ 8 warnings generated. 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 libavcodec/hevc_refs.c:115:1: warning: unused label 'fail' [-Wunused-label] fail: ^~~~~ libavcodec/hevc_refs.c:82:12: warning: unused variable 'j' [-Wunused-variable] int i, j, ret; ^ 2 warnings generated. 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 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 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 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 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 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 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 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 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 libavutil/frame.c:67:13: warning: unused function 'free_side_data' [-Wunused-function] static void free_side_data(AVFrameSideData **ptr_sd) ^ 1 warning generated. 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 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 libavutil/md5.c:188:24: warning: passing 'char [2]' to parameter of type 'const __uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] av_md5_update(ctx, "\200", 1); ^~~~~~ libavutil/md5.c:148:47: note: passing argument to parameter 'src' here void av_md5_update(AVMD5 *ctx, const uint8_t *src, int len) ^ libavutil/md5.c:190:28: warning: passing 'char [1]' to parameter of type 'const __uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] av_md5_update(ctx, "", 1); ^~ libavutil/md5.c:148:47: note: passing argument to parameter 'src' here void av_md5_update(AVMD5 *ctx, const uint8_t *src, int len) ^ 2 warnings generated. 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 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/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lpng -ljpeg -lrt -lm -lpthread /usr/bin/ld: cannot find -lrt clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:144: recipe for target 'bpgdec' failed gmake: *** [bpgdec] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/graphics/libbpg *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/graphics/libbpg