D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/libbpg-0.9.8-4.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.V5pKKo
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ test -d /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3WPQUS
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ rm -rf libbpg-0.9.8
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libbpg-0.9.8.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libbpg-0.9.8
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/libbpg-0.9.6-Makefile.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/libbpg-missing-include.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jFwswi
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ cd libbpg-0.9.8
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
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.8\" -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 -DUSE_PRED -c -o libavcodec/cabac.o libavcodec/cabac.c
In file included from ./libavutil/common.h:412,
                 from libavcodec/cabac.c:29:
./libavutil/mem.h:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -c -o libavcodec/videodsp.o libavcodec/videodsp.c
In file included from ./libavutil/common.h:412,
                 from ./libavutil/avutil.h:289,
                 from ./libavutil/avassert.h:31,
                 from libavcodec/videodsp.c:22:
./libavutil/mem.h:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -c -o libavcodec/golomb.o libavcodec/golomb.c
In file included from ./libavutil/common.h:412,
                 from libavcodec/golomb.c:29:
./libavutil/mem.h:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -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.8\" -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 -DUSE_PRED -c -o libavutil/buffer.o libavutil/buffer.c
In file included from libavutil/common.h:412,
                 from libavutil/buffer.c:24:
libavutil/mem.h:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -c -o libavutil/md5.o libavutil/md5.c
In file included from libavutil/md5.c:37:
libavutil/mem.h:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
libavcodec/hevc_refs.c: In function 'ff_hevc_output_frame':
libavcodec/hevc_refs.c:198:22: warning: 'min_idx' may be used uninitialized [-Wmaybe-uninitialized]
  198 |             if (frame->flags & HEVC_FRAME_FLAG_BUMPING)
      |                 ~~~~~^~~~~~~
