Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openjpeg.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1684430572.147043/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7hp9g8k6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7hp9g8k6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '044b26040a8f46f5b16263db9f7ea934', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1684430572.147043/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7hp9g8k6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openjpeg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (14 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/openjpeg-1.5.1-34.fc39.src.rpm RPM build warnings: %patchN is deprecated (14 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openjpeg.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1684430572.147043/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7hp9g8k6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7hp9g8k6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1df3c44eee4e4d5496fbef9f69202a1e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1684430572.147043/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7hp9g8k6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/openjpeg.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (14 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ORJJxX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openjpeg-1.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openjpeg-1.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openjpeg-1.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (openjpeg-1.5.1-soname.patch):' Patch #1 (openjpeg-1.5.1-soname.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .soname --fuzz=0 patching file CMakeLists.txt Patch #2 (openjpeg-1.5.1-offset-check.patch): + echo 'Patch #2 (openjpeg-1.5.1-offset-check.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .offset --fuzz=0 patching file libopenjpeg/tcd.c Patch #50 (openjpeg-1.5.1-cmake_libdir.patch): + echo 'Patch #50 (openjpeg-1.5.1-cmake_libdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cmake_libdir --fuzz=0 patching file CMakeLists.txt Patch #51 (openjpeg-1.5.1-doxygen_timestamp.patch): + echo 'Patch #51 (openjpeg-1.5.1-doxygen_timestamp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .doxygen_timestamp --fuzz=0 patching file doc/Doxyfile.dox.cmake.in patching file doc/Doxyfile.dox Patch #52 (openjpeg-fast-math.patch): + echo 'Patch #52 (openjpeg-fast-math.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fast-math --fuzz=0 patching file CMakeLists.txt patching file libopenjpeg/CMakeLists.txt patching file libopenjpeg/jpwl/CMakeLists.txt Patch #100 (openjpeg-1.5-r2029.patch): + echo 'Patch #100 (openjpeg-1.5-r2029.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .r2029 --fuzz=0 patching file libopenjpeg/jp2.c Patch #101 (openjpeg-1.5-r2031.patch): + echo 'Patch #101 (openjpeg-1.5-r2031.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .r2031 --fuzz=0 patching file libopenjpeg/jpwl/Makefile.am patching file libopenjpeg/Makefile.am Patch #102 (openjpeg-1.5-r2032.patch): + echo 'Patch #102 (openjpeg-1.5-r2032.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .r2032 --fuzz=0 patching file libopenjpeg/j2k.c Patch #103 (openjpeg-1.5-r2033.patch): + echo 'Patch #103 (openjpeg-1.5-r2033.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .r2033 --fuzz=0 patching file libopenjpeg/j2k.c Patch #200 (openjpeg-1.5.1-CVE-2013-6052.patch): + echo 'Patch #200 (openjpeg-1.5.1-CVE-2013-6052.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2013-6052 --fuzz=0 patching file libopenjpeg/cio.c patching file libopenjpeg/jp2.c Patch #201 (openjpeg-1.5.1-CVE-2013-6053.patch): + echo 'Patch #201 (openjpeg-1.5.1-CVE-2013-6053.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2013-6053 --fuzz=0 patching file libopenjpeg/j2k.c Patch #202 (openjpeg-1.5.1-CVE-2013-6045.patch): + echo 'Patch #202 (openjpeg-1.5.1-CVE-2013-6045.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2013-6045 --fuzz=0 patching file libopenjpeg/tcd.c Hunk #1 succeeded at 1448 (offset 1 line). Patch #203 (openjpeg-1.5.1-CVE-2013-1447.patch): + echo 'Patch #203 (openjpeg-1.5.1-CVE-2013-1447.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2013-1447 --fuzz=0 patching file libopenjpeg/cio.c patching file libopenjpeg/j2k.c Hunk #4 succeeded at 2004 (offset -19 lines). patching file libopenjpeg/jp2.c patching file libopenjpeg/t2.c patching file libopenjpeg/tcd.c Hunk #1 succeeded at 668 (offset 1 line). Hunk #2 succeeded at 1382 (offset 1 line). Patch #204 (openjpeg-1.5.1-CVE-2013-6887.patch): + echo 'Patch #204 (openjpeg-1.5.1-CVE-2013-6887.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2013-6887 --fuzz=0 patching file libopenjpeg/j2k.c Hunk #1 succeeded at 1678 (offset -19 lines). Hunk #2 succeeded at 1842 (offset -19 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.imGUr4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openjpeg-1.5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_DOC:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_MJ2:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DOPENJPEG_INSTALL_LIB_DIR:PATH=lib64 CMake Deprecation Warning at CMakeLists.txt:10 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for strings.h -- Looking for strings.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Your system seems to have a Z lib available, we will use it to generate PNG lib -- Found PNG: /usr/lib64/libpng.so (found version "1.6.37") -- Your system seems to have a PNG lib available, we will use it -- Found TIFF: /usr/lib64/libtiff.so (found version "4.5.0") -- Your system seems to have a TIFF lib available, we will use it -- Found LCMS2: /usr/lib64/liblcms2.so -- Your system seems to have a LCMS2 lib available, we will use it -- Found Doxygen: /usr/bin/doxygen (found version "1.9.6") found components: doxygen dot -- Configuring done (1.3s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j2 --verbose /usr/bin/cmake -S/builddir/build/BUILD/openjpeg-1.5.1 -B/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/CMakeFiles /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f libopenjpeg/CMakeFiles/openjpeg.dir/build.make libopenjpeg/CMakeFiles/openjpeg.dir/depend /usr/bin/gmake -f applications/mj2/CMakeFiles/frames_to_mj2.dir/build.make applications/mj2/CMakeFiles/frames_to_mj2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg/CMakeFiles/openjpeg.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2 /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2/CMakeFiles/frames_to_mj2.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f libopenjpeg/CMakeFiles/openjpeg.dir/build.make libopenjpeg/CMakeFiles/openjpeg.dir/build /usr/bin/gmake -f applications/mj2/CMakeFiles/frames_to_mj2.dir/build.make applications/mj2/CMakeFiles/frames_to_mj2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 1%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/bio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/bio.c.o -MF CMakeFiles/openjpeg.dir/bio.c.o.d -o CMakeFiles/openjpeg.dir/bio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.c [ 2%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/frames_to_mj2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/frames_to_mj2.c.o -MF CMakeFiles/frames_to_mj2.dir/frames_to_mj2.c.o.d -o CMakeFiles/frames_to_mj2.dir/frames_to_mj2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/frames_to_mj2.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/frames_to_mj2.c: In function 'main': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/frames_to_mj2.c:243:17: warning: variable 'y1' set but not used [-Wunused-but-set-variable] 243 | int x1, y1, len; | ^~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/frames_to_mj2.c:243:13: warning: variable 'x1' set but not used [-Wunused-but-set-variable] 243 | int x1, y1, len; | ^~ [ 2%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/cio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/cio.c.o -MF CMakeFiles/openjpeg.dir/cio.c.o.d -o CMakeFiles/openjpeg.dir/cio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/frames_to_mj2.c:476:33: warning: 'strncpy' specified bound 5 equals destination size [-Wstringop-truncation] 476 | strncpy(progression, opj_optarg, 5); | ^ [ 3%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/dwt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/dwt.c.o -MF CMakeFiles/openjpeg.dir/dwt.c.o.d -o CMakeFiles/openjpeg.dir/dwt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.c [ 3%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/common/opj_getopt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/common/opj_getopt.c.o -MF CMakeFiles/frames_to_mj2.dir/__/common/opj_getopt.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/common/opj_getopt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/opj_getopt.c [ 4%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/bio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/bio.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/bio.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/bio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.c [ 5%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cio.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cio.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.c [ 5%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/dwt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/dwt.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/dwt.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/dwt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.c [ 6%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/event.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/event.c.o -MF CMakeFiles/openjpeg.dir/event.c.o.d -o CMakeFiles/openjpeg.dir/event.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.c [ 6%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/image.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/image.c.o -MF CMakeFiles/openjpeg.dir/image.c.o.d -o CMakeFiles/openjpeg.dir/image.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.c [ 7%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/j2k.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/j2k.c.o -MF CMakeFiles/openjpeg.dir/j2k.c.o.d -o CMakeFiles/openjpeg.dir/j2k.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_siz': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:472:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 472 | if (!(cp->tdx * cp->tdy)) { | ~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:515:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 515 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:524:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 524 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:406:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 406 | int len, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_cod': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:784:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 784 | int len, i, pos; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_coc': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:837:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 837 | int len, compno; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_crg': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:29: warning: variable 'Ycrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:21: warning: variable 'Xcrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_tlm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:26: warning: variable 'Ptlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:18: warning: variable 'Ttlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1117:18: warning: variable 'Ztlm' set but not used [-Wunused-but-set-variable] 1117 | int len, Ztlm, Stlm, ST, SP, tile_tlm, i; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1135:21: warning: variable 'Zplm' set but not used [-Wunused-but-set-variable] 1135 | int len, i, Zplm, Nplm, add, packet_len = 0; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plt': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1160:21: warning: variable 'Zplt' set but not used [-Wunused-but-set-variable] 1160 | int len, i, Zplt, packet_len = 0, add; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_sot': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1305:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1305 | int len, tileno, totlen, partno, numparts, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_rgn': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:26: warning: variable 'roisty' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~ [ 8%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/event.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/event.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/event.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/event.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.c [ 9%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/image.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/image.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/image.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/image.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.c [ 9%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_siz': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:472:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 472 | if (!(cp->tdx * cp->tdy)) { | ~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:515:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 515 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:524:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 524 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:406:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 406 | int len, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_cod': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:784:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 784 | int len, i, pos; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_coc': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:837:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 837 | int len, compno; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_crg': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:29: warning: variable 'Ycrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:21: warning: variable 'Xcrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_tlm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:26: warning: variable 'Ptlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:18: warning: variable 'Ttlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1117:18: warning: variable 'Ztlm' set but not used [-Wunused-but-set-variable] 1117 | int len, Ztlm, Stlm, ST, SP, tile_tlm, i; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1135:21: warning: variable 'Zplm' set but not used [-Wunused-but-set-variable] 1135 | int len, i, Zplm, Nplm, add, packet_len = 0; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plt': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1160:21: warning: variable 'Zplt' set but not used [-Wunused-but-set-variable] 1160 | int len, i, Zplt, packet_len = 0, add; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_sot': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1305:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1305 | int len, tileno, totlen, partno, numparts, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_rgn': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:26: warning: variable 'roisty' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~ [ 10%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/j2k_lib.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/j2k_lib.c.o -MF CMakeFiles/openjpeg.dir/j2k_lib.c.o.d -o CMakeFiles/openjpeg.dir/j2k_lib.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.c [ 10%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/jp2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/jp2.c.o -MF CMakeFiles/openjpeg.dir/jp2.c.o.d -o CMakeFiles/openjpeg.dir/jp2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_apply_cdef': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:529:34: warning: variable 'typ' set but not used [-Wunused-but-set-variable] 529 | unsigned short i, n, cn, typ, asoc, acn; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:528:13: warning: variable 'color_space' set but not used [-Wunused-but-set-variable] 528 | int color_space; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_includes.h:49, from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:32: /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_write_jp2h': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.h:65:19: warning: 'return' with a value, in function returning void [-Wreturn-type] 65 | #define OPJ_FALSE 0 | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:828:32: note: in expansion of macro 'OPJ_FALSE' 828 | return OPJ_FALSE; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:813:6: note: declared here 813 | void jp2_write_jp2h(opj_jp2_t *jp2, opj_cio_t *cio) { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:826:58: warning: 'box.length' is used uninitialized [-Wuninitialized] 826 | if ((cio_tell(cio) - box.init_pos) != box.length) { | ~~~^~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box.length' was declared here 814 | opj_jp2_box_t box; | ^~~ [ 11%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/jpt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/jpt.c.o -MF CMakeFiles/openjpeg.dir/jpt.c.o.d -o CMakeFiles/openjpeg.dir/jpt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.c [ 12%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.c [ 13%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/mct.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/mct.c.o -MF CMakeFiles/openjpeg.dir/mct.c.o.d -o CMakeFiles/openjpeg.dir/mct.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.c [ 14%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jp2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jp2.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jp2.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jp2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_apply_cdef': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:529:34: warning: variable 'typ' set but not used [-Wunused-but-set-variable] 529 | unsigned short i, n, cn, typ, asoc, acn; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:528:13: warning: variable 'color_space' set but not used [-Wunused-but-set-variable] 528 | int color_space; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_includes.h:49, from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:32: /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_write_jp2h': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.h:65:19: warning: 'return' with a value, in function returning void [-Wreturn-type] 65 | #define OPJ_FALSE 0 | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:828:32: note: in expansion of macro 'OPJ_FALSE' 828 | return OPJ_FALSE; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:813:6: note: declared here 813 | void jp2_write_jp2h(opj_jp2_t *jp2, opj_cio_t *cio) { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:826:58: warning: 'box.length' is used uninitialized [-Wuninitialized] 826 | if ((cio_tell(cio) - box.init_pos) != box.length) { | ~~~^~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ [ 14%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/mqc.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/mqc.c.o -MF CMakeFiles/openjpeg.dir/mqc.c.o.d -o CMakeFiles/openjpeg.dir/mqc.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.c [ 15%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/openjpeg.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/openjpeg.c.o -MF CMakeFiles/openjpeg.dir/openjpeg.c.o.d -o CMakeFiles/openjpeg.dir/openjpeg.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box.length' was declared here 814 | opj_jp2_box_t box; | ^~~ [ 15%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jpt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jpt.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jpt.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jpt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.c [ 16%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/pi.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/pi.c.o -MF CMakeFiles/openjpeg.dir/pi.c.o.d -o CMakeFiles/openjpeg.dir/pi.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c [ 17%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mct.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mct.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mct.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mct.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c: In function 'pi_create_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:740:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 740 | case CPRL: strncpy(prog, "CPRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:744:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 744 | case PCRL: strncpy(prog, "PCRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:748:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 748 | case RPCL: strncpy(prog, "RPCL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:746:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 746 | case RLCP: strncpy(prog, "RLCP",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:742:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 742 | case LRCP: strncpy(prog, "LRCP",4); | ^ [ 18%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mqc.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mqc.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mqc.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mqc.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.c [ 18%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/openjpeg.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/openjpeg.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/openjpeg.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/openjpeg.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.c [ 19%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/pi.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/pi.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/pi.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/pi.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c [ 19%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/raw.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/raw.c.o -MF CMakeFiles/openjpeg.dir/raw.c.o.d -o CMakeFiles/openjpeg.dir/raw.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.c [ 20%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/t1.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/t1.c.o -MF CMakeFiles/openjpeg.dir/t1.c.o.d -o CMakeFiles/openjpeg.dir/t1.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c: In function 'pi_create_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:740:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 740 | case CPRL: strncpy(prog, "CPRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:744:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 744 | case PCRL: strncpy(prog, "PCRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:748:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 748 | case RPCL: strncpy(prog, "RPCL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:746:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 746 | case RLCP: strncpy(prog, "RLCP",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:742:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 742 | case LRCP: strncpy(prog, "LRCP",4); | ^ [ 21%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/raw.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/raw.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/raw.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/raw.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.c [ 21%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t1.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t1.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t1.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t1.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.c [ 22%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/t2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/t2.c.o -MF CMakeFiles/openjpeg.dir/t2.c.o.d -o CMakeFiles/openjpeg.dir/t2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c: In function 't2_decode_packet': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c:343:13: warning: the comparison will always evaluate as 'true' for the pointer operand in 'tile->comps + (sizetype)((long unsigned int)compno * 48)' must not be NULL [-Waddress] 343 | if (!&(tile->comps[compno])) { | ^ [ 22%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/tcd.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/tcd.c.o -MF CMakeFiles/openjpeg.dir/tcd.c.o.d -o CMakeFiles/openjpeg.dir/tcd.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_init_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_decode_tile': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:66: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:55: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ [ 23%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t2.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t2.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c: In function 't2_decode_packet': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c:343:13: warning: the comparison will always evaluate as 'true' for the pointer operand in 'tile->comps + (sizetype)((long unsigned int)compno * 48)' must not be NULL [-Waddress] 343 | if (!&(tile->comps[compno])) { | ^ [ 24%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tcd.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tcd.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tcd.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tcd.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_init_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_decode_tile': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:66: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:55: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ [ 25%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/tgt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/tgt.c.o -MF CMakeFiles/openjpeg.dir/tgt.c.o.d -o CMakeFiles/openjpeg.dir/tgt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.c [ 26%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/cidx_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/cidx_manager.c.o -MF CMakeFiles/openjpeg.dir/cidx_manager.c.o.d -o CMakeFiles/openjpeg.dir/cidx_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.c [ 26%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/phix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/phix_manager.c.o -MF CMakeFiles/openjpeg.dir/phix_manager.c.o.d -o CMakeFiles/openjpeg.dir/phix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/phix_manager.c [ 27%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/ppix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/ppix_manager.c.o -MF CMakeFiles/openjpeg.dir/ppix_manager.c.o.d -o CMakeFiles/openjpeg.dir/ppix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/ppix_manager.c [ 28%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/thix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/thix_manager.c.o -MF CMakeFiles/openjpeg.dir/thix_manager.c.o.d -o CMakeFiles/openjpeg.dir/thix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/thix_manager.c [ 28%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tgt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tgt.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tgt.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tgt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.c [ 28%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/tpix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/gcc -Dopenjpeg_EXPORTS -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -fPIC -ffast-math -MD -MT libopenjpeg/CMakeFiles/openjpeg.dir/tpix_manager.c.o -MF CMakeFiles/openjpeg.dir/tpix_manager.c.o.d -o CMakeFiles/openjpeg.dir/tpix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tpix_manager.c [ 29%] Linking C shared library ../bin/libopenjpeg.so cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/cmake -E cmake_link_script CMakeFiles/openjpeg.dir/link.txt --verbose=1 [ 30%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.c /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libopenjpeg.so.1 -o ../bin/libopenjpeg.so.1.5.1 CMakeFiles/openjpeg.dir/bio.c.o CMakeFiles/openjpeg.dir/cio.c.o CMakeFiles/openjpeg.dir/dwt.c.o CMakeFiles/openjpeg.dir/event.c.o CMakeFiles/openjpeg.dir/image.c.o CMakeFiles/openjpeg.dir/j2k.c.o CMakeFiles/openjpeg.dir/j2k_lib.c.o CMakeFiles/openjpeg.dir/jp2.c.o CMakeFiles/openjpeg.dir/jpt.c.o CMakeFiles/openjpeg.dir/mct.c.o CMakeFiles/openjpeg.dir/mqc.c.o CMakeFiles/openjpeg.dir/openjpeg.c.o CMakeFiles/openjpeg.dir/pi.c.o CMakeFiles/openjpeg.dir/raw.c.o CMakeFiles/openjpeg.dir/t1.c.o CMakeFiles/openjpeg.dir/t2.c.o CMakeFiles/openjpeg.dir/tcd.c.o CMakeFiles/openjpeg.dir/tgt.c.o CMakeFiles/openjpeg.dir/cidx_manager.c.o CMakeFiles/openjpeg.dir/phix_manager.c.o CMakeFiles/openjpeg.dir/ppix_manager.c.o CMakeFiles/openjpeg.dir/thix_manager.c.o CMakeFiles/openjpeg.dir/tpix_manager.c.o -lm [ 31%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/phix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/phix_manager.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/phix_manager.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/phix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/phix_manager.c [ 31%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/ppix_manager.c [ 32%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/thix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/thix_manager.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/thix_manager.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/thix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/thix_manager.c [ 32%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o -MF CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o.d -o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tpix_manager.c [ 33%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/mj2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/mj2.c.o -MF CMakeFiles/frames_to_mj2.dir/mj2.c.o.d -o CMakeFiles/frames_to_mj2.dir/mj2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c: In function 'mj2_read_struct': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c:2624:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2624 | fread(src,300,1, file); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c:2643:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2643 | fread(src,30,1,file); | ^~~~~~~~~~~~~~~~~~~~ [ 34%] Building C object applications/mj2/CMakeFiles/frames_to_mj2.dir/mj2_convert.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/frames_to_mj2.dir/mj2_convert.c.o -MF CMakeFiles/frames_to_mj2.dir/mj2_convert.c.o.d -o CMakeFiles/frames_to_mj2.dir/mj2_convert.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c: In function 'imagetobmp': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:274:12: warning: variable 'h' set but not used [-Wunused-but-set-variable] 274 | int w,wr,h,hr,i,pad; | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c: In function 'yuvtoimage': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:154:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fread(&uc, 1, 1, yuvfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:159:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fread(&uc, 1, 1, yuvfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 34%] Linking C executable ../../bin/frames_to_mj2 cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/frames_to_mj2.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/frames_to_mj2.dir/frames_to_mj2.c.o CMakeFiles/frames_to_mj2.dir/__/common/opj_getopt.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/bio.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cio.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/dwt.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/event.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/image.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jp2.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/jpt.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mct.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/mqc.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/openjpeg.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/pi.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/raw.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t1.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/t2.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tcd.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tgt.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/phix_manager.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/thix_manager.c.o CMakeFiles/frames_to_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o CMakeFiles/frames_to_mj2.dir/mj2.c.o CMakeFiles/frames_to_mj2.dir/mj2_convert.c.o -o ../../bin/frames_to_mj2 -llcms2 -lm cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/libopenjpeg && /usr/bin/cmake -E cmake_symlink_library ../bin/libopenjpeg.so.1.5.1 ../bin/libopenjpeg.so.1 ../bin/libopenjpeg.so gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 34%] Built target openjpeg /usr/bin/gmake -f applications/mj2/CMakeFiles/mj2_to_frames.dir/build.make applications/mj2/CMakeFiles/mj2_to_frames.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2 /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2/CMakeFiles/mj2_to_frames.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f applications/mj2/CMakeFiles/mj2_to_frames.dir/build.make applications/mj2/CMakeFiles/mj2_to_frames.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 35%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/mj2_to_frames.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/mj2_to_frames.c.o -MF CMakeFiles/mj2_to_frames.dir/mj2_to_frames.c.o.d -o CMakeFiles/mj2_to_frames.dir/mj2_to_frames.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_to_frames.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_to_frames.c: In function 'main': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_to_frames.c:103:16: warning: variable 'n' set but not used [-Wunused-but-set-variable] 103 | size_t n; | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_to_frames.c:210:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | fread(frame_codestream, sample->sample_size-8, 1, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_to_frames.c:250:9: warning: 'movie' may be used uninitialized [-Wmaybe-uninitialized] 250 | mj2_destroy_decompress(movie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_to_frames.c:80:14: note: 'movie' was declared here 80 | opj_mj2_t *movie; | ^~~~~ [ 36%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/common/opj_getopt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/common/opj_getopt.c.o -MF CMakeFiles/mj2_to_frames.dir/__/common/opj_getopt.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/common/opj_getopt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/opj_getopt.c [ 36%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/bio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/bio.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/bio.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/bio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.c [ 37%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cio.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cio.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.c [ 37%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/dwt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/dwt.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/dwt.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/dwt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.c [ 38%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/event.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/event.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/event.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/event.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.c [ 39%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/image.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/image.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/image.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/image.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.c [ 39%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_siz': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:472:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 472 | if (!(cp->tdx * cp->tdy)) { | ~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:515:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 515 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:524:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 524 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:406:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 406 | int len, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_cod': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:784:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 784 | int len, i, pos; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_coc': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:837:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 837 | int len, compno; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_crg': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:29: warning: variable 'Ycrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:21: warning: variable 'Xcrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_tlm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:26: warning: variable 'Ptlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:18: warning: variable 'Ttlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1117:18: warning: variable 'Ztlm' set but not used [-Wunused-but-set-variable] 1117 | int len, Ztlm, Stlm, ST, SP, tile_tlm, i; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1135:21: warning: variable 'Zplm' set but not used [-Wunused-but-set-variable] 1135 | int len, i, Zplm, Nplm, add, packet_len = 0; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plt': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1160:21: warning: variable 'Zplt' set but not used [-Wunused-but-set-variable] 1160 | int len, i, Zplt, packet_len = 0, add; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_sot': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1305:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1305 | int len, tileno, totlen, partno, numparts, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_rgn': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:26: warning: variable 'roisty' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~ [ 40%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k_lib.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k_lib.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k_lib.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k_lib.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.c [ 41%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jp2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jp2.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jp2.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jp2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_apply_cdef': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:529:34: warning: variable 'typ' set but not used [-Wunused-but-set-variable] 529 | unsigned short i, n, cn, typ, asoc, acn; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:528:13: warning: variable 'color_space' set but not used [-Wunused-but-set-variable] 528 | int color_space; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_includes.h:49, from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:32: /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_write_jp2h': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.h:65:19: warning: 'return' with a value, in function returning void [-Wreturn-type] 65 | #define OPJ_FALSE 0 | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:828:32: note: in expansion of macro 'OPJ_FALSE' 828 | return OPJ_FALSE; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:813:6: note: declared here 813 | void jp2_write_jp2h(opj_jp2_t *jp2, opj_cio_t *cio) { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:826:58: warning: 'box.length' is used uninitialized [-Wuninitialized] 826 | if ((cio_tell(cio) - box.init_pos) != box.length) { | ~~~^~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box.length' was declared here 814 | opj_jp2_box_t box; | ^~~ [ 41%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jpt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jpt.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jpt.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jpt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.c [ 42%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mct.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mct.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mct.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mct.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.c [ 43%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mqc.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mqc.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mqc.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mqc.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.c [ 43%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/openjpeg.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/openjpeg.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/openjpeg.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/openjpeg.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.c [ 44%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/pi.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/pi.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/pi.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/pi.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c: In function 'pi_create_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:740:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 740 | case CPRL: strncpy(prog, "CPRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:744:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 744 | case PCRL: strncpy(prog, "PCRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:748:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 748 | case RPCL: strncpy(prog, "RPCL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:746:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 746 | case RLCP: strncpy(prog, "RLCP",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:742:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 742 | case LRCP: strncpy(prog, "LRCP",4); | ^ [ 45%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/raw.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/raw.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/raw.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/raw.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.c [ 45%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t1.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t1.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t1.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t1.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.c gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 45%] Built target frames_to_mj2 /usr/bin/gmake -f applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/build.make applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2 /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/build.make applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 45%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/extract_j2k_from_mj2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/extract_j2k_from_mj2.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/extract_j2k_from_mj2.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/extract_j2k_from_mj2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/extract_j2k_from_mj2.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/extract_j2k_from_mj2.c: In function 'main': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/extract_j2k_from_mj2.c:95:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | fread(buf, 1, 24, mj2file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/extract_j2k_from_mj2.c:166:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fread(frame_codestream,sample->sample_size-8,1, mj2file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/extract_j2k_from_mj2.c:187:11: warning: 'dinfo' may be used uninitialized [-Wmaybe-uninitialized] 187 | if(dinfo) | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/extract_j2k_from_mj2.c:67:22: note: 'dinfo' was declared here 67 | opj_dinfo_t* dinfo; | ^~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/extract_j2k_from_mj2.c:189:9: warning: 'movie' may be used uninitialized [-Wmaybe-uninitialized] 189 | mj2_destroy_decompress(movie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/extract_j2k_from_mj2.c:71:14: note: 'movie' was declared here 71 | opj_mj2_t *movie; | ^~~~~ [ 46%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/bio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/bio.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/bio.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/bio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.c [ 46%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cio.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cio.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.c [ 47%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/dwt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/dwt.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/dwt.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/dwt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.c [ 48%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t2.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t2.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c: In function 't2_decode_packet': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c:343:13: warning: the comparison will always evaluate as 'true' for the pointer operand in 'tile->comps + (sizetype)((long unsigned int)compno * 48)' must not be NULL [-Waddress] 343 | if (!&(tile->comps[compno])) { | ^ [ 49%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/event.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/event.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/event.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/event.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.c [ 50%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tcd.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tcd.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tcd.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tcd.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_init_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_decode_tile': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:66: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:55: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ [ 50%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/image.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/image.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/image.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/image.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.c [ 51%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_siz': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:472:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 472 | if (!(cp->tdx * cp->tdy)) { | ~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:515:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 515 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:524:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 524 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:406:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 406 | int len, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_cod': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:784:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 784 | int len, i, pos; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_coc': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:837:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 837 | int len, compno; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_crg': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:29: warning: variable 'Ycrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:21: warning: variable 'Xcrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_tlm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:26: warning: variable 'Ptlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:18: warning: variable 'Ttlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1117:18: warning: variable 'Ztlm' set but not used [-Wunused-but-set-variable] 1117 | int len, Ztlm, Stlm, ST, SP, tile_tlm, i; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1135:21: warning: variable 'Zplm' set but not used [-Wunused-but-set-variable] 1135 | int len, i, Zplm, Nplm, add, packet_len = 0; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plt': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1160:21: warning: variable 'Zplt' set but not used [-Wunused-but-set-variable] 1160 | int len, i, Zplt, packet_len = 0, add; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_sot': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1305:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1305 | int len, tileno, totlen, partno, numparts, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_rgn': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:26: warning: variable 'roisty' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~ [ 51%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tgt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tgt.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tgt.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tgt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.c [ 52%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.c [ 52%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jp2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jp2.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jp2.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jp2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_apply_cdef': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:529:34: warning: variable 'typ' set but not used [-Wunused-but-set-variable] 529 | unsigned short i, n, cn, typ, asoc, acn; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:528:13: warning: variable 'color_space' set but not used [-Wunused-but-set-variable] 528 | int color_space; | ^~~~~~~~~~~ [ 53%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cidx_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cidx_manager.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cidx_manager.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cidx_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.c In file included from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_includes.h:49, from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:32: /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_write_jp2h': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.h:65:19: warning: 'return' with a value, in function returning void [-Wreturn-type] 65 | #define OPJ_FALSE 0 | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:828:32: note: in expansion of macro 'OPJ_FALSE' 828 | return OPJ_FALSE; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:813:6: note: declared here 813 | void jp2_write_jp2h(opj_jp2_t *jp2, opj_cio_t *cio) { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:826:58: warning: 'box.length' is used uninitialized [-Wuninitialized] 826 | if ((cio_tell(cio) - box.init_pos) != box.length) { | ~~~^~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ [ 54%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/phix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/phix_manager.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/phix_manager.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/phix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/phix_manager.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box.length' was declared here 814 | opj_jp2_box_t box; | ^~~ [ 54%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/ppix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/ppix_manager.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/ppix_manager.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/ppix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/ppix_manager.c [ 55%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jpt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jpt.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jpt.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jpt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.c [ 56%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/thix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/thix_manager.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/thix_manager.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/thix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/thix_manager.c [ 57%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mct.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mct.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mct.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mct.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.c [ 58%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tpix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tpix_manager.c.o -MF CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tpix_manager.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tpix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tpix_manager.c [ 58%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mqc.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mqc.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mqc.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mqc.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.c [ 58%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/mj2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/mj2.c.o -MF CMakeFiles/mj2_to_frames.dir/mj2.c.o.d -o CMakeFiles/mj2_to_frames.dir/mj2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c: In function 'mj2_read_struct': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c:2624:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2624 | fread(src,300,1, file); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c:2643:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2643 | fread(src,30,1,file); | ^~~~~~~~~~~~~~~~~~~~ [ 59%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/openjpeg.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/openjpeg.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/openjpeg.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/openjpeg.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.c [ 60%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/pi.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/pi.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/pi.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/pi.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c: In function 'pi_create_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:740:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 740 | case CPRL: strncpy(prog, "CPRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:744:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 744 | case PCRL: strncpy(prog, "PCRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:748:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 748 | case RPCL: strncpy(prog, "RPCL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:746:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 746 | case RLCP: strncpy(prog, "RLCP",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:742:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 742 | case LRCP: strncpy(prog, "LRCP",4); | ^ [ 61%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/mj2_convert.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/mj2_convert.c.o -MF CMakeFiles/mj2_to_frames.dir/mj2_convert.c.o.d -o CMakeFiles/mj2_to_frames.dir/mj2_convert.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c [ 61%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/raw.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/raw.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/raw.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/raw.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c: In function 'imagetobmp': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:274:12: warning: variable 'h' set but not used [-Wunused-but-set-variable] 274 | int w,wr,h,hr,i,pad; | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c: In function 'yuvtoimage': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:154:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fread(&uc, 1, 1, yuvfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:159:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fread(&uc, 1, 1, yuvfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 62%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t1.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t1.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t1.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t1.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.c [ 63%] Building C object applications/mj2/CMakeFiles/mj2_to_frames.dir/__/common/color.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/mj2_to_frames.dir/__/common/color.c.o -MF CMakeFiles/mj2_to_frames.dir/__/common/color.c.o.d -o CMakeFiles/mj2_to_frames.dir/__/common/color.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c: In function 'color_apply_icc_profile': /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c:287:13: warning: variable 'prec' set but not used [-Wunused-but-set-variable] 287 | int prec, i, max, max_w, max_h; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c:284:32: warning: variable 'in_space' set but not used [-Wunused-but-set-variable] 284 | cmsColorSpaceSignature in_space, out_space; | ^~~~~~~~ [ 63%] Linking C executable ../../bin/mj2_to_frames cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/mj2_to_frames.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/mj2_to_frames.dir/mj2_to_frames.c.o CMakeFiles/mj2_to_frames.dir/__/common/opj_getopt.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/bio.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cio.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/dwt.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/event.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/image.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/j2k_lib.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jp2.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/jpt.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mct.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/mqc.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/openjpeg.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/pi.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/raw.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t1.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/t2.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tcd.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tgt.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/cidx_manager.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/phix_manager.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/ppix_manager.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/thix_manager.c.o CMakeFiles/mj2_to_frames.dir/__/__/libopenjpeg/tpix_manager.c.o CMakeFiles/mj2_to_frames.dir/mj2.c.o CMakeFiles/mj2_to_frames.dir/mj2_convert.c.o CMakeFiles/mj2_to_frames.dir/__/common/color.c.o -o ../../bin/mj2_to_frames -llcms2 -lm [ 64%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t2.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t2.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c: In function 't2_decode_packet': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c:343:13: warning: the comparison will always evaluate as 'true' for the pointer operand in 'tile->comps + (sizetype)((long unsigned int)compno * 48)' must not be NULL [-Waddress] 343 | if (!&(tile->comps[compno])) { | ^ [ 64%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tcd.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tcd.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tcd.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tcd.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_init_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_decode_tile': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:66: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:55: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ [ 65%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tgt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tgt.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tgt.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tgt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.c [ 66%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.c [ 66%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/phix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/phix_manager.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/phix_manager.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/phix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/phix_manager.c [ 67%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/ppix_manager.c [ 68%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/thix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/thix_manager.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/thix_manager.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/thix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/thix_manager.c [ 68%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tpix_manager.c [ 69%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/mj2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/mj2.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/mj2.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/mj2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c: In function 'mj2_read_struct': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c:2624:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2624 | fread(src,300,1, file); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c:2643:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2643 | fread(src,30,1,file); | ^~~~~~~~~~~~~~~~~~~~ [ 69%] Building C object applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/mj2_convert.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/extract_j2k_from_mj2.dir/mj2_convert.c.o -MF CMakeFiles/extract_j2k_from_mj2.dir/mj2_convert.c.o.d -o CMakeFiles/extract_j2k_from_mj2.dir/mj2_convert.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c: In function 'imagetobmp': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:274:12: warning: variable 'h' set but not used [-Wunused-but-set-variable] 274 | int w,wr,h,hr,i,pad; | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c: In function 'yuvtoimage': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:154:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fread(&uc, 1, 1, yuvfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:159:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fread(&uc, 1, 1, yuvfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 70%] Linking C executable ../../bin/extract_j2k_from_mj2 cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/extract_j2k_from_mj2.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/extract_j2k_from_mj2.dir/extract_j2k_from_mj2.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/bio.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cio.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/dwt.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/event.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/image.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jp2.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/jpt.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mct.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/mqc.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/openjpeg.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/pi.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/raw.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t1.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/t2.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tcd.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tgt.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/phix_manager.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/thix_manager.c.o CMakeFiles/extract_j2k_from_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o CMakeFiles/extract_j2k_from_mj2.dir/mj2.c.o CMakeFiles/extract_j2k_from_mj2.dir/mj2_convert.c.o -o ../../bin/extract_j2k_from_mj2 -llcms2 -lm gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 70%] Built target mj2_to_frames /usr/bin/gmake -f applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/build.make applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2 /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/build.make applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 71%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/wrap_j2k_in_mj2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/wrap_j2k_in_mj2.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/wrap_j2k_in_mj2.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/wrap_j2k_in_mj2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c: In function 'main': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:393:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 393 | fread(frame_codestream+8,sample->sample_size-8,1,j2kfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c: In function 'test_image': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:71:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fread(src, 1, src_len, reader); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c: In function 'read_siz_marker': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:171:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | fread(&buf,1,1, file); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:173:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 173 | fread(&buf,1,1, file); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:177:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | fread(buf2,2,1,file); /* Lsiz */ | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:181:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 181 | fread(siz_buffer,len, 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c: In function 'main': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:453:5: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 453 | if(buf) free(buf); | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:280:18: note: 'buf' was declared here 280 | unsigned char *buf; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:457:9: warning: 'movie' may be used uninitialized [-Wmaybe-uninitialized] 457 | mj2_destroy_compress(movie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:275:14: note: 'movie' was declared here 275 | opj_mj2_t *movie; | ^~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:460:3: warning: 'j2kfilename' may be used uninitialized [-Wmaybe-uninitialized] 460 | free(j2kfilename); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/wrap_j2k_in_mj2.c:279:9: note: 'j2kfilename' was declared here 279 | char *j2kfilename; | ^~~~~~~~~~~ [ 71%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/bio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/bio.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/bio.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/bio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.c [ 72%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cio.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cio.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cio.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cio.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.c [ 72%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/dwt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/dwt.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/dwt.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/dwt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.c [ 73%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/event.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/event.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/event.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/event.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.c [ 74%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/image.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/image.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/image.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/image.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.c [ 74%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_siz': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:472:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 472 | if (!(cp->tdx * cp->tdy)) { | ~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:515:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 515 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:524:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 524 | if (!(image->comps[i].dx * image->comps[i].dy)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:406:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 406 | int len, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_cod': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:784:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 784 | int len, i, pos; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_coc': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:837:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 837 | int len, compno; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_crg': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:29: warning: variable 'Ycrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:21: warning: variable 'Xcrg_i' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1104:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1104 | int len, i, Xcrg_i, Ycrg_i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_tlm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:26: warning: variable 'Ptlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1118:18: warning: variable 'Ttlm_i' set but not used [-Wunused-but-set-variable] 1118 | long int Ttlm_i, Ptlm_i; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1117:18: warning: variable 'Ztlm' set but not used [-Wunused-but-set-variable] 1117 | int len, Ztlm, Stlm, ST, SP, tile_tlm, i; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plm': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1135:21: warning: variable 'Zplm' set but not used [-Wunused-but-set-variable] 1135 | int len, i, Zplm, Nplm, add, packet_len = 0; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_plt': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1160:21: warning: variable 'Zplt' set but not used [-Wunused-but-set-variable] 1160 | int len, i, Zplt, packet_len = 0, add; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_sot': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1305:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1305 | int len, tileno, totlen, partno, numparts, i; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c: In function 'j2k_read_rgn': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:26: warning: variable 'roisty' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c:1600:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1600 | int len, compno, roisty; | ^~~ [ 75%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.c [ 76%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jp2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jp2.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jp2.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jp2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_apply_cdef': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:529:34: warning: variable 'typ' set but not used [-Wunused-but-set-variable] 529 | unsigned short i, n, cn, typ, asoc, acn; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:528:13: warning: variable 'color_space' set but not used [-Wunused-but-set-variable] 528 | int color_space; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_includes.h:49, from /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:32: /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c: In function 'jp2_write_jp2h': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.h:65:19: warning: 'return' with a value, in function returning void [-Wreturn-type] 65 | #define OPJ_FALSE 0 | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:828:32: note: in expansion of macro 'OPJ_FALSE' 828 | return OPJ_FALSE; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:813:6: note: declared here 813 | void jp2_write_jp2h(opj_jp2_t *jp2, opj_cio_t *cio) { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:826:58: warning: 'box.length' is used uninitialized [-Wuninitialized] 826 | if ((cio_tell(cio) - box.init_pos) != box.length) { | ~~~^~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box' declared here 814 | opj_jp2_box_t box; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:825:17: warning: 'box.length' is used uninitialized [-Wuninitialized] 825 | cio_skip(cio, box.length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:814:23: note: 'box.length' was declared here 814 | opj_jp2_box_t box; | ^~~ [ 76%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jpt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jpt.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jpt.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jpt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.c [ 77%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mct.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mct.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mct.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mct.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.c [ 78%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mqc.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mqc.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mqc.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mqc.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.c [ 78%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/openjpeg.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/openjpeg.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/openjpeg.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/openjpeg.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.c [ 79%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/pi.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/pi.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/pi.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/pi.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c: In function 'pi_create_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:740:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 740 | case CPRL: strncpy(prog, "CPRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:744:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 744 | case PCRL: strncpy(prog, "PCRL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:748:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 748 | case RPCL: strncpy(prog, "RPCL",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:746:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 746 | case RLCP: strncpy(prog, "RLCP",4); | ^ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c:742:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 742 | case LRCP: strncpy(prog, "LRCP",4); | ^ [ 80%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/raw.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/raw.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/raw.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/raw.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.c gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 80%] Built target extract_j2k_from_mj2 /usr/bin/gmake -f doc/CMakeFiles/doc.dir/build.make doc/CMakeFiles/doc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/doc /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/CMakeFiles/doc.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f doc/CMakeFiles/doc.dir/build.make doc/CMakeFiles/doc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc && /usr/bin/doxygen /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox warning: Tag 'SYMBOL_CACHE_SIZE' at line 52 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'SHOW_DIRECTORIES' at line 85 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'COLS_IN_ALPHA_INDEX' at line 137 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'HTML_ALIGN_MEMBERS' at line 152 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'USE_INLINE_TREES' at line 179 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'FORMULA_TRANSPARENT' at line 183 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'LATEX_SOURCE_CODE' at line 203 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_SCHEMA' at line 225 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_DTD' at line 226 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 259 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLASS_DIAGRAMS' at line 263 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 264 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTNAME' at line 268 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_FONTSIZE' at line 269 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'DOT_TRANSPARENT' at line 288 of file '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value Using the default: a4! [ 80%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t1.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t1.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t1.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t1.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.c Doxygen version used: 1.9.6 Searching for include files... Searching for example files... Searching for images... Searching for dot files... Searching for msc files... Searching for dia files... Searching for files to exclude Searching INPUT for files to process... Searching for files in directory /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg Searching for files in directory /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl Searching for files in directory /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc Searching for files in directory /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/html Searching for files in directory /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/CMakeFiles Searching for files in directory /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/CMakeFiles/doc.dir Reading and parsing tag files Parsing files Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/bio.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cio.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/dwt.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/event.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/fix.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/fix.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/image.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/indexbox_manager.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/indexbox_manager.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/int.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/int.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/j2k_lib.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpt.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/crc.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/crc.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/crc.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/crc.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/jpwl.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/jpwl.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/jpwl.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/jpwl.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/jpwl_lib.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/jpwl_lib.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/rs.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/rs.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/rs.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jpwl/rs.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mct.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/mqc.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/openjpeg.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_includes.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_includes.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_malloc.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/opj_malloc.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/phix_manager.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/phix_manager.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/pi.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/ppix_manager.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/ppix_manager.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/raw.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1_generate_luts.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1_generate_luts.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1_luts.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t1_luts.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.h... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.h... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/thix_manager.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/thix_manager.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tpix_manager.c... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tpix_manager.c... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/Doxyfile-html.dox... Preprocessing /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/mainpage.dox... Parsing file /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/doc/mainpage.dox... Building macro definition list... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Building concept list... Computing nesting relations for classes... Associating documentation with classes... Associating documentation with concepts... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building interface member list... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Computing class relations... Add enum values to enums... Searching for member function documentation... Creating members for template instances... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Sorting lists... Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Setting anonymous enum type... Computing dependencies between directories... Generating citations page... Counting members... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Transferring function references... Combining using relations... Adding members to index pages... Correcting members for VHDL... Computing tooltip texts... Generating style sheet... Generating search indices... Generating example documentation... Generating file sources... Parsing code for file bio.c... Generating code for file bio.h... Parsing code for file cidx_manager.c... Generating code for file cidx_manager.h... Parsing code for file cio.c... Generating code for file cio.h... Parsing code for file dwt.c... Generating code for file dwt.h... Parsing code for file event.c... Generating code for file event.h... Generating code for file fix.h... Parsing code for file image.c... Generating code for file image.h... Generating code for file indexbox_manager.h... Generating code for file int.h... Parsing code for file j2k.c... Generating code for file j2k.h... Parsing code for file j2k_lib.c... Generating code for file j2k_lib.h... Parsing code for file jp2.c... Generating code for file jp2.h... Parsing code for file jpt.c... Generating code for file jpt.h... Parsing code for fi/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.c:94: warning: The following parameter of jp2_apply_pclr(opj_jp2_color_t *color, opj_image_t *image, opj_common_ptr cinfo) is not documented: parameter 'cinfo' /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.h:167: warning: argument 'ext' of command @param is not found in the argument list of jp2_read_jp2h(opj_jp2_t *jp2, opj_cio_t *cio, opj_jp2_color_t *color) /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.h:167: warning: The following parameter of jp2_read_jp2h(opj_jp2_t *jp2, opj_cio_t *cio, opj_jp2_color_t *color) is not documented: parameter 'color' /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.h:167: warning: argument 'ext' of command @param is not found in the argument list of jp2_read_jp2h(opj_jp2_t *jp2, opj_cio_t *cio, opj_jp2_color_t *color) /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/jp2.h:167: warning: The following parameter of jp2_read_jp2h(opj_jp2_t *jp2, opj_cio_t *cio, opj_jp2_color_t *color) is not documented: parameter 'color' le crc.c... Generating code for file crc.h... Parsing code for file jpwl.c... Generating code for file jpwl.h... Parsing code for file jpwl_lib.c... Parsing code for file rs.c... Generating code for file rs.h... Parsing code for file mct.c... Generating code for file mct.h... Parsing code for file mqc.c... Generating code for file mqc.h... Parsing code for file openjpeg.c... Generating code for file openjpeg.h... Generating code for file opj_includes.h... Generating code for file opj_malloc.h... Parsing code for file phix_manager.c... Parsing code for file pi.c... Generating code for file pi.h... Parsing code for file ppix_manager.c... Parsing code for file raw.c... Generating code for file raw.h... Parsing code for file t1.c... Generating code for file t1.h... Parsing code for file t1_generate_luts.c... Generating code for file t1_luts.h... Parsing code for file t2.c... Generating code for file t2.h... Parsing code for file tcd.c... Generating code for file tcd.h... Parsing code for file tgt.c... Generating code for file tgt.h... Parsing code for file thix_manager.c... Parsing code for file tpix_manager.c... Parsing code for file Doxyfile-html.dox... Parsing code for file mainpage.dox... Generating file documentation... Generating docs for file bio.c... Generating docs for file bio.h... Generating docs for file cidx_manager.c... Generating docs for file cidx_manager.h... Generating docs for file cio.c... Generating docs for file cio.h... Generating docs for file dwt.c... Generating docs for file dwt.h... Generating docs for file event.c... Generating docs for file event.h... Generating docs for file fix.h... Generating docs for file image.c... Generating docs for file image.h... Generating docs for file indexbox_manager.h... Generating docs for file int.h... Generating docs for file j2k.c... Generating docs for file j2k.h... Generating docs for file j2k_lib.c... Generating docs for file j2k_lib.h... Generating docs for file jp2.c... Generating docs for file jp2.h... Generating docs for file jpt.c... Generating docs for file jpt.h... Generating docs for file crc.c... Generating docs for file crc.h... Generating docs for file jpwl.c... Generating docs for file jpwl.h... Generating docs for file jpwl_lib.c... Generating docs for file rs.c... Generating docs for file rs.h... Generating docs for file mct.c... Generating docs for file mct.h... Generating docs for file mqc.c... Generating docs for file mqc.h... Generating docs for file openjpeg.c... Generating docs for file openjpeg.h... Generating docs for file opj_includes.h... Generating docs for file opj_malloc.h... Generating docs for file phix_manager.c... Generating docs for file pi.c... Generating docs for file pi.h... Generating docs for file ppix_manager.c... Generating docs for file raw.c... Generating docs for file raw.h... Generating docs for file t1.c... Generating docs for file t1.h... Generating docs for file t1_generate_luts.c... Generating docs for file t1_luts.h... Generating docs for file t2.c... Generating docs for file t2.h... Generating docs for file tcd.c... Generating docs for file tcd.h... Generating docs for file tgt.c... Generating docs for file tgt.h... Generating docs for file thix_manager.c... Generating docs for file tpix_manager.c... Generating docs for file Doxyfile-html.dox... Generating docs for file mainpage.dox... Generating page documentation... Generating docs for page todo... Generating group documentation... Generating class documentation... Generating docs for compound dwt_local... Generating docs for compound j2k_prog_order... Generating docs for compound jpwl_epb_ms... Generating docs for compound jpwl_epc_ms... Generating docs for compound jpwl_esd_ms... Generating docs for compound jpwl_marker... Generating docs for nested compound jpwl_marker::jpwl_marks... Generating docs for compound jpwl_red_ms... Generating docs for compound opj_bio... Generating docs for compound opj_cinfo... Generating docs for compound opj_cio... Generating docs for compound opj_codestream_info... Generating docs for compound opj_common_struct... Generating docs for compound opj_cp... Generating docs for compound opj_cparameters... Generating docs for compound opj_dec_mstabent... Generating docs for compound opj_dinfo... Generating docs for compound opj_dparameters... Generating docs for compound opj_event_mgr... Generating docs for compound opj_image... Generating docs for compound opj_image_comp... Generating docs for compound opj_image_comptparm... Generating docs for compound opj_j2k... Generating docs for compound opj_jp2... Generating docs for compound opj_jp2_box... Generating docs for compound opj_jp2_cdef... Generating docs for compound opj_jp2_cdef_info... Generating docs for compound opj_jp2_cmap_comp... Generating docs for compound opj_jp2_color... Generating docs for compound opj_jp2_comps... Generating docs for compound opj_jp2_pclr... Generating docs for compound opj_jpt_msg_header... Generating docs for compound opj_marker_info_t... Generating docs for compound opj_mqc... Generating docs for compound opj_mqc_state... Generating docs for compound opj_packet_info... Generating docs for compound opj_pi_comp... Generating docs for compound opj_pi_iterator... Generating docs for compound opj_pi_resolution... Generating docs for compound opj_poc... Generating docs for compound opj_raw... Generating docs for compound opj_stepsize... Generating docs for compound opj_t1... Generating docs for compound opj_t2... Generating docs for compound opj_tccp... Generating docs for compound opj_tcd... Generating docs for compound opj_tcd_band... Generating docs for compound opj_tcd_cblk_dec... Generating docs for compound opj_tcd_cblk_enc... Generating docs for compound opj_tcd_image... Generating docs for compound opj_tcd_layer... Generating docs for compound opj_tcd_pass... Generating docs for compound opj_tcd_precinct... Generating docs for compound opj_tcd_resolution... Generating docs for compound opj_tcd_seg... Generating docs for compound opj_tcd_tile... Generating docs for compound opj_tcd_tilecomp... Generating docs for compound opj_tcp... Generating docs for compound opj_tgt_node... Generating docs for compound opj_tgt_tree... Generating docs for compound opj_tile_info... Generating docs for compound opj_tp_info... Generating docs for compound v4... Generating docs for compound v4dwt_local... Generating concept documentation... Generating namespace index... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace index... Generating namespace member index... Generating concept index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... Running plantuml with JAVA... type lookup cache used 1773/65536 hits=21429 misses=1993 symbol lookup cache used 3175/65536 hits=15201 misses=3175 finished... gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 80%] Built target doc /usr/bin/gmake -f applications/codec/CMakeFiles/j2k_to_image.dir/build.make applications/codec/CMakeFiles/j2k_to_image.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/applications/codec /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec/CMakeFiles/j2k_to_image.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f applications/codec/CMakeFiles/j2k_to_image.dir/build.make applications/codec/CMakeFiles/j2k_to_image.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 81%] Building C object applications/codec/CMakeFiles/j2k_to_image.dir/j2k_to_image.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_to_image.dir/j2k_to_image.c.o -MF CMakeFiles/j2k_to_image.dir/j2k_to_image.c.o.d -o CMakeFiles/j2k_to_image.dir/j2k_to_image.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/j2k_to_image.c [ 82%] Building C object applications/codec/CMakeFiles/j2k_to_image.dir/convert.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_to_image.dir/convert.c.o -MF CMakeFiles/j2k_to_image.dir/convert.c.o.d -o CMakeFiles/j2k_to_image.dir/convert.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'tga_readheader': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:115:34: warning: variable 'y_origin' set but not used [-Wunused-but-set-variable] 115 | unsigned short x_origin, y_origin, image_w, image_h; | ^~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:115:24: warning: variable 'x_origin' set but not used [-Wunused-but-set-variable] 115 | unsigned short x_origin, y_origin, image_w, image_h; | ^~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:114:24: warning: variable 'cmap_index' set but not used [-Wunused-but-set-variable] 114 | unsigned short cmap_index, cmap_len, cmap_entry_size; | ^~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:112:31: warning: variable 'cmap_type' set but not used [-Wunused-but-set-variable] 112 | unsigned char id_len, cmap_type, image_type; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'imagetopnm': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1906:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 1906 | while (*tmp) ++tmp; tmp -= 2; | ^~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1906:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 1906 | while (*tmp) ++tmp; tmp -= 2; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'tiftoimage': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:2510:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2510 | uint16* sampleinfo; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:2511:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2511 | uint16 extrasamples; | ^~~~~~ [ 83%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t2.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t2.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c: In function 't2_decode_packet': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/t2.c:343:13: warning: the comparison will always evaluate as 'true' for the pointer operand in 'tile->comps + (sizetype)((long unsigned int)compno * 48)' must not be NULL [-Waddress] 343 | if (!&(tile->comps[compno])) { | ^ [ 84%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tcd.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tcd.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tcd.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tcd.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:208:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 208 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_init_encode': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:74: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:471:63: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 471 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c: In function 'tcd_malloc_decode_tile': /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:66: warning: variable 'brcbgyend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tcd.c:718:55: warning: variable 'brcbgxend' set but not used [-Wunused-but-set-variable] 718 | int tlcbgxstart, tlcbgystart, brcbgxend, brcbgyend; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'imagetopgx': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1422:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 1422 | strncpy(name, outfile, dotpos); | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1411:25: note: length computed here 1411 | const size_t olen = strlen(outfile); | ^~~~~~~~~~~~~~~ [ 84%] Building C object applications/codec/CMakeFiles/j2k_to_image.dir/index.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_to_image.dir/index.c.o -MF CMakeFiles/j2k_to_image.dir/index.c.o.d -o CMakeFiles/j2k_to_image.dir/index.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/index.c [ 84%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tgt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tgt.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tgt.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tgt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tgt.c [ 85%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/cidx_manager.c [ 86%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/phix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/phix_manager.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/phix_manager.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/phix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/phix_manager.c [ 87%] Building C object applications/codec/CMakeFiles/j2k_to_image.dir/__/common/color.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_to_image.dir/__/common/color.c.o -MF CMakeFiles/j2k_to_image.dir/__/common/color.c.o.d -o CMakeFiles/j2k_to_image.dir/__/common/color.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c: In function 'color_apply_icc_profile': /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c:287:13: warning: variable 'prec' set but not used [-Wunused-but-set-variable] 287 | int prec, i, max, max_w, max_h; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c:284:32: warning: variable 'in_space' set but not used [-Wunused-but-set-variable] 284 | cmsColorSpaceSignature in_space, out_space; | ^~~~~~~~ [ 87%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/ppix_manager.c [ 88%] Building C object applications/codec/CMakeFiles/j2k_to_image.dir/__/common/opj_getopt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_to_image.dir/__/common/opj_getopt.c.o -MF CMakeFiles/j2k_to_image.dir/__/common/opj_getopt.c.o.d -o CMakeFiles/j2k_to_image.dir/__/common/opj_getopt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/opj_getopt.c [ 89%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/thix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/thix_manager.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/thix_manager.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/thix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/thix_manager.c [ 89%] Linking C executable ../../bin/j2k_to_image cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/cmake -E cmake_link_script CMakeFiles/j2k_to_image.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/j2k_to_image.dir/j2k_to_image.c.o CMakeFiles/j2k_to_image.dir/convert.c.o CMakeFiles/j2k_to_image.dir/index.c.o CMakeFiles/j2k_to_image.dir/__/common/color.c.o CMakeFiles/j2k_to_image.dir/__/common/opj_getopt.c.o -o ../../bin/j2k_to_image -Wl,-rpath,/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/bin: ../../bin/libopenjpeg.so.1.5.1 -lpng -lz -ltiff -llcms2 -lz -lm -ltiff -llcms2 -lm [ 90%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg/tpix_manager.c [ 90%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/mj2.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/mj2.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/mj2.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/mj2.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c: In function 'mj2_read_struct': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c:2624:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2624 | fread(src,300,1, file); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2.c:2643:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2643 | fread(src,30,1,file); | ^~~~~~~~~~~~~~~~~~~~ [ 91%] Building C object applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/mj2_convert.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/mj2/CMakeFiles/wrap_j2k_in_mj2.dir/mj2_convert.c.o -MF CMakeFiles/wrap_j2k_in_mj2.dir/mj2_convert.c.o.d -o CMakeFiles/wrap_j2k_in_mj2.dir/mj2_convert.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c: In function 'imagetobmp': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:274:12: warning: variable 'h' set but not used [-Wunused-but-set-variable] 274 | int w,wr,h,hr,i,pad; | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c: In function 'yuvtoimage': /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:154:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fread(&uc, 1, 1, yuvfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/mj2/mj2_convert.c:159:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fread(&uc, 1, 1, yuvfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 92%] Linking C executable ../../bin/wrap_j2k_in_mj2 cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/mj2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/wrap_j2k_in_mj2.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/wrap_j2k_in_mj2.dir/wrap_j2k_in_mj2.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/bio.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cio.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/dwt.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/event.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/image.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/j2k_lib.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jp2.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/jpt.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mct.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/mqc.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/openjpeg.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/pi.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/raw.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t1.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/t2.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tcd.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tgt.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/cidx_manager.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/phix_manager.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/ppix_manager.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/thix_manager.c.o CMakeFiles/wrap_j2k_in_mj2.dir/__/__/libopenjpeg/tpix_manager.c.o CMakeFiles/wrap_j2k_in_mj2.dir/mj2.c.o CMakeFiles/wrap_j2k_in_mj2.dir/mj2_convert.c.o -o ../../bin/wrap_j2k_in_mj2 -llcms2 -lm gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 92%] Built target j2k_to_image /usr/bin/gmake -f applications/codec/CMakeFiles/image_to_j2k.dir/build.make applications/codec/CMakeFiles/image_to_j2k.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/applications/codec /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec/CMakeFiles/image_to_j2k.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f applications/codec/CMakeFiles/image_to_j2k.dir/build.make applications/codec/CMakeFiles/image_to_j2k.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 93%] Building C object applications/codec/CMakeFiles/image_to_j2k.dir/image_to_j2k.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/image_to_j2k.dir/image_to_j2k.c.o -MF CMakeFiles/image_to_j2k.dir/image_to_j2k.c.o.d -o CMakeFiles/image_to_j2k.dir/image_to_j2k.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/image_to_j2k.c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/image_to_j2k.c: In function 'parse_cmdline_encoder': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/image_to_j2k.c:865:33: warning: 'strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 865 | strncpy(progression, opj_optarg, 4); | ^ [ 94%] Building C object applications/codec/CMakeFiles/image_to_j2k.dir/convert.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/image_to_j2k.dir/convert.c.o -MF CMakeFiles/image_to_j2k.dir/convert.c.o.d -o CMakeFiles/image_to_j2k.dir/convert.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'tga_readheader': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:115:34: warning: variable 'y_origin' set but not used [-Wunused-but-set-variable] 115 | unsigned short x_origin, y_origin, image_w, image_h; | ^~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:115:24: warning: variable 'x_origin' set but not used [-Wunused-but-set-variable] 115 | unsigned short x_origin, y_origin, image_w, image_h; | ^~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:114:24: warning: variable 'cmap_index' set but not used [-Wunused-but-set-variable] 114 | unsigned short cmap_index, cmap_len, cmap_entry_size; | ^~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:112:31: warning: variable 'cmap_type' set but not used [-Wunused-but-set-variable] 112 | unsigned char id_len, cmap_type, image_type; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'imagetopnm': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1906:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 1906 | while (*tmp) ++tmp; tmp -= 2; | ^~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1906:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 1906 | while (*tmp) ++tmp; tmp -= 2; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'tiftoimage': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:2510:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2510 | uint16* sampleinfo; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:2511:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2511 | uint16 extrasamples; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'imagetopgx': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1422:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 1422 | strncpy(name, outfile, dotpos); | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1411:25: note: length computed here 1411 | const size_t olen = strlen(outfile); | ^~~~~~~~~~~~~~~ [ 94%] Building C object applications/codec/CMakeFiles/image_to_j2k.dir/index.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/image_to_j2k.dir/index.c.o -MF CMakeFiles/image_to_j2k.dir/index.c.o.d -o CMakeFiles/image_to_j2k.dir/index.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/index.c [ 95%] Building C object applications/codec/CMakeFiles/image_to_j2k.dir/__/common/color.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/image_to_j2k.dir/__/common/color.c.o -MF CMakeFiles/image_to_j2k.dir/__/common/color.c.o.d -o CMakeFiles/image_to_j2k.dir/__/common/color.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c: In function 'color_apply_icc_profile': /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c:287:13: warning: variable 'prec' set but not used [-Wunused-but-set-variable] 287 | int prec, i, max, max_w, max_h; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c:284:32: warning: variable 'in_space' set but not used [-Wunused-but-set-variable] 284 | cmsColorSpaceSignature in_space, out_space; | ^~~~~~~~ [ 96%] Building C object applications/codec/CMakeFiles/image_to_j2k.dir/__/common/opj_getopt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/image_to_j2k.dir/__/common/opj_getopt.c.o -MF CMakeFiles/image_to_j2k.dir/__/common/opj_getopt.c.o.d -o CMakeFiles/image_to_j2k.dir/__/common/opj_getopt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/opj_getopt.c [ 96%] Linking C executable ../../bin/image_to_j2k cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/cmake -E cmake_link_script CMakeFiles/image_to_j2k.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/image_to_j2k.dir/image_to_j2k.c.o CMakeFiles/image_to_j2k.dir/convert.c.o CMakeFiles/image_to_j2k.dir/index.c.o CMakeFiles/image_to_j2k.dir/__/common/color.c.o CMakeFiles/image_to_j2k.dir/__/common/opj_getopt.c.o -o ../../bin/image_to_j2k -Wl,-rpath,/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/bin: ../../bin/libopenjpeg.so.1.5.1 -lpng -lz -ltiff -llcms2 -lz -lm -ltiff -llcms2 -lm gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 96%] Built target image_to_j2k /usr/bin/gmake -f applications/codec/CMakeFiles/j2k_dump.dir/build.make applications/codec/CMakeFiles/j2k_dump.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openjpeg-1.5.1 /builddir/build/BUILD/openjpeg-1.5.1/applications/codec /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec/CMakeFiles/j2k_dump.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/gmake -f applications/codec/CMakeFiles/j2k_dump.dir/build.make applications/codec/CMakeFiles/j2k_dump.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [ 97%] Building C object applications/codec/CMakeFiles/j2k_dump.dir/j2k_dump.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_dump.dir/j2k_dump.c.o -MF CMakeFiles/j2k_dump.dir/j2k_dump.c.o.d -o CMakeFiles/j2k_dump.dir/j2k_dump.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/j2k_dump.c [ 98%] Building C object applications/codec/CMakeFiles/j2k_dump.dir/convert.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_dump.dir/convert.c.o -MF CMakeFiles/j2k_dump.dir/convert.c.o.d -o CMakeFiles/j2k_dump.dir/convert.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'tga_readheader': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:115:34: warning: variable 'y_origin' set but not used [-Wunused-but-set-variable] 115 | unsigned short x_origin, y_origin, image_w, image_h; | ^~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:115:24: warning: variable 'x_origin' set but not used [-Wunused-but-set-variable] 115 | unsigned short x_origin, y_origin, image_w, image_h; | ^~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:114:24: warning: variable 'cmap_index' set but not used [-Wunused-but-set-variable] 114 | unsigned short cmap_index, cmap_len, cmap_entry_size; | ^~~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:112:31: warning: variable 'cmap_type' set but not used [-Wunused-but-set-variable] 112 | unsigned char id_len, cmap_type, image_type; | ^~~~~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'imagetopnm': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1906:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 1906 | while (*tmp) ++tmp; tmp -= 2; | ^~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1906:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 1906 | while (*tmp) ++tmp; tmp -= 2; | ^~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'tiftoimage': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:2510:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2510 | uint16* sampleinfo; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:2511:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2511 | uint16 extrasamples; | ^~~~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c: In function 'imagetopgx': /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1422:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 1422 | strncpy(name, outfile, dotpos); | ^ /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/convert.c:1411:25: note: length computed here 1411 | const size_t olen = strlen(outfile); | ^~~~~~~~~~~~~~~ [ 98%] Building C object applications/codec/CMakeFiles/j2k_dump.dir/index.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_dump.dir/index.c.o -MF CMakeFiles/j2k_dump.dir/index.c.o.d -o CMakeFiles/j2k_dump.dir/index.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/codec/index.c [ 99%] Building C object applications/codec/CMakeFiles/j2k_dump.dir/__/common/color.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_dump.dir/__/common/color.c.o -MF CMakeFiles/j2k_dump.dir/__/common/color.c.o.d -o CMakeFiles/j2k_dump.dir/__/common/color.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c: In function 'color_apply_icc_profile': /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c:287:13: warning: variable 'prec' set but not used [-Wunused-but-set-variable] 287 | int prec, i, max, max_w, max_h; | ^~~~ /builddir/build/BUILD/openjpeg-1.5.1/applications/common/color.c:284:32: warning: variable 'in_space' set but not used [-Wunused-but-set-variable] 284 | cmsColorSpaceSignature in_space, out_space; | ^~~~~~~~ [100%] Building C object applications/codec/CMakeFiles/j2k_dump.dir/__/common/opj_getopt.c.o cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/gcc -I/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build -I/builddir/build/BUILD/openjpeg-1.5.1/libopenjpeg -I/builddir/build/BUILD/openjpeg-1.5.1/applications/common -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -MD -MT applications/codec/CMakeFiles/j2k_dump.dir/__/common/opj_getopt.c.o -MF CMakeFiles/j2k_dump.dir/__/common/opj_getopt.c.o.d -o CMakeFiles/j2k_dump.dir/__/common/opj_getopt.c.o -c /builddir/build/BUILD/openjpeg-1.5.1/applications/common/opj_getopt.c [100%] Linking C executable ../../bin/j2k_dump cd /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/applications/codec && /usr/bin/cmake -E cmake_link_script CMakeFiles/j2k_dump.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/j2k_dump.dir/j2k_dump.c.o CMakeFiles/j2k_dump.dir/convert.c.o CMakeFiles/j2k_dump.dir/index.c.o CMakeFiles/j2k_dump.dir/__/common/color.c.o CMakeFiles/j2k_dump.dir/__/common/opj_getopt.c.o -o ../../bin/j2k_dump -Wl,-rpath,/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/bin: ../../bin/libopenjpeg.so.1.5.1 -lpng -lz -ltiff -llcms2 -lz -lm -ltiff -llcms2 -lm gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [100%] Built target wrap_j2k_in_mj2 gmake[2]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' [100%] Built target j2k_dump gmake[1]: Leaving directory '/builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/openjpeg-1.5.1/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ws16L0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openjpeg-1.5.1 + DESTDIR=/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/pkgconfig/libopenjpeg1.pc -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/openjpeg-1.5/OpenJPEGTargets.cmake -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/openjpeg-1.5/OpenJPEGTargets-release.cmake -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/openjpeg-1.5/OpenJPEGConfig.cmake -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-1.5/CHANGES -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-1.5/LICENSE -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/libopenjpeg.so.1.5.1 -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/libopenjpeg.so.1 -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/libopenjpeg.so -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/include/openjpeg-1.5/openjpeg.h -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/man/man3/libopenjpeg.3 -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/j2k_to_image -- Set runtime path of "/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/j2k_to_image" to "" -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/image_to_j2k -- Set runtime path of "/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/image_to_j2k" to "" -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/j2k_dump -- Set runtime path of "/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/j2k_dump" to "" -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/man/man1/image_to_j2k.1 -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/man/man1/j2k_dump.1 -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/man/man1/j2k_to_image.1 -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/frames_to_mj2 -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/mj2_to_frames -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/extract_j2k_from_mj2 -- Installing: /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/wrap_j2k_in_mj2 + ln -s openjpeg-1.5/openjpeg.h /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/include/openjpeg.h + rm -rfv /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-1.5/ removed '/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-1.5/LICENSE' removed '/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-1.5/CHANGES' removed directory '/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-1.5/' + rm -fv '/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/lib*.la' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.5.1-34.fc39 --unique-debug-suffix -1.5.1-34.fc39.x86_64 --unique-debug-src-base openjpeg-1.5.1-34.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/openjpeg-1.5.1 extracting debug info from /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/frames_to_mj2 extracting debug info from /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/extract_j2k_from_mj2 extracting debug info from /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/image_to_j2k extracting debug info from /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/j2k_dump extracting debug info from /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/j2k_to_image extracting debug info from /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/mj2_to_frames extracting debug info from /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/bin/wrap_j2k_in_mj2 extracting debug info from /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/lib64/libopenjpeg.so.1.5.1 original debug info size: 5092kB, size after compression: 4300kB /usr/bin/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 1770 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.b0I5gL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openjpeg-1.5.1 + test -f /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/include/openjpeg.h + RPM_EC=0 ++ jobs -p + exit 0 Processing files: openjpeg-1.5.1-34.fc39.x86_64 Provides: openjpeg = 1.5.1-34.fc39 openjpeg(x86-64) = 1.5.1-34.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) liblcms2.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libopenjpeg.so.1()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libtiff.so.6()(64bit) libtiff.so.6(LIBTIFF_4.0)(64bit) rtld(GNU_HASH) Processing files: openjpeg-libs-1.5.1-34.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5vQjah + umask 022 + cd /builddir/build/BUILD + cd openjpeg-1.5.1 + DOCDIR=/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-libs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-libs + cp -pr CHANGES /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-libs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5U33eH + umask 022 + cd /builddir/build/BUILD + cd openjpeg-1.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/licenses/openjpeg-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/licenses/openjpeg-libs + cp -pr LICENSE /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/licenses/openjpeg-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libopenjpeg.so.1()(64bit) openjpeg-libs = 1.5.1-34.fc39 openjpeg-libs(x86-64) = 1.5.1-34.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Processing files: openjpeg-devel-1.5.1-34.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UYdDcG + umask 022 + cd /builddir/build/BUILD + cd openjpeg-1.5.1 + DOCDIR=/builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-devel + cp -pr redhat-linux-build/doc/html/ /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64/usr/share/doc/openjpeg-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: openjpeg-devel = 1.5.1-34.fc39 openjpeg-devel(x86-64) = 1.5.1-34.fc39 pkgconfig(libopenjpeg) = 1.5.1 pkgconfig(libopenjpeg1) = 1.5.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libopenjpeg.so.1()(64bit) Processing files: openjpeg-debugsource-1.5.1-34.fc39.x86_64 Provides: openjpeg-debugsource = 1.5.1-34.fc39 openjpeg-debugsource(x86-64) = 1.5.1-34.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: openjpeg-debuginfo-1.5.1-34.fc39.x86_64 Provides: debuginfo(build-id) = 2bb1d00c870ccc25eff686bd0cce2ef252e4e1a6 debuginfo(build-id) = 5b04881744f68ef162ed8afb1a6a0defbcd61c3e debuginfo(build-id) = 5b972a7d3566041cee9bb2a7365ad50f0b19682a debuginfo(build-id) = 677357944e3fd7e2eb328a56c7e52c3383046aee debuginfo(build-id) = 7b8a97da430320908d3c80666987a1bd270c9133 debuginfo(build-id) = d0b9be395aaac42c20a591a82e5ef56be847f024 debuginfo(build-id) = ffc58dbd58e8dee739358f64c3355c9c3c1d2dea openjpeg-debuginfo = 1.5.1-34.fc39 openjpeg-debuginfo(x86-64) = 1.5.1-34.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: openjpeg-debugsource(x86-64) = 1.5.1-34.fc39 Processing files: openjpeg-libs-debuginfo-1.5.1-34.fc39.x86_64 Provides: debuginfo(build-id) = 5e025088e83fb0061ed9b4ed1a2ad7f601cc82b7 libopenjpeg.so.1.5.1-1.5.1-34.fc39.x86_64.debug()(64bit) openjpeg-libs-debuginfo = 1.5.1-34.fc39 openjpeg-libs-debuginfo(x86-64) = 1.5.1-34.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: openjpeg-debugsource(x86-64) = 1.5.1-34.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64 Wrote: /builddir/build/RPMS/openjpeg-debuginfo-1.5.1-34.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/openjpeg-1.5.1-34.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/openjpeg-debugsource-1.5.1-34.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/openjpeg-libs-debuginfo-1.5.1-34.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/openjpeg-libs-1.5.1-34.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/openjpeg-devel-1.5.1-34.fc39.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7ofTHe + umask 022 + cd /builddir/build/BUILD + cd openjpeg-1.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/openjpeg-1.5.1-34.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.BNyXnM + umask 022 + cd /builddir/build/BUILD + rm -rf openjpeg-1.5.1 openjpeg-1.5.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (14 usages found), use %patch N (or %patch -P N) Child return code was: 0