libavcodec/hevc_refs.c:164:16: note: 'min_idx' was declared here
  164 |         int i, min_idx, ret;
      |                ^~~~~~~
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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
libavcodec/hevc_mvs.c: In function 'derive_spatial_merge_candidates':
libavcodec/hevc_mvs.c:336:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  336 |     if (!singleMCLFlag && part_idx == 1 &&
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  337 |         (lc->cu.part_mode == PART_Nx2N ||
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  338 |          lc->cu.part_mode == PART_nLx2N ||
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  339 |          lc->cu.part_mode == PART_nRx2N) ||
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
libavcodec/hevc_mvs.c:352:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  352 |     if (!singleMCLFlag && part_idx == 1 &&
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  353 |         (lc->cu.part_mode == PART_2NxN ||
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  354 |          lc->cu.part_mode == PART_2NxnU ||
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  355 |          lc->cu.part_mode == PART_2NxnD) ||
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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':
libavcodec/hevcpred_template.c:242:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  242 |                 if (j > 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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | 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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
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;
      |                 ^~~~~~~
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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/SyntaxElementWriter.o jctvc/TLibEncoder/SyntaxElementWriter.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncBinCoderCABACCounter.o jctvc/TLibEncoder/TEncBinCoderCABACCounter.cpp
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.8\" -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 -DUSE_PRED -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:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncBinCoderCABAC.o jctvc/TLibEncoder/TEncBinCoderCABAC.cpp
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.8\" -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 -DUSE_PRED -c -o libavcodec/hevc.o libavcodec/hevc.c
In file included from ./libavutil/common.h:412,
                 from libavcodec/hevc.c:28:
./libavutil/mem.h:180:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
  180 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
      | ^~~~~~~~~~~~~
libavcodec/hevc.c: In function 'pred_weight_table':
libavcodec/hevc.c:148:13: warning: unused variable 'chroma_weight_l1_flag' [-Wunused-variable]
  148 |     uint8_t chroma_weight_l1_flag[16];
      |             ^~~~~~~~~~~~~~~~~~~~~
libavcodec/hevc.c:147:13: warning: unused variable 'luma_weight_l1_flag' [-Wunused-variable]
  147 |     uint8_t luma_weight_l1_flag[16];
      |             ^~~~~~~~~~~~~~~~~~~
libavcodec/hevc.c: In function 'hls_decode_neighbour':
libavcodec/hevc.c:2337:32: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
 2337 |         if (!ctb_addr_in_slice > 0)
      |                                ^
libavcodec/hevc.c:2337:13: note: add parentheses around left hand side expression to silence this warning
 2337 |         if (!ctb_addr_in_slice > 0)
      |             ^~~~~~~~~~~~~~~~~~
      |             (                 )
libavcodec/hevc.c: In function 'decode_nal_unit':
libavcodec/hevc.c:2727:5: warning: case value '48' not in enumerated type 'enum NALUnitType' [-Wswitch]
 2727 |     case 48:
      |     ^~~~
libavcodec/hevc.c: At top level:
libavcodec/hevc.c:285:12: warning: 'get_buffer_sao' defined but not used [-Wunused-function]
  285 | static int get_buffer_sao(HEVCContext *s, AVFrame *frame, const HEVCSPS *sps)
      |            ^~~~~~~~~~~~~~
libavcodec/hevc.c: In function 'hls_prediction_unit.isra':
libavcodec/hevc.c:1777:9: warning: 'ref0' may be used uninitialized [-Wmaybe-uninitialized]
 1777 |         luma_mc_uni(s, dst0, s->frame->linesize[0], ref0->frame,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1778 |                     &current_mv.mv[0], x0, y0, nPbW, nPbH,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1779 |                     s->sh.luma_weight_l0[current_mv.ref_idx[0]],
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1780 |                     s->sh.luma_offset_l0[current_mv.ref_idx[0]]);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/hevc.c:1661:16: note: 'ref0' was declared here
 1661 |     HEVCFrame *ref0, *ref1;
      |                ^~~~
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.8\" -g -DUSE_JCTVC -Wno-unused-but-set-variable -c -o bpgenc.o bpgenc.c
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncAnalyze.o jctvc/TLibEncoder/TEncAnalyze.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncPic.o jctvc/TLibEncoder/TEncPic.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncEntropy.o jctvc/TLibEncoder/TEncEntropy.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc_glue.o jctvc_glue.cpp
In file included from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibEncoder/TEncSbac.h:48,
                 from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46,
                 from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibEncoder/TEncGOP.h:50,
                 from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibEncoder/TEncTop.h:51,
                 from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TAppEncTop.h:44,
                 from jctvc_glue.cpp:6:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibEncoder/TEncEntropy.h:44,
                 from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
jctvc_glue.cpp: In function 'HEVCEncoderContext* jctvc_open(const HEVCEncodeParams*)':
jctvc_glue.cpp:52:55: warning: 'out' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
   52 |     snprintf(s->infilename, sizeof(s->infilename), "%sout%d-%d.yuv", buf, getpid(), tmp_idx);
      |                                                       ^~~
jctvc_glue.cpp:52:13: note: 'snprintf' output between 11 and 1054 bytes into a destination of size 1024
   52 |     snprintf(s->infilename, sizeof(s->infilename), "%sout%d-%d.yuv", buf, getpid(), tmp_idx);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jctvc_glue.cpp:53:57: warning: 'out' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
   53 |     snprintf(s->outfilename, sizeof(s->outfilename), "%sout%d-%d.bin", buf, getpid(), tmp_idx);
      |                                                         ^~~
jctvc_glue.cpp:53:13: note: 'snprintf' output between 11 and 1054 bytes into a destination of size 1024
   53 |     snprintf(s->outfilename, sizeof(s->outfilename), "%sout%d-%d.bin", buf, getpid(), tmp_idx);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jctvc_glue.cpp: In function 'int jctvc_close(HEVCEncoderContext*, uint8_t**)':
jctvc_glue.cpp:98:44: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=]
   98 |     snprintf(buf, sizeof(buf),"--InputFile=%s", s->infilename);
      |                                            ^~
jctvc_glue.cpp:98:13: note: 'snprintf' output between 13 and 1036 bytes into a destination of size 1024
   98 |     snprintf(buf, sizeof(buf),"--InputFile=%s", s->infilename);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jctvc_glue.cpp:100:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=]
  100 |     snprintf(buf, sizeof(buf),"--BitstreamFile=%s", s->outfilename);
      |                                                ^~
jctvc_glue.cpp:100:13: note: 'snprintf' output between 17 and 1040 bytes into a destination of size 1024
  100 |     snprintf(buf, sizeof(buf),"--BitstreamFile=%s", s->outfilename);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/SEIwrite.o jctvc/TLibEncoder/SEIwrite.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/NALwrite.o jctvc/TLibEncoder/NALwrite.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncPreanalyzer.o jctvc/TLibEncoder/TEncPreanalyzer.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncSampleAdaptiveOffset.o jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp
In file included from jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:38:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibEncoder/TEncEntropy.h:44,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp: In member function 'Void TEncSampleAdaptiveOffset::getBlkStats(ComponentID, SAOStatData*, Pel*, Pel*, Int, Int, Int, Int, Bool, Bool, Bool, Bool, Bool, Bool, Bool, Bool, Bool)':
jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:922:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  922 |     if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL;
      |     ^~
jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:922:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  922 |     if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL;
      |                                                  ^~~~~~~~~~~~~~
jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:925:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  925 |     if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL;
      |     ^~
jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:925:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  925 |     if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL;
      |                                                  ^~~~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/WeightPredAnalysis.o jctvc/TLibEncoder/WeightPredAnalysis.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncTop.o jctvc/TLibEncoder/TEncTop.cpp
In file included from jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46,
                 from jctvc/TLibEncoder/TEncGOP.h:50,
                 from jctvc/TLibEncoder/TEncTop.h:51,
                 from jctvc/TLibEncoder/TEncTop.cpp:39:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibEncoder/TEncEntropy.h:44,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComMotionInfo.o jctvc/TLibCommon/TComMotionInfo.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncRateCtrl.o jctvc/TLibEncoder/TEncRateCtrl.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComBitStream.o jctvc/TLibCommon/TComBitStream.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncSbac.o jctvc/TLibEncoder/TEncSbac.cpp
In file included from jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46,
                 from jctvc/TLibEncoder/TEncGOP.h:50,
                 from jctvc/TLibEncoder/TEncTop.h:51,
                 from jctvc/TLibEncoder/TEncSbac.cpp:38:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibEncoder/TEncEntropy.h:44,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
jctvc/TLibEncoder/TEncSbac.cpp: In member function 'Void TEncSbac::xCopyContextsFrom(const TEncSbac*)':
jctvc/TLibEncoder/TEncSbac.cpp:1960:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
 1960 |   memcpy(m_contextModels, pSrc->m_contextModels, m_numContextModels*sizeof(m_contextModels[0]));
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibVideoIO/TVideoIOYuv.o jctvc/TLibVideoIO/TVideoIOYuv.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncCavlc.o jctvc/TLibEncoder/TEncCavlc.cpp
jctvc/TLibEncoder/TEncCavlc.cpp: In member function 'virtual Void TEncCavlc::codeSPS(TComSPS*)':
jctvc/TLibEncoder/TEncCavlc.cpp:547:16: warning: unused variable 'rpsList' [-Wunused-variable]
  547 |   TComRPSList* rpsList = pcSPS->getRPSList();
      |                ^~~~~~~
jctvc/TLibEncoder/TEncCavlc.cpp:548:33: warning: unused variable 'rps' [-Wunused-variable]
  548 |   TComReferencePictureSet*      rps;
      |                                 ^~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/ContextModel3DBuffer.o jctvc/TLibCommon/ContextModel3DBuffer.cpp
In file included from jctvc/TLibCommon/ContextModel3DBuffer.cpp:38:
jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibCommon/ContextModel3DBuffer.h:46:
jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncSlice.o jctvc/TLibEncoder/TEncSlice.cpp
In file included from jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46,
                 from jctvc/TLibEncoder/TEncGOP.h:50,
                 from jctvc/TLibEncoder/TEncTop.h:51,
                 from jctvc/TLibEncoder/TEncSlice.cpp:38:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibEncoder/TEncEntropy.h:44,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComWeightPrediction.o jctvc/TLibCommon/TComWeightPrediction.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncCu.o jctvc/TLibEncoder/TEncCu.cpp
In file included from jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46,
                 from jctvc/TLibEncoder/TEncGOP.h:50,
                 from jctvc/TLibEncoder/TEncTop.h:51,
                 from jctvc/TLibEncoder/TEncCu.cpp:39:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibEncoder/TEncEntropy.h:44,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComLoopFilter.o jctvc/TLibCommon/TComLoopFilter.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/ContextModel.o jctvc/TLibCommon/ContextModel.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPic.o jctvc/TLibCommon/TComPic.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPicYuv.o jctvc/TLibCommon/TComPicYuv.cpp
jctvc/TLibCommon/TComPicYuv.cpp: In member function 'Void TComPicYuv::destroy()':
jctvc/TLibCommon/TComPicYuv.cpp:149:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  149 |     if (m_ctuOffsetInBuffer[chan]) delete[] m_ctuOffsetInBuffer[chan]; m_ctuOffsetInBuffer[chan] = NULL;
      |     ^~
jctvc/TLibCommon/TComPicYuv.cpp:149:72: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  149 |     if (m_ctuOffsetInBuffer[chan]) delete[] m_ctuOffsetInBuffer[chan]; m_ctuOffsetInBuffer[chan] = NULL;
      |                                                                        ^~~~~~~~~~~~~~~~~~~
jctvc/TLibCommon/TComPicYuv.cpp:150:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  150 |     if (m_subCuOffsetInBuffer[chan]) delete[] m_subCuOffsetInBuffer[chan]; m_subCuOffsetInBuffer[chan] = NULL;
      |     ^~
jctvc/TLibCommon/TComPicYuv.cpp:150:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  150 |     if (m_subCuOffsetInBuffer[chan]) delete[] m_subCuOffsetInBuffer[chan]; m_subCuOffsetInBuffer[chan] = NULL;
      |                                                                            ^~~~~~~~~~~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComTU.o jctvc/TLibCommon/TComTU.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/SEI.o jctvc/TLibCommon/SEI.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComRdCostWeightPrediction.o jctvc/TLibCommon/TComRdCostWeightPrediction.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComInterpolationFilter.o jctvc/TLibCommon/TComInterpolationFilter.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPicSym.o jctvc/TLibCommon/TComPicSym.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComYuv.o jctvc/TLibCommon/TComYuv.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncGOP.o jctvc/TLibEncoder/TEncGOP.cpp
In file included from jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46,
                 from jctvc/TLibEncoder/TEncGOP.h:50,
                 from jctvc/TLibEncoder/TEncTop.h:51,
                 from jctvc/TLibEncoder/TEncGOP.cpp:42:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibEncoder/TEncEntropy.h:44,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
jctvc/TLibEncoder/TEncGOP.cpp: In member function 'Void TEncGOP::compressGOP(Int, Int, TComList<TComPic*>&, TComList<TComPicYuv*>&, std::__cxx11::list<AccessUnit>&, Bool, Bool, InputColourSpaceConversion, Bool)':
jctvc/TLibEncoder/TEncGOP.cpp:1722:86: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = bool; _Tp = NALUnit]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations]
 1722 |       AccessUnit::iterator it = find_if(accessUnit.begin(), accessUnit.end(), mem_fun(&NALUnit::isSlice));
      |                                                                               ~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/functional:49,
                 from jctvc/TLibEncoder/TEncGOP.cpp:40:
/usr/include/c++/14/bits/stl_function.h:1368:5: note: declared here
 1368 |     mem_fun(_Ret (_Tp::*__f)())
      |     ^~~~~~~
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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/libmd5/libmd5.o jctvc/libmd5/libmd5.c
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComCABACTables.o jctvc/TLibCommon/TComCABACTables.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPrediction.o jctvc/TLibCommon/TComPrediction.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComRom.o jctvc/TLibCommon/TComRom.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComChromaFormat.o jctvc/TLibCommon/TComChromaFormat.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComSampleAdaptiveOffset.o jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp: In destructor 'virtual TComSampleAdaptiveOffset::~TComSampleAdaptiveOffset()':
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:119:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  119 |   if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL;
      |   ^~
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:119:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  119 |   if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL;
      |                                                ^~~~~~~~~~~~~~
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:120:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  120 |   if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL;
      |   ^~
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:120:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  120 |   if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL;
      |                                                ^~~~~~~~~~~~~~
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp: In member function 'Void TComSampleAdaptiveOffset::offsetBlock(ComponentID, Int, Int*, Pel*, Pel*, Int, Int, Int, Int, Bool, Bool, Bool, Bool, Bool, Bool, Bool, Bool)':
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:317:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  317 |     if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL;
      |     ^~
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:317:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  317 |     if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL;
      |                                                  ^~~~~~~~~~~~~~
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:320:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  320 |     if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL;
      |     ^~
jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:320:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  320 |     if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL;
      |                                                  ^~~~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPicYuvMD5.o jctvc/TLibCommon/TComPicYuvMD5.cpp
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.8\" -g -c -o bpgview.o bpgview.c
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncSearch.o jctvc/TLibEncoder/TEncSearch.cpp
In file included from jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibEncoder/TEncSearch.h:50,
                 from jctvc/TLibEncoder/TEncSearch.cpp:41:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibEncoder/TEncEntropy.h:44,
                 from jctvc/TLibEncoder/TEncSearch.h:49:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComSlice.o jctvc/TLibCommon/TComSlice.cpp
In file included from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibCommon/TComSlice.cpp:41:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibEncoder/TEncSbac.h:47:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
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 libavcodec/golomb.o libavcodec/videodsp.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 -lpng -lrt -lm -lpthread
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPattern.o jctvc/TLibCommon/TComPattern.cpp
gcc -g -Wl,--gc-sections -o bpgview bpgview.o libbpg.a -lSDL_image -lSDL -lrt -lm -lpthread
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/Debug.o jctvc/TLibCommon/Debug.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/program_options_lite.o jctvc/program_options_lite.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComTrQuant.o jctvc/TLibCommon/TComTrQuant.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComRdCost.o jctvc/TLibCommon/TComRdCost.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComDataCU.o jctvc/TLibCommon/TComDataCU.cpp
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TAppEncTop.o jctvc/TAppEncTop.cpp
In file included from jctvc/TLibEncoder/TEncSbac.h:48,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46,
                 from jctvc/TLibEncoder/TEncGOP.h:50,
                 from jctvc/TLibEncoder/TEncTop.h:51,
                 from jctvc/TAppEncTop.h:44,
                 from jctvc/TAppEncTop.cpp:46:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)':
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   92 |     ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ );
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from jctvc/TLibEncoder/TEncEntropy.h:44,
                 from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45:
/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here
   57 | class ContextModel
      |       ^~~~~~~~~~~~
g++ -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.8\" -g -I/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/jctvc -Wno-sign-compare -c -o jctvc/TAppEncCfg.o jctvc/TAppEncCfg.cpp
ar rcs jctvc/libjctvc.a jctvc/TLibEncoder/SyntaxElementWriter.o jctvc/TLibEncoder/TEncSbac.o jctvc/TLibEncoder/TEncBinCoderCABACCounter.o jctvc/TLibEncoder/TEncGOP.o jctvc/TLibEncoder/TEncSampleAdaptiveOffset.o jctvc/TLibEncoder/TEncBinCoderCABAC.o jctvc/TLibEncoder/TEncAnalyze.o jctvc/TLibEncoder/TEncEntropy.o jctvc/TLibEncoder/TEncTop.o jctvc/TLibEncoder/SEIwrite.o jctvc/TLibEncoder/TEncPic.o jctvc/TLibEncoder/TEncRateCtrl.o jctvc/TLibEncoder/WeightPredAnalysis.o jctvc/TLibEncoder/TEncSlice.o jctvc/TLibEncoder/TEncCu.o jctvc/TLibEncoder/NALwrite.o jctvc/TLibEncoder/TEncCavlc.o jctvc/TLibEncoder/TEncSearch.o jctvc/TLibEncoder/TEncPreanalyzer.o jctvc/TLibVideoIO/TVideoIOYuv.o jctvc/TLibCommon/TComWeightPrediction.o jctvc/TLibCommon/TComLoopFilter.o jctvc/TLibCommon/TComBitStream.o jctvc/TLibCommon/TComMotionInfo.o jctvc/TLibCommon/TComSlice.o jctvc/TLibCommon/ContextModel3DBuffer.o jctvc/TLibCommon/TComPic.o jctvc/TLibCommon/TComRdCostWeightPrediction.o jctvc/TLibCommon/TComTU.o jctvc/TLibCommon/TComPicSym.o jctvc/TLibCommon/TComPicYuv.o jctvc/TLibCommon/TComYuv.o jctvc/TLibCommon/TComTrQuant.o jctvc/TLibCommon/TComInterpolationFilter.o jctvc/TLibCommon/ContextModel.o jctvc/TLibCommon/TComSampleAdaptiveOffset.o jctvc/TLibCommon/SEI.o jctvc/TLibCommon/TComPrediction.o jctvc/TLibCommon/TComDataCU.o jctvc/TLibCommon/TComChromaFormat.o jctvc/TLibCommon/Debug.o jctvc/TLibCommon/TComRom.o jctvc/TLibCommon/TComPicYuvMD5.o jctvc/TLibCommon/TComRdCost.o jctvc/TLibCommon/TComPattern.o jctvc/TLibCommon/TComCABACTables.o jctvc/libmd5/libmd5.o jctvc/TAppEncCfg.o jctvc/TAppEncTop.o jctvc/program_options_lite.o
g++ -g -Wl,--gc-sections -o bpgenc bpgenc.o jctvc_glue.o jctvc/libjctvc.a -lpng -ljpeg -lz -lnuma -lpthread -lrt -lm -lpthread
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wfZuBM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ mkdir /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT
+ cd libbpg-0.9.8
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
mkdir -p /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/bin
install -m 755 bpgenc bpgdec bpgview /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/bin
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.9.8-4.mga10 --unique-debug-suffix -0.9.8-4.mga10.x86_64 --unique-debug-src-base libbpg-0.9.8-4.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8
find-debuginfo: starting

Extracting debug info from 3 files
DWARF-compressing 3 files
sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/libbpg-0.9.8-4.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
Warning: unused libraries in /usr/bin/bpgenc: libnuma.so.1

+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: libbpg-0.9.8-4.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LrQk3b
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ cd libbpg-0.9.8
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/share/doc/libbpg
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/share/doc/libbpg
+ cp -pr /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/ChangeLog /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/share/doc/libbpg
+ cp -pr /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/README /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/share/doc/libbpg
+ cp -pr /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/doc /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/share/doc/libbpg
+ cp -pr /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/html /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/share/doc/libbpg
+ cp -pr /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/libbpg-0.9.8/post.js /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT/usr/share/doc/libbpg
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libbpg = 0.9.8-4.mga10 libbpg(x86-64) = 0.9.8-4.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libjpeg.so.8()(64bit) libjpeg.so.8(LIBJPEG_8.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libnuma.so.1()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit)
Processing files: libbpg-debugsource-0.9.8-4.mga10.x86_64
Provides: libbpg-debugsource = 0.9.8-4.mga10 libbpg-debugsource(x86-64) = 0.9.8-4.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libbpg-debuginfo-0.9.8-4.mga10.x86_64
Provides: debuginfo(build-id) = 25137930ce910a6ac0b602d58386f74a78263f90 debuginfo(build-id) = 4d50012efa0e6d3e67c9b70baa5554993cb71d1f debuginfo(build-id) = d135adec245abbfb0591e4829d65b752099e1944 libbpg-debuginfo = 0.9.8-4.mga10 libbpg-debuginfo(x86-64) = 0.9.8-4.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libbpg-debugsource(x86-64) = 0.9.8-4.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libbpg-0.9.8-4.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libbpg-debugsource-0.9.8-4.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libbpg-debuginfo-0.9.8-4.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1rrohu
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ test -d /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/libbpg-0.9.8-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!