Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/LibRaw.spec'], chrootPath='/var/lib/mock/dist-oc8-build-74039-49589/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fe2012e39b0>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/LibRaw.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/LibRaw-0.19.5-4.oc8.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/LibRaw.spec'], chrootPath='/var/lib/mock/dist-oc8-build-74039-49589/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fe2012e39b0>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/LibRaw.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QmsM7N
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf LibRaw-0.19.5
+ /usr/bin/gzip -dc /builddir/build/SOURCES/LibRaw-0.19.5.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd LibRaw-0.19.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #0 (LibRaw-0.6.0-pkgconfig.patch):
+ echo 'Patch #0 (LibRaw-0.6.0-pkgconfig.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pkgconfig --fuzz=0
patching file libraw.pc.in
patching file libraw_r.pc.in
patching file libraw_r.pc.in
patching file libraw.pc.in
Patch #1 (LibRaw-CVE-2020-15503.patch):
+ echo 'Patch #1 (LibRaw-CVE-2020-15503.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2020-15503 --fuzz=0
patching file libraw/libraw_const.h
patching file src/libraw_cxx.cpp
Patch #2 (LibRaw-CVE-2020-24870.patch):
+ echo 'Patch #2 (LibRaw-CVE-2020-24870.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2020-24870 --fuzz=0
patching file internal/dcraw_common.cpp
Patch #3 (LibRaw-CVE-2021-32142.patch):
+ echo 'Patch #3 (LibRaw-CVE-2021-32142.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2021-32142 --fuzz=0
patching file src/libraw_datastream.cpp
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jym9W9
+ umask 022
+ cd /builddir/build/BUILD
+ cd LibRaw-0.19.5
+ autoreconf -if
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:9: installing './compile'
configure.ac:3: installing './missing'
Makefile.am: installing './depcomp'
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh
+ ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-examples=yes --enable-jasper --enable-jpeg --enable-lcms --enable-openmp
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-opencloudos-linux-gnu-g++... no
checking for x86_64-opencloudos-linux-gnu-c++... no
checking for x86_64-opencloudos-linux-gnu-gpp... no
checking for x86_64-opencloudos-linux-gnu-aCC... no
checking for x86_64-opencloudos-linux-gnu-CC... no
checking for x86_64-opencloudos-linux-gnu-cxx... no
checking for x86_64-opencloudos-linux-gnu-cc++... no
checking for x86_64-opencloudos-linux-gnu-cl.exe... no
checking for x86_64-opencloudos-linux-gnu-FCC... no
checking for x86_64-opencloudos-linux-gnu-KCC... no
checking for x86_64-opencloudos-linux-gnu-RCC... no
checking for x86_64-opencloudos-linux-gnu-xlC_r... no
checking for x86_64-opencloudos-linux-gnu-xlC... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... none
checking for x86_64-opencloudos-linux-gnu-gcc... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking build system type... x86_64-opencloudos-linux-gnu
checking host system type... x86_64-opencloudos-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-opencloudos-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-opencloudos-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-opencloudos-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-opencloudos-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-opencloudos-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-opencloudos-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for OpenMP flag of C compiler... -fopenmp
checking for jpeg_mem_src in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jas_init in -ljasper... yes
checking jasper/jasper.h usability... yes
checking jasper/jasper.h presence... yes
checking for jasper/jasper.h... yes
checking for x86_64-opencloudos-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LCMS2... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libraw.pc
config.status: creating libraw_r.pc
config.status: executing depfiles commands
config.status: executing libtool commands
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ /usr/bin/make -O -j32
gcc -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_dcraw_half-dcraw_half.o `test -f 'samples/dcraw_half.c' || echo './'`samples/dcraw_half.c
gcc -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.   -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2 -pthread -w -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_half_mt-half_mt.o `test -f 'samples/half_mt.c' || echo './'`samples/half_mt.c
g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_multirender_test-multirender_test.o `test -f 'samples/multirender_test.cpp' || echo './'`samples/multirender_test.cpp
g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_simple_dcraw-simple_dcraw.o `test -f 'samples/simple_dcraw.cpp' || echo './'`samples/simple_dcraw.cpp
g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_mem_image-mem_image.o `test -f 'samples/mem_image.cpp' || echo './'`samples/mem_image.cpp
g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_4channels-4channels.o `test -f 'samples/4channels.cpp' || echo './'`samples/4channels.cpp
g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_postprocessing_benchmark-postprocessing_benchmark.o `test -f 'samples/postprocessing_benchmark.cpp' || echo './'`samples/postprocessing_benchmark.cpp
g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_unprocessed_raw-unprocessed_raw.o `test -f 'samples/unprocessed_raw.cpp' || echo './'`samples/unprocessed_raw.cpp
g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_dcraw_emu-dcraw_emu.o `test -f 'samples/dcraw_emu.cpp' || echo './'`samples/dcraw_emu.cpp
g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.  -DLIBRAW_NOTHREADS -w -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o samples/bin_raw_identify-raw-identify.o `test -f 'samples/raw-identify.cpp' || echo './'`samples/raw-identify.cpp
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.   -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o src/libraw_c_api.lo src/libraw_c_api.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c src/libraw_c_api.cpp  -fPIC -DPIC -o src/.libs/libraw_c_api.o
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c src/libraw_c_api.cpp -o src/libraw_c_api.o >/dev/null 2>&1
In file included from ./libraw/libraw.h:35,
                 from src/libraw_c_api.cpp:22:
./libraw/libraw_datastream.h:121:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> f;       /* will close() automatically through dtor */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from src/libraw_c_api.cpp:22:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ./libraw/libraw.h:35,
                 from src/libraw_c_api.cpp:22:
./libraw/libraw_datastream.h:122:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from src/libraw_c_api.cpp:22:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
src/libraw_c_api.cpp: In function 'libraw_data_t* libraw_init(unsigned int)':
src/libraw_c_api.cpp:37:17: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=]
     catch (std::bad_alloc)
                 ^~~~~~~~~
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.   -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o internal/dcraw_fileio.lo internal/dcraw_fileio.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c internal/dcraw_fileio.cpp  -fPIC -DPIC -o internal/.libs/dcraw_fileio.o
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c internal/dcraw_fileio.cpp -o internal/dcraw_fileio.o >/dev/null 2>&1
In file included from ./libraw/libraw.h:35,
                 from internal/dcraw_fileio.cpp:25:
./libraw/libraw_datastream.h:121:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> f;       /* will close() automatically through dtor */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from internal/dcraw_fileio.cpp:25:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ./libraw/libraw.h:35,
                 from internal/dcraw_fileio.cpp:25:
./libraw/libraw_datastream.h:122:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from internal/dcraw_fileio.cpp:25:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
internal/dcraw_fileio.cpp: In member function 'void LibRaw::apply_profile(const char*, const char*)':
internal/dcraw_fileio.cpp:181:9: warning: unused variable 'prof' [-Wunused-variable]
   char *prof;
         ^~~~
internal/dcraw_fileio.cpp: In member function 'void LibRaw::subtract(const char*)':
internal/dcraw_fileio.cpp:166:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fread(pixel, 2, width, fp);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~
internal/dcraw_fileio.cpp: In member function 'void LibRaw::apply_profile(const char*, const char*)':
internal/dcraw_fileio.cpp:222:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fread(&size, 4, 1, fp);
     ~~~~~^~~~~~~~~~~~~~~~~
internal/dcraw_fileio.cpp:226:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fread(oprof, 1, size, fp);
     ~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from internal/dcraw_fileio.cpp:26:
./internal/defines.h: At global scope:
./internal/defines.h:123:14: warning: 'float fMAX(float, float)' defined but not used [-Wunused-function]
 static float fMAX(float a, float b) { return MAX(a, b); }
              ^~~~
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.   -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o src/libraw_datastream.lo src/libraw_datastream.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c src/libraw_datastream.cpp  -fPIC -DPIC -o src/.libs/libraw_datastream.o
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c src/libraw_datastream.cpp -o src/libraw_datastream.o >/dev/null 2>&1
In file included from ./libraw/libraw.h:35,
                 from src/libraw_datastream.cpp:27:
./libraw/libraw_datastream.h:121:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> f;       /* will close() automatically through dtor */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from src/libraw_datastream.cpp:27:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ./libraw/libraw.h:35,
                 from src/libraw_datastream.cpp:27:
./libraw/libraw_datastream.h:122:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from src/libraw_datastream.cpp:27:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
src/libraw_datastream.cpp: In constructor 'LibRaw_file_datastream::LibRaw_file_datastream(const char*)':
src/libraw_datastream.cpp:85:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     std::auto_ptr<std::filebuf> buf(new std::filebuf());
          ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from src/libraw_datastream.cpp:27:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
src/libraw_datastream.cpp: In member function 'virtual int LibRaw_file_datastream::subfile_open(const char*)':
src/libraw_datastream.cpp:227:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::filebuf> buf(new std::filebuf());
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from src/libraw_datastream.cpp:27:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.   -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o internal/demosaic_packs.lo internal/demosaic_packs.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c internal/demosaic_packs.cpp  -fPIC -DPIC -o internal/.libs/demosaic_packs.o
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c internal/demosaic_packs.cpp -o internal/demosaic_packs.o >/dev/null 2>&1
In file included from ./libraw/libraw.h:35,
                 from internal/demosaic_packs.cpp:22:
./libraw/libraw_datastream.h:121:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> f;       /* will close() automatically through dtor */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from internal/demosaic_packs.cpp:22:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ./libraw/libraw.h:35,
                 from internal/demosaic_packs.cpp:22:
./libraw/libraw_datastream.h:122:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from internal/demosaic_packs.cpp:22:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from internal/demosaic_packs.cpp:29:
internal/./dht_demosaic.cpp: In member function 'int DHT::get_diag_grb(int, int, int)':
internal/./dht_demosaic.cpp:124:9: warning: unused variable 'hru' [-Wunused-variable]
   float hru = nraw[nr_offset(y - 1, x + 1)][1] / nraw[nr_offset(y - 1, x + 1)][kc];
         ^~~
internal/./dht_demosaic.cpp:125:9: warning: unused variable 'hld' [-Wunused-variable]
   float hld = nraw[nr_offset(y + 1, x - 1)][1] / nraw[nr_offset(y + 1, x - 1)][kc];
         ^~~
internal/./dht_demosaic.cpp: In member function 'void DHT::refine_idiag_dirs(int)':
internal/./dht_demosaic.cpp:562:8: warning: unused variable 'codir' [-Wunused-variable]
   bool codir =
        ^~~~~
internal/./dht_demosaic.cpp: In member function 'void DHT::make_rbhv(int)':
internal/./dht_demosaic.cpp:754:9: warning: unused variable 'h1' [-Wunused-variable]
   float h1, h2;
         ^~
internal/./dht_demosaic.cpp:754:13: warning: unused variable 'h2' [-Wunused-variable]
   float h1, h2;
             ^~
In file included from internal/demosaic_packs.cpp:34:
internal/./dcb_demosaicing.c: In member function 'void LibRaw::dcb_ver(float (*)[3])':
internal/./dcb_demosaicing.c:46:25: warning: unused variable 'v' [-Wunused-variable]
  int row, col, u=width, v=2*u, indx;
                         ^
internal/./dcb_demosaicing.c: In member function 'void LibRaw::dcb_hor(float (*)[3])':
internal/./dcb_demosaicing.c:60:25: warning: unused variable 'v' [-Wunused-variable]
  int row, col, u=width, v=2*u, indx;
                         ^
In file included from internal/demosaic_packs.cpp:34:
internal/./dcb_demosaicing.c: In member function 'void LibRaw::dcb_color_full()':
internal/./dcb_demosaicing.c:253:18: warning: unused variable 'i' [-Wunused-variable]
  int row,col,c,d,i,j,u=width,v=2*u,w=3*u,indx, g1, g2;
                  ^
internal/./dcb_demosaicing.c:253:20: warning: unused variable 'j' [-Wunused-variable]
  int row,col,c,d,i,j,u=width,v=2*u,w=3*u,indx, g1, g2;
                    ^
internal/./dcb_demosaicing.c:253:30: warning: unused variable 'v' [-Wunused-variable]
  int row,col,c,d,i,j,u=width,v=2*u,w=3*u,indx, g1, g2;
                              ^
internal/./dcb_demosaicing.c: In member function 'void LibRaw::dcb_map()':
internal/./dcb_demosaicing.c:325:6: warning: unused variable 'current' [-Wunused-variable]
  int current, row, col, c, u=width, v=2*u, indx;
      ^~~~~~~
internal/./dcb_demosaicing.c:325:25: warning: unused variable 'c' [-Wunused-variable]
  int current, row, col, c, u=width, v=2*u, indx;
                         ^
internal/./dcb_demosaicing.c:325:37: warning: unused variable 'v' [-Wunused-variable]
  int current, row, col, c, u=width, v=2*u, indx;
                                     ^
internal/./dcb_demosaicing.c: In member function 'void LibRaw::dcb_correction2()':
internal/./dcb_demosaicing.c:365:11: warning: unused variable 'pix' [-Wunused-variable]
  ushort (*pix)[4];
           ^~~
In file included from internal/demosaic_packs.cpp:34:
internal/./dcb_demosaicing.c: In member function 'void LibRaw::dcb_refinement()':
internal/./dcb_demosaicing.c:384:22: warning: unused variable 'tmp' [-Wunused-variable]
  float f[5], g1, g2, tmp, tmp2=0, tmp3=0;
                      ^~~
internal/./dcb_demosaicing.c:384:27: warning: unused variable 'tmp2' [-Wunused-variable]
  float f[5], g1, g2, tmp, tmp2=0, tmp3=0;
                           ^~~~
internal/./dcb_demosaicing.c:384:35: warning: unused variable 'tmp3' [-Wunused-variable]
  float f[5], g1, g2, tmp, tmp2=0, tmp3=0;
                                   ^~~~
internal/./dcb_demosaicing.c: In member function 'void LibRaw::fbdd_correction()':
internal/./dcb_demosaicing.c:498:11: warning: unused variable 'pix' [-Wunused-variable]
  ushort (*pix)[4];
           ^~~
internal/./dcb_demosaicing.c: In member function 'void LibRaw::fbdd_correction2(double (*)[3])':
internal/./dcb_demosaicing.c:517:15: warning: unused variable 'u' [-Wunused-variable]
     int indx, u=width, v=2*width;
               ^
internal/./dcb_demosaicing.c: In member function 'void LibRaw::fbdd_green()':
internal/./dcb_demosaicing.c:552:72: warning: unused variable 'current' [-Wunused-variable]
  int row, col, c, u=width, v=2*u, w=3*u, x=4*u, y=5*u, indx, min, max, current;
                                                                        ^~~~~~~
In file included from internal/demosaic_packs.cpp:23:
./internal/defines.h: At global scope:
./internal/defines.h:123:14: warning: 'float fMAX(float, float)' defined but not used [-Wunused-function]
 static float fMAX(float a, float b) { return MAX(a, b); }
              ^~~~
In file included from internal/demosaic_packs.cpp:30:
internal/./aahd_demosaic.cpp: In member function 'void AAHD::make_ahd_rb_last(int)':
internal/./aahd_demosaic.cpp:672:28: warning: 'bk' may be used uninitialized in this function [-Wmaybe-uninitialized]
    int h1 = cnr[+dirs[d][bk]][c] - cnr[+dirs[d][bk]][1];
                  ~~~~~~~~~~^
internal/./aahd_demosaic.cpp:673:28: warning: 'bh' may be used uninitialized in this function [-Wmaybe-uninitialized]
    int h2 = cnr[-dirs[d][bh]][c] - cnr[-dirs[d][bh]][1];
                  ~~~~~~~~~~^
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.   -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o src/libraw_cxx.lo src/libraw_cxx.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c src/libraw_cxx.cpp  -fPIC -DPIC -o src/.libs/libraw_cxx.o
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c src/libraw_cxx.cpp -o src/libraw_cxx.o >/dev/null 2>&1
In file included from ./libraw/libraw.h:35,
                 from src/libraw_cxx.cpp:32:
./libraw/libraw_datastream.h:121:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> f;       /* will close() automatically through dtor */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from src/libraw_cxx.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ./libraw/libraw.h:35,
                 from src/libraw_cxx.cpp:32:
./libraw/libraw_datastream.h:122:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from src/libraw_cxx.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from src/libraw_cxx.cpp:55:
src/libraw_fuji_compressed.cpp: In member function 'void LibRaw::init_fuji_compr(fuji_compressed_params*)':
src/libraw_fuji_compressed.cpp:85:16: warning: unused variable 'i' [-Wunused-variable]
   int cur_val, i;
                ^
src/libraw_fuji_compressed.cpp: In member function 'void LibRaw::copy_line_to_xtrans(fuji_compressed_block*, int, int, int)':
src/libraw_fuji_compressed.cpp:245:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
     while (pixel_count < cur_block_width)
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/libraw_fuji_compressed.cpp: In member function 'void LibRaw::copy_line_to_bayer(fuji_compressed_block*, int, int, int)':
src/libraw_fuji_compressed.cpp:299:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
     while (pixel_count < cur_block_width)
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/libraw_fuji_compressed.cpp: In member function 'void LibRaw::fuji_compressed_load_raw()':
src/libraw_fuji_compressed.cpp:952:12: warning: variable 'line_size' set but not used [-Wunused-but-set-variable]
   unsigned line_size, *block_sizes;
            ^~~~~~~~~
src/libraw_cxx.cpp: In member function 'unsigned int LibRaw::parse_custom_cameras(unsigned int, libraw_custom_camera_t*, char**)':
src/libraw_cxx.cpp:190:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   for (int i = 0; i < limit; i++)
                   ~~^~~~~~~
src/libraw_cxx.cpp: In member function 'virtual int LibRaw::get_decoder_info(libraw_decoder_info_t*)':
src/libraw_cxx.cpp:694:7: warning: unused variable 'rawdata' [-Wunused-variable]
   int rawdata = (imgdata.idata.filters || P1.colors == 1);
       ^~~~~~~
src/libraw_cxx.cpp: In member function 'int LibRaw::open_file(const char*, INT64)':
src/libraw_cxx.cpp:1041:15: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=]
   catch (std::bad_alloc)
               ^~~~~~~~~
src/libraw_cxx.cpp: In member function 'int LibRaw::open_buffer(void*, size_t)':
src/libraw_cxx.cpp:1118:15: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=]
   catch (std::bad_alloc)
               ^~~~~~~~~
src/libraw_cxx.cpp: In member function 'virtual int LibRaw::open_bayer(unsigned char*, unsigned int, ushort, ushort, ushort, ushort, ushort, ushort, unsigned char, unsigned char, unsigned int, unsigned int, unsigned int)':
src/libraw_cxx.cpp:1156:15: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=]
   catch (std::bad_alloc)
               ^~~~~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::convertFloatToInt(float, float, float)':
src/libraw_cxx.cpp:1677:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
     for (int i = 0; i < sizeof(imgdata.color.cblack) / sizeof(imgdata.color.cblack[0]); i++)
                     ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::pentax_4shot_load_raw()':
src/libraw_cxx.cpp:1754:50: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
       move_row = (imgdata.params.p4shot_order[i] - '0' & 2) ? 1 : 0;
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/libraw_cxx.cpp:1755:50: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
       move_col = (imgdata.params.p4shot_order[i] - '0' & 1) ? 1 : 0;
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::fuji_14bit_load_raw()':
src/libraw_cxx.cpp:1861:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (int sp = 0, dp = 0; dp < pitch - 3 && sp < linelen - 6 && sp < bytesread - 6; sp += 7, dp += 4)
                                ~~~^~~~~~~~~~~
src/libraw_cxx.cpp:1861:53: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (int sp = 0, dp = 0; dp < pitch - 3 && sp < linelen - 6 && sp < bytesread - 6; sp += 7, dp += 4)
                                                  ~~~^~~~~~~~~~~~~
src/libraw_cxx.cpp:1861:73: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (int sp = 0, dp = 0; dp < pitch - 3 && sp < linelen - 6 && sp < bytesread - 6; sp += 7, dp += 4)
                                                                      ~~~^~~~~~~~~~~~~~~
src/libraw_cxx.cpp:1865:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (int sp = 0, dp = 0; dp < pitch - 15 && sp < linelen - 27 && sp < bytesread - 27; sp += 28, dp += 16)
                                ~~~^~~~~~~~~~~~
src/libraw_cxx.cpp:1865:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (int sp = 0, dp = 0; dp < pitch - 15 && sp < linelen - 27 && sp < bytesread - 27; sp += 28, dp += 16)
                                                   ~~~^~~~~~~~~~~~~~
src/libraw_cxx.cpp:1865:75: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (int sp = 0, dp = 0; dp < pitch - 15 && sp < linelen - 27 && sp < bytesread - 27; sp += 28, dp += 16)
                                                                        ~~~^~~~~~~~~~~~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::nikon_load_striped_packed_raw()':
src/libraw_cxx.cpp:1873:48: warning: unused variable 'val' [-Wunused-variable]
   int vbits = 0, bwide, rbits, bite, row, col, val, i;
                                                ^~~
src/libraw_cxx.cpp:1878:7: warning: unused variable 'tiff_compress' [-Wunused-variable]
   int tiff_compress = libraw_internal_data.unpacker_data.tiff_compress;
       ^~~~~~~~~~~~~
src/libraw_cxx.cpp: In member function 'virtual int LibRaw::open_datastream(LibRaw_abstract_datastream*)':
src/libraw_cxx.cpp:2190:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (int c = 0; c < C.cblack[4] * C.cblack[5]; c++)
                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:2229:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (int c = 0; c < C.cblack[4] * C.cblack[5]; c++)
                       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:2289:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         if (i > C.cblack[c])
             ~~^~~~~~~~~~~~~
src/libraw_cxx.cpp:2346:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=]
   catch (std::exception ee)
                         ^~
src/libraw_cxx.cpp: In member function 'int LibRaw::unpack()':
src/libraw_cxx.cpp:2991:25: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=]
   catch (std::exception ee)
                         ^~
src/libraw_cxx.cpp: In member function 'int LibRaw::raw2image_ex(int)':
src/libraw_cxx.cpp:3477:14: warning: unused variable 'save_width' [-Wunused-variable]
     unsigned save_width = S.width;
              ^~~~~~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::kodak_thumb_loader()':
src/libraw_cxx.cpp:4120:9: warning: unnecessary parentheses in declaration of 't_curve' [-Wparentheses]
   ushort(*t_curve) = (ushort *)calloc(sizeof(C.curve), 1);
         ^
src/libraw_cxx.cpp: In member function 'int LibRaw::unpack_thumb()':
src/libraw_cxx.cpp:4263:18: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
     if (INT64(A) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) throw LIBRAW_EXCEPTION_IO_CORRUPT; \
src/libraw_cxx.cpp:4310:9: note: in expansion of macro 'THUMB_SIZE_CHECKT'
         THUMB_SIZE_CHECKT(tsize);
         ^~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4264:35: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
     if (INT64(A) > 0 &&  INT64(A) < 64ULL)        throw LIBRAW_EXCEPTION_IO_CORRUPT; \
                          ~~~~~~~~~^~~~~~~
src/libraw_cxx.cpp:4310:9: note: in expansion of macro 'THUMB_SIZE_CHECKT'
         THUMB_SIZE_CHECKT(tsize);
         ^~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4374:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         if (T.tlength && T.tlength < t_length) // try to find tiff ifd with needed offset
                                    ^
src/libraw_cxx.cpp:4377:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
           for (int ii = 0; ii < libraw_internal_data.identify_data.tiff_nifds && ii < LIBRAW_IFD_MAXCOUNT; ii++)
                            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4389:28: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
             if (total_size != t_length) // recalculate colors
                 ~~~~~~~~~~~^~~~~~~~~~~
src/libraw_cxx.cpp:4269:18: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
     if (INT64(A) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) throw LIBRAW_EXCEPTION_IO_CORRUPT; \
src/libraw_cxx.cpp:4455:9: note: in expansion of macro 'THUMB_SIZE_CHECKTNZ'
         THUMB_SIZE_CHECKTNZ(o_length);
         ^~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4270:18: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
     if (INT64(A) < 64ULL)        throw LIBRAW_EXCEPTION_IO_CORRUPT; \
         ~~~~~~~~~^~~~~~~
src/libraw_cxx.cpp:4455:9: note: in expansion of macro 'THUMB_SIZE_CHECKTNZ'
         THUMB_SIZE_CHECKTNZ(o_length);
         ^~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4269:18: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
     if (INT64(A) > 1024ULL * 1024ULL * LIBRAW_MAX_THUMBNAIL_MB) throw LIBRAW_EXCEPTION_IO_CORRUPT; \
src/libraw_cxx.cpp:4456:9: note: in expansion of macro 'THUMB_SIZE_CHECKTNZ'
         THUMB_SIZE_CHECKTNZ(i_length);
         ^~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4270:18: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
     if (INT64(A) < 64ULL)        throw LIBRAW_EXCEPTION_IO_CORRUPT; \
         ~~~~~~~~~^~~~~~~
src/libraw_cxx.cpp:4456:9: note: in expansion of macro 'THUMB_SIZE_CHECKTNZ'
         THUMB_SIZE_CHECKTNZ(i_length);
         ^~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4462:33: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict]
           swab((char *)t_thumb, (char *)t_thumb, i_length);
                ~~~~~~~~~~~~~~~  ^~~~~~~~~~~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::adjust_bl()':
src/libraw_cxx.cpp:4839:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     if (i > C.cblack[c])
         ~~^~~~~~~~~~~~~
src/libraw_cxx.cpp:4851:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     for (c = 1; c < C.cblack[4] * C.cblack[5]; c++)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4852:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       if (i > C.cblack[6 + c])
           ~~^~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:4856:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     for (c = 0; c < C.cblack[4] * C.cblack[5]; c++)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/libraw_cxx.cpp:6184:
src/../internal/libraw_x3f.cpp: In function 'x3f_t* x3f_new_from_file(LibRaw_abstract_datastream*)':
src/../internal/libraw_x3f.cpp:780:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (d=0; d<DS->num_directory_entries; d++) {
             ~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'x3f_return_t x3f_delete(x3f_t*)':
src/../internal/libraw_x3f.cpp:913:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (d=0; d<DS->num_directory_entries; d++) {
            ~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp:920:9: warning: unused variable 'i' [-Wunused-variable]
     int i;
         ^
src/../internal/libraw_x3f.cpp:947:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
     for (i = 0; i < CAMF->entry_table.size; i++) {
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'x3f_directory_entry_t* x3f_get(x3f_t*, uint32_t, uint32_t)':
src/../internal/libraw_x3f.cpp:978:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (d=0; d<DS->num_directory_entries; d++) {
            ~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void populate_true_huffman_tree(x3f_hufftree_t*, x3f_true_huffman_t*)':
src/../internal/libraw_x3f.cpp:1128:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (i=0; i<table->size; i++) {
             ~^~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void populate_huffman_tree(x3f_hufftree_t*, x3f_table32_t*, x3f_table16_t*)':
src/../internal/libraw_x3f.cpp:1160:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (i=0; i<table->size; i++) {
             ~^~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void true_decode_one_color(x3f_image_data_t*, int)':
src/../internal/libraw_x3f.cpp:1332:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (row = 0; row < rows; row++) {
                 ~~~~^~~~~~
src/../internal/libraw_x3f.cpp:1337:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
     for (col = 0; col < cols; col++) {
                   ~~~~^~~~~~
src/../internal/libraw_x3f.cpp:1350:15: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       if (col >= area->columns) continue;
           ~~~~^~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void huffman_decode_row(x3f_info_t*, x3f_directory_entry_t*, int, int, int, int*)':
src/../internal/libraw_x3f.cpp:1411:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (col = 0; col < ID->columns; col++) {
                 ~~~~^~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void huffman_decode(x3f_info_t*, x3f_directory_entry_t*, int)':
src/../internal/libraw_x3f.cpp:1453:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (row = 0; row < ID->rows; row++)
                 ~~~~^~~~~~~~~~
src/../internal/libraw_x3f.cpp:1458:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
     for (row = 0; row < ID->rows; row++)
                   ~~~~^~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void simple_decode_row(x3f_info_t*, x3f_directory_entry_t*, int, int, int)':
src/../internal/libraw_x3f.cpp:1511:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (col = 0; col < ID->columns; col++) {
                 ~~~~^~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void simple_decode(x3f_info_t*, x3f_directory_entry_t*, int, int)':
src/../internal/libraw_x3f.cpp:1549:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (row = 0; row < ID->rows; row++)
                 ~~~~^~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void x3f_load_property_list(x3f_info_t*, x3f_directory_entry_t*)':
src/../internal/libraw_x3f.cpp:551:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (_i = 0; _i < (_T).size; _i++) {   \
               ~~~^~~~~~~~~~~
src/../internal/libraw_x3f.cpp:1624:2: note: in expansion of macro 'GET_PROPERTY_TABLE'
  GET_PROPERTY_TABLE(PL->property_table, PL->num_properties);
  ^~~~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp:1630:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (i=0; i<PL->num_properties; i++) {
            ~^~~~~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void x3f_load_true(x3f_info_t*, x3f_directory_entry_t*)':
src/../internal/libraw_x3f.cpp:541:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (_i = 0; _i < (_T).size; _i++)    \
               ~~~^~~~~~~~~~~
src/../internal/libraw_x3f.cpp:1685:2: note: in expansion of macro 'GET_TABLE'
  GET_TABLE(TRU->plane_size, GET4, TRUE_PLANES,uint32_t);
  ^~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void x3f_load_huffman_compressed(x3f_info_t*, x3f_directory_entry_t*, int, int)':
src/../internal/libraw_x3f.cpp:541:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (_i = 0; _i < (_T).size; _i++)    \
               ~~~^~~~~~~~~~~
src/../internal/libraw_x3f.cpp:1761:2: note: in expansion of macro 'GET_TABLE'
  GET_TABLE(HUF->table, GET4, table_size,uint32_t);
  ^~~~~~~~~
src/../internal/libraw_x3f.cpp:541:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (_i = 0; _i < (_T).size; _i++)    \
               ~~~^~~~~~~~~~~
src/../internal/libraw_x3f.cpp:1766:2: note: in expansion of macro 'GET_TABLE'
  GET_TABLE(HUF->row_offsets, GET4, ID->rows,uint32_t);
  ^~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void x3f_load_huffman(x3f_info_t*, x3f_directory_entry_t*, int, int, int)':
src/../internal/libraw_x3f.cpp:541:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (_i = 0; _i < (_T).size; _i++)    \
               ~~~^~~~~~~~~~~
src/../internal/libraw_x3f.cpp:1803:3: note: in expansion of macro 'GET_TABLE'
   GET_TABLE(HUF->mapping, GET2, table_size,uint16_t);
   ^~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void x3f_load_camf_decode_type2(x3f_camf_t*)':
src/../internal/libraw_x3f.cpp:1921:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (i=0; i<CAMF->data_size; i++) {
            ~^~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void camf_decode_type4(x3f_camf_t*)':
src/../internal/libraw_x3f.cpp:1972:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (row = 0; row < rows; row++) {
                 ~~~~^~~~~~
src/../internal/libraw_x3f.cpp:1980:23: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
     for (col = 0; col < cols; col++) {
                   ~~~~^~~~~~
src/../internal/libraw_x3f.cpp: In function 'void camf_decode_type5(x3f_camf_t*)':
src/../internal/libraw_x3f.cpp:2079:17: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (i = 0; i < CAMF->decoded_data_size; i++) {
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void x3f_setup_camf_property_entry(camf_entry_t*)':
src/../internal/libraw_x3f.cpp:2143:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
   for (i=0; i<num; i++) {
             ~^~~~
src/../internal/libraw_x3f.cpp: In function 'void get_matrix_copy(camf_entry_t*)':
src/../internal/libraw_x3f.cpp:2204:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (i=0; i<elements; i++)
                 ~^~~~~~~~~
src/../internal/libraw_x3f.cpp:2215:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (i=0; i<elements; i++)
                 ~^~~~~~~~~
src/../internal/libraw_x3f.cpp:2220:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (i=0; i<elements; i++)
                 ~^~~~~~~~~
src/../internal/libraw_x3f.cpp:2231:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (i=0; i<elements; i++)
                 ~^~~~~~~~~
src/../internal/libraw_x3f.cpp:2236:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (i=0; i<elements; i++)
                 ~^~~~~~~~~
src/../internal/libraw_x3f.cpp: In function 'void x3f_setup_camf_matrix_entry(camf_entry_t*)':
src/../internal/libraw_x3f.cpp:2269:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
  for (i=0; i<dim; i++) {
            ~^~~~
src/../internal/libraw_x3f.cpp:2276:19: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   if (dentry[i].n != i) {
       ~~~~~~~~~~~~^~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::parse_x3f()':
src/libraw_cxx.cpp:6264:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (i = 0; i < PL->num_properties; i++)
                   ~~^~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:6269:34: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
         if(noffset < 0 || noffset>maxitems || voffset<0 || voffset>maxitems)
                           ~~~~~~~^~~~~~~~~
src/libraw_cxx.cpp:6269:67: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
         if(noffset < 0 || noffset>maxitems || voffset<0 || voffset>maxitems)
                                                            ~~~~~~~^~~~~~~~~
src/libraw_cxx.cpp:4718:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
                    ~~~~^~~~~
src/libraw_cxx.cpp:6273:34: note: in expansion of macro 'MIN'
         utf2char(P[i].name, name,MIN(maxnsize,sizeof(name)));
                                  ^~~
src/libraw_cxx.cpp:4718:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
                    ~~~~^~~~~
src/libraw_cxx.cpp:6274:36: note: in expansion of macro 'MIN'
         utf2char(P[i].value, value,MIN(maxvsize,sizeof(value)));
                                    ^~~
src/libraw_cxx.cpp:6238:28: warning: unused variable 'DS' [-Wunused-variable]
   x3f_directory_section_t *DS = NULL;
                            ^~
src/libraw_cxx.cpp: In member function 'void LibRaw::x3f_thumb_loader()':
src/libraw_cxx.cpp:6463:29: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (int row = 0; row < ID->rows; row++)
                         ~~~~^~~~~~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::x3f_dpq_interpolate_rg()':
src/libraw_cxx.cpp:6499:16: warning: unused variable 'row0_3' [-Wunused-variable]
       uint16_t row0_3 = row0[3];
                ^~~~~~
src/libraw_cxx.cpp:6501:16: warning: unused variable 'row1_3' [-Wunused-variable]
       uint16_t row1_3 = row1[3];
                ^~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::x3f_dpq_interpolate_af(int, int, int)':
src/libraw_cxx.cpp:6554:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       if (blocal < imgdata.color.black + 16 || bnear < imgdata.color.black + 16)
           ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:6554:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       if (blocal < imgdata.color.black + 16 || bnear < imgdata.color.black + 16)
                                                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:6520:16: warning: unused variable 'rowpitch' [-Wunused-variable]
   unsigned int rowpitch = imgdata.rawdata.sizes.raw_pitch / 2; // in 16-bit words
                ^~~~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::x3f_dpq_interpolate_af_sd(int, int, int, int, int, int, int)':
src/libraw_cxx.cpp:6594:16: warning: unused variable 'rowpitch' [-Wunused-variable]
   unsigned int rowpitch = imgdata.rawdata.sizes.raw_pitch / 2; // in 16-bit words
                ^~~~~~~~
src/libraw_cxx.cpp: In member function 'void LibRaw::x3f_load_raw()':
src/libraw_cxx.cpp:6712:31: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (int prow = 0; prow < TRU->x3rgb16.rows && prow < S.raw_height / 2; prow++)
                          ~~~~~^~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:6717:33: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
         for (int pcol = 0; pcol < TRU->x3rgb16.columns && pcol < S.raw_width / 2; pcol++)
                            ~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/libraw_cxx.cpp:6723:29: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
       for (int row = 0; row < Q->top16.rows && row < S.raw_height; row++)
                         ~~~~^~~~~~~~~~~~~~~
src/libraw_cxx.cpp:6727:15: warning: unnecessary parentheses in declaration of 'srcrow' [-Wparentheses]
         ushort(*srcrow) = (unsigned short *)&Q->top16.data[row * Q->top16.columns];
               ^
src/libraw_cxx.cpp:6728:31: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
         for (int col = 0; col < Q->top16.columns && col < S.raw_width; col++)
                           ~~~~^~~~~~~~~~~~~~~~~~
In file included from src/libraw_cxx.cpp:33:
./internal/defines.h: At global scope:
./internal/defines.h:123:14: warning: 'float fMAX(float, float)' defined but not used [-Wunused-function]
 static float fMAX(float a, float b) { return MAX(a, b); }
              ^~~~
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" -DPACKAGE_STRING=\"LibRaw\ 0.19.5\" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I.   -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER  -DUSE_LCMS2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c -o internal/dcraw_common.lo internal/dcraw_common.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c internal/dcraw_common.cpp  -fPIC -DPIC -o internal/.libs/dcraw_common.o
libtool: compile:  g++ -DPACKAGE_NAME=\"LibRaw\" -DPACKAGE_TARNAME=\"libraw\" -DPACKAGE_VERSION=\"0.19.5\" "-DPACKAGE_STRING=\"LibRaw 0.19.5\"" -DPACKAGE_BUGREPORT=\"info@libraw.org\" -DPACKAGE_URL=\"http://www.libraw.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_JPEGLIB_H=1 -DHAVE_JASPER_JASPER_H=1 -I. -DUSE_JPEG -DUSE_JPEG8 -DUSE_JASPER -DUSE_LCMS2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -c internal/dcraw_common.cpp -o internal/dcraw_common.o >/dev/null 2>&1
In file included from ./libraw/libraw.h:35,
                 from internal/dcraw_common.cpp:27:
./libraw/libraw_datastream.h:121:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> f;       /* will close() automatically through dtor */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from internal/dcraw_common.cpp:27:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from ./libraw/libraw.h:35,
                 from internal/dcraw_common.cpp:27:
./libraw/libraw_datastream.h:122:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
        ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from ./libraw/libraw_datastream.h:37,
                 from ./libraw/libraw.h:35,
                 from internal/dcraw_common.cpp:27:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::read_shorts(ushort*, unsigned int)':
internal/dcraw_common.cpp:328:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   if (fread(pixel, 2, count, ifp) < count)
internal/dcraw_common.cpp:331:25: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict]
     swab((char *)pixel, (char *)pixel, count * 2);
          ~~~~~~~~~~~~~  ^~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'unsigned int LibRaw::getbithuff(int, ushort*)':
internal/dcraw_common.cpp:628:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   while (!reset && vbits < nbits && (c = fgetc(ifp)) != EOF && !(reset = zero_after_ff && c == 0xff && fgetc(ifp)))
                                                      ^
internal/dcraw_common.cpp: In member function 'int LibRaw::canon_has_lowbits()':
internal/dcraw_common.cpp:762:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (i = 540; i < sizeof test - 1; i++)
                 ~~^~~~~~~~~~~~~~~~~
In file included from internal/dcraw_common.cpp:28:
internal/dcraw_common.cpp: In member function 'void LibRaw::adobe_copy_pixel(unsigned int, unsigned int, ushort**)':
./internal/defines.h:96:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 #define FORC(cnt) for (c = 0; c < cnt; c++)
internal/dcraw_common.cpp:1274:7: note: in expansion of macro 'FORC'
       FORC(tiff_samples)
       ^~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::lossless_dng_load_raw()':
internal/dcraw_common.cpp:1354:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         for (jrow = 0; jrow + 7 < jh.high; jrow += 8)
                        ~~~~~~~~~^~~~~~~~~
internal/dcraw_common.cpp:1359:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
           for (jcol = 0; jcol + 7 < jh.wide; jcol += 8)
                          ~~~~~~~~~^~~~~~~~~
internal/dcraw_common.cpp:1372:41: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         for (row = col = jrow = 0; jrow < jh.high; jrow++)
                                    ~~~~~^~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::packed_dng_load_raw()':
internal/dcraw_common.cpp:1430:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (col = 0; col < raw_width * tiff_samples; col++)
internal/dcraw_common.cpp: In member function 'void LibRaw::nikon_coolscan_load_raw()':
internal/dcraw_common.cpp:1502:9: warning: unused variable 'red' [-Wunused-variable]
     int red = fread(buf, 1, bufsize, ifp);
         ^~~
internal/dcraw_common.cpp: In member function 'void LibRaw::nikon_3700()':
internal/dcraw_common.cpp:1697:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (i = 0; i < sizeof table / sizeof *table; i++)
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'int LibRaw::minolta_z2()':
internal/dcraw_common.cpp:1715:22: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (nz = i = 0; i < sizeof tail; i++)
                    ~~^~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::ppm16_thumb()':
internal/dcraw_common.cpp:1740:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   for (i = 0; i < thumb_length; i++)
internal/dcraw_common.cpp: In member function 'void LibRaw::layer_thumb()':
internal/dcraw_common.cpp:1758:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   for (i = 0; i < thumb_length; i++)
internal/dcraw_common.cpp: In member function 'void LibRaw::phase_one_flat_field(int, int)':
internal/dcraw_common.cpp:1839:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
       for (c = 0; c < nc; c += 2)
                   ~~^~~~
internal/dcraw_common.cpp:1850:70: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
     for (row = rend - head[5]; row < raw_height && row < rend && row < head[1] + head[3] - head[5]; row++)
                                                                  ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:1854:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         for (c = 0; c < nc; c += 2)
                     ~~^~~~
internal/dcraw_common.cpp:1860:73: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         for (col = cend - head[4]; col < raw_width && col < cend && col < head[0] + head[2] - head[4]; col++)
                                                                     ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:1868:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
           for (c = 0; c < nc; c += 2)
                       ~~^~~~
internal/dcraw_common.cpp:1873:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         for (c = 0; c < nc; c += 2)
                     ~~^~~~
internal/dcraw_common.cpp: In member function 'int LibRaw::phase_one_correct()':
internal/dcraw_common.cpp:2048:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
             for (row = (qr ? ph1.split_row : 0); row < (qr ? raw_height : ph1.split_row); row++)
                                                  ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:2053:56: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
               for (col = (qc ? ph1.split_col : 0); col < (qc ? raw_width : ph1.split_col); col++)
                                                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:2089:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
             i = qmult[row >= ph1.split_row][col >= ph1.split_col] * RAW(row, col);
                       ~~~~^~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:2089:49: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
             i = qmult[row >= ph1.split_row][col >= ph1.split_col] * RAW(row, col);
                                             ~~~~^~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:2118:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
             for (row = (qr ? ph1.split_row : 0); row < (qr ? raw_height : ph1.split_row); row++)
                                                  ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:2123:56: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
               for (col = (qc ? ph1.split_col : 0); col < (qc ? raw_width : ph1.split_col); col++)
                                                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::hasselblad_load_raw()':
internal/dcraw_common.cpp:2393:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (s = 0; s < tiff_samples * 2; s += 2)
                     ~~^~~~~~~~~~~~~~~~~~
In file included from internal/dcraw_common.cpp:28:
./internal/defines.h:96:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 #define FORC(cnt) for (c = 0; c < cnt; c++)
internal/dcraw_common.cpp:2418:11: note: in expansion of macro 'FORC'
           FORC(tiff_samples)
           ^~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::unpacked_load_raw()':
internal/dcraw_common.cpp:2510:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   while (1 << ++bits < maximum)
internal/dcraw_common.cpp: In member function 'void LibRaw::unpacked_load_raw_reversed()':
internal/dcraw_common.cpp:2530:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   while (1 << ++bits < maximum)
internal/dcraw_common.cpp: In member function 'void LibRaw::kodak_radc_load_raw()':
internal/dcraw_common.cpp:3249:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (s = i = 0; i < sizeof src; i += 2)
                   ~~^~~~~~~~~~~~
internal/dcraw_common.cpp:3255:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (i = 0; i < sizeof(buf) / sizeof(short); i++)
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:3273:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
       for (i = 0; i < sizeof(buf[0]) / sizeof(short); i++)
                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp: In function 'void jpegErrorExit(j_common_ptr)':
internal/dcraw_common.cpp:3409:21: warning: unused variable 'myerr' [-Wunused-variable]
   jpegErrorManager *myerr = (jpegErrorManager *)cinfo->err;
                     ^~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::kodak_jpeg_load_raw()':
internal/dcraw_common.cpp:3433:25: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict]
   swab((char *)jpg_buf, (char *)jpg_buf, data_size);
        ~~~~~~~~~~~~~~~  ^~~~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::smal_decode_segment(unsigned int (*)[2], int)':
internal/dcraw_common.cpp:4363:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   for (pix = seg[0][0]; pix < seg[1][0]; pix++)
                         ~~~~^~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::scale_colors()':
internal/dcraw_common.cpp:5265:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
               if (val > maximum - 25)
                   ~~~~^~~~~~~~~~~~~~
internal/dcraw_common.cpp:5388:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         if (ur > iheight - 2)
             ~~~^~~~~~~~~~~~~
internal/dcraw_common.cpp:5394:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
           if (uc > iwidth - 2)
               ~~~^~~~~~~~~~~~
internal/dcraw_common.cpp:5234:12: warning: variable 'dark' set but not used [-Wunused-but-set-variable]
   int val, dark, sat;
            ^~~~
internal/dcraw_common.cpp:5234:18: warning: variable 'sat' set but not used [-Wunused-but-set-variable]
   int val, dark, sat;
                  ^~~
internal/dcraw_common.cpp: In member function 'void LibRaw::border_interpolate(int)':
internal/dcraw_common.cpp:5481:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
       if (col == border && row >= border && row < height - border)
           ~~~~^~~~~~~~~
internal/dcraw_common.cpp:5481:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
       if (col == border && row >= border && row < height - border)
                            ~~~~^~~~~~~~~
internal/dcraw_common.cpp:5481:49: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
       if (col == border && row >= border && row < height - border)
                                             ~~~~^~~~~~~~~~~~~~~~~
In file included from internal/dcraw_common.cpp:28:
./internal/defines.h:99:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 #define FORCC for (c = 0; c < colors && c < 4; c++)
internal/dcraw_common.cpp:5493:7: note: in expansion of macro 'FORCC'
       FORCC if (c != f && sum[c + 4]) image[row * width + col][c] = sum[c] / sum[c + 4];
       ^~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::xtrans_interpolate(int)':
internal/dcraw_common.cpp:5885:27: warning: array subscript has type 'char' [-Wchar-subscripts]
       cstat[fcol(row, col)]++;
                           ^
internal/dcraw_common.cpp: In member function 'void LibRaw::ahd_interpolate_r_and_b_in_rgb_and_convert_to_cielab(int, int, ushort (*)[512][3], short int (*)[512][3])':
internal/dcraw_common.cpp:6214:9: warning: unused variable 'xyz' [-Wunused-variable]
   float xyz[3];
         ^~~
internal/dcraw_common.cpp: In member function 'void LibRaw::ahd_interpolate_build_homogeneity_map(int, int, short int (*)[512][512][3], char (*)[512][2])':
internal/dcraw_common.cpp:6275:11: warning: variable 'tc' set but not used [-Wunused-but-set-variable]
   int tr, tc;
           ^~
internal/dcraw_common.cpp: In member function 'void LibRaw::ahd_interpolate()':
internal/dcraw_common.cpp:6388:7: warning: unused variable 'i' [-Wunused-variable]
   int i, j, k, top, left;
       ^
internal/dcraw_common.cpp:6388:10: warning: unused variable 'j' [-Wunused-variable]
   int i, j, k, top, left;
          ^
internal/dcraw_common.cpp:6388:13: warning: unused variable 'k' [-Wunused-variable]
   int i, j, k, top, left;
             ^
internal/dcraw_common.cpp:6389:9: warning: unused variable 'xyz_cam' [-Wunused-variable]
   float xyz_cam[3][4], r;
         ^~~~~~~
internal/dcraw_common.cpp:6389:24: warning: unused variable 'r' [-Wunused-variable]
   float xyz_cam[3][4], r;
                        ^
internal/dcraw_common.cpp: In member function 'void LibRaw::median_filter()':
internal/dcraw_common.cpp:6585:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
         for (i = 0; i < sizeof opt; i += 2)
                     ~~^~~~~~~~~~~~
In file included from internal/dcraw_common.cpp:28:
internal/dcraw_common.cpp: In member function 'void LibRaw::recover_highlights()':
./internal/defines.h:99:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 #define FORCC for (c = 0; c < colors && c < 4; c++)
internal/dcraw_common.cpp:6656:3: note: in expansion of macro 'FORCC'
   FORCC hsat[c] = 32000 * pre_mul[c];
   ^~~~~
internal/dcraw_common.cpp:6657:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   for (kc = 0, c = 1; c < colors; c++)
In file included from internal/dcraw_common.cpp:28:
./internal/defines.h:99:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 #define FORCC for (c = 0; c < colors && c < 4; c++)
internal/dcraw_common.cpp:6664:3: note: in expansion of macro 'FORCC'
   FORCC if (c != kc)
   ^~~~~
internal/dcraw_common.cpp:6709:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (change = i = 0; i < high * wide; i++)
                            ~~^~~~~~~~~~~~~
internal/dcraw_common.cpp:6718:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     for (i = 0; i < high * wide; i++)
                 ~~^~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::processCanonCameraInfo(unsigned int, uchar*, unsigned int, unsigned int)':
internal/dcraw_common.cpp:7107:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     if (iCanonLens + 64 >= maxlen)
         ~~~~~~~~~~~~~~~~^~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::PentaxISO(ushort)':
internal/dcraw_common.cpp:7879:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (i = 0; i < numel; i++)
                 ^
internal/dcraw_common.cpp: In member function 'void LibRaw::PentaxLensInfo(unsigned int, unsigned int)':
internal/dcraw_common.cpp:7904:40: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
     if (imgdata.lens.makernotes.LensID == -1)
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
internal/dcraw_common.cpp:7912:42: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
       if (imgdata.lens.makernotes.LensID == -1)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
internal/dcraw_common.cpp:7917:42: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
       if (imgdata.lens.makernotes.LensID == -1)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
internal/dcraw_common.cpp:7923:42: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
       if (imgdata.lens.makernotes.LensID == -1)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
internal/dcraw_common.cpp:7930:44: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
         if (imgdata.lens.makernotes.LensID == -1)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::process_Sony_0x9050(uchar*, ushort, unsigned int)':
internal/dcraw_common.cpp:8602:39: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
   if ((imgdata.lens.makernotes.LensID == -1) && (imgdata.lens.makernotes.CameraMount == LIBRAW_MOUNT_Minolta_A) &&
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::parseSonyMakernotes(unsigned int, unsigned int, unsigned int, unsigned int, uchar*&, ushort&, uchar*&, ushort&, uchar*&, ushort&, uchar*&, ushort&, uchar*&, ushort&, uchar*&, ushort&, uchar*&, ushort&, uchar*&, ushort&, uchar*&, ushort&)':
internal/dcraw_common.cpp:9219:84: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
   else if (((tag == 0xb027) || (tag == 0x010c)) && (imgdata.lens.makernotes.LensID == -1))
                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from internal/dcraw_common.cpp:28:
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_makernote_0xc634(int, int, unsigned int)':
./internal/defines.h:99:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 #define FORCC for (c = 0; c < colors && c < 4; c++)
internal/dcraw_common.cpp:9433:11: note: in expansion of macro 'FORCC'
           FORCC imgdata.color.dng_color[ind].forwardmatrix[j][c] = getreal(type);
           ^~~~~
internal/dcraw_common.cpp:9446:44: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
         if (imgdata.lens.makernotes.LensID != -1)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
internal/dcraw_common.cpp:9480:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         while ((c = fgetc(ifp)) && c != EOF)
                                      ^
internal/dcraw_common.cpp:9986:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
         if (nWB <= sizeof(imgdata.color.WBCT_Coeffs) / sizeof(imgdata.color.WBCT_Coeffs[0]))
             ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from internal/dcraw_common.cpp:28:
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_makernote(int, int)':
./internal/defines.h:103:24: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
                    ~~~~^~~~~
internal/dcraw_common.cpp:10368:24: note: in expansion of macro 'MIN'
             ynum_len = MIN((sizeof(ynum)-1), (int)strnlen(words[i], sizeof(imgdata.shootinginfo.InternalBodySerial) - 1) - 18);
                        ^~~
./internal/defines.h:99:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 #define FORCC for (c = 0; c < colors && c < 4; c++)
internal/dcraw_common.cpp:10426:11: note: in expansion of macro 'FORCC'
           FORCC imgdata.color.dng_color[ind].forwardmatrix[j][c] = getreal(type);
           ^~~~~
internal/dcraw_common.cpp:10447:44: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
         if (imgdata.lens.makernotes.LensID != -1)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
internal/dcraw_common.cpp:10845:15: warning: variable 'ntags' set but not used [-Wunused-but-set-variable]
         short ntags, cur_tag;
               ^~~~~
internal/dcraw_common.cpp:10974:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
         if (nWB <= sizeof(imgdata.color.WBCT_Coeffs) / sizeof(imgdata.color.WBCT_Coeffs[0]))
             ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:11311:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
       while ((c = fgetc(ifp)) && c != EOF)
                                    ^
In file included from internal/dcraw_common.cpp:28:
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_mos(int)':
./internal/defines.h:103:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
                    ~~~~^~~~~
internal/dcraw_common.cpp:130:46: note: in expansion of macro 'MIN'
 #define stmread(buf, maxlen, fp) stread(buf, MIN(maxlen, sizeof(buf)), fp)
                                              ^~~
internal/dcraw_common.cpp:12057:7: note: in expansion of macro 'stmread'
       stmread(imgdata.lens.makernotes.body, skip, ifp);
       ^~~~~~~
./internal/defines.h:103:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
                    ~~~~^~~~~
internal/dcraw_common.cpp:130:46: note: in expansion of macro 'MIN'
 #define stmread(buf, maxlen, fp) stread(buf, MIN(maxlen, sizeof(buf)), fp)
                                              ^~~
internal/dcraw_common.cpp:12064:7: note: in expansion of macro 'stmread'
       stmread(buffer, skip, ifp);
       ^~~~~~~
internal/dcraw_common.cpp:12063:11: warning: variable 'nwords' set but not used [-Wunused-but-set-variable]
       int nwords;
           ^~~~~~
In file included from internal/dcraw_common.cpp:28:
./internal/defines.h:103:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
                    ~~~~^~~~~
internal/dcraw_common.cpp:130:46: note: in expansion of macro 'MIN'
 #define stmread(buf, maxlen, fp) stread(buf, MIN(maxlen, sizeof(buf)), fp)
                                              ^~~
internal/dcraw_common.cpp:12073:7: note: in expansion of macro 'stmread'
       stmread(buffer, skip, ifp);
       ^~~~~~~
internal/dcraw_common.cpp:12072:11: warning: variable 'nwords' set but not used [-Wunused-but-set-variable]
       int nwords;
           ^~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_kodak_ifd(int)':
internal/dcraw_common.cpp:12459:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
     if (tag == 2120 + wbi || (wbi < 0 && tag == 2125)) /* use Auto WB if illuminant index is not set */
         ~~~~^~~~~~~~~~~~~
internal/dcraw_common.cpp:12471:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare]
     if ((unsigned)wbi < 7 && tag == wbtag[wbi])
                              ~~~~^~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'int LibRaw::parse_tiff_ifd(int)':
internal/dcraw_common.cpp:12616:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (int i = 0; i < 4 && i < len; i++)
                                  ~~^~~~~
internal/dcraw_common.cpp:12901:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
       if (tiff_bps < tiff_ifd[ifd].bps)
internal/dcraw_common.cpp:12943:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (int i = 0; i < len; i++)
                         ~~^~~~~
internal/dcraw_common.cpp:12988:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (int i = 0; i < len; i++)
                         ~~^~~~~
internal/dcraw_common.cpp:13050:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
         if (ifd >= sizeof tiff_ifd / sizeof tiff_ifd[0])
             ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:13095:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (j = sony_curve[i] + 1; j <= sony_curve[i + 1]; j++)
                                     ~~^~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:13137:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       FORC3 if (i > cblack[c]) i = cblack[c];
                 ~~^~~~~~~~~~~
internal/dcraw_common.cpp:13172:38: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (colors = cfa = i = 0; i < plen && colors < 4; i++)
                                    ~~^~~~~~
internal/dcraw_common.cpp:13390:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       if (fread(cbuf, 1, len, ifp) != len)
internal/dcraw_common.cpp:13523:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
             for (int fi = 0; fi < (libraw_internal_data.unpacker_data.lenRAFData - 3); fi++)
                              ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:13582:62: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       if (tiff_ifd[ifd].samples > 1 && tiff_ifd[ifd].samples == len) // LinearDNG, per-channel black
                                        ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
internal/dcraw_common.cpp:13585:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (i = 0; i < colors && i < 4 && i < len; i++)
                                            ~~^~~~~
In file included from internal/dcraw_common.cpp:28:
./internal/defines.h:96:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 #define FORC(cnt) for (c = 0; c < cnt; c++)
internal/dcraw_common.cpp:13602:9: note: in expansion of macro 'FORC'
         FORC(cblack[4] * cblack[5])
         ^~~~
./internal/defines.h:96:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 #define FORC(cnt) for (c = 0; c < cnt; c++)
internal/dcraw_common.cpp:13612:11: note: in expansion of macro 'FORC'
           FORC(cblack[4] * cblack[5])
           ^~~~
internal/dcraw_common.cpp:13623:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (num = i = 0; i < len && i < 65536; i++)
                         ~~^~~~~
internal/dcraw_common.cpp:13642:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         for (i = 1; i < colors && i < 4 && i < len; i++)
                                            ~~^~~~~
internal/dcraw_common.cpp:13883:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     if(ival > SR2SubIFDLength) // points out of orig. buffer size
        ~~~~~^~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:13790:22: warning: variable 'makernote_found' set but not used [-Wunused-but-set-variable]
       unsigned short makernote_found = 0;
                      ^~~~~~~~~~~~~~~
internal/dcraw_common.cpp:14018:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       for (i = 0; i < len && i < 32; i++)
                   ~~^~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::apply_tiff()':
internal/dcraw_common.cpp:14137:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   for (i = 0; i < tiff_nifds; i++)
internal/dcraw_common.cpp:14155:106: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
         (unsigned)tiff_ifd[i].samples < 13 && ns && ((ns > os && (ties = 1)) || (ns == os && shot_select == ties++)))
internal/dcraw_common.cpp:14197:87: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
       if (!dng_version && !strncasecmp(make, "Sony", 4) && INT64(tiff_ifd[raw].bytes) == INT64(raw_width) * INT64(raw_height) * 2ULL)
                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:14226:87: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
       if (!dng_version && !strncasecmp(make, "Sony", 4) && INT64(tiff_ifd[raw].bytes) == INT64(raw_width) * INT64(raw_height) * 2ULL)
                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:14233:38: warning: comparison of integer expressions of different signedness: 'INT64' {aka 'long long int'} and 'long long unsigned int' [-Wsign-compare]
           INT64(tiff_ifd[raw].bytes) == INT64(raw_width) * INT64(raw_height) * 8ULL) // Sony ARQ
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:14296:73: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'INT64' {aka 'long long int'} [-Wsign-compare]
       if ((INT64(raw_width) + 9ULL) / 10ULL * 16ULL * INT64(raw_height) == INT64(tiff_ifd[raw].bytes))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:14315:60: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'INT64' {aka 'long long int'} [-Wsign-compare]
       else if (INT64(raw_width) * INT64(raw_height) * 3ULL == INT64(tiff_ifd[raw].bytes))
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:14326:60: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'INT64' {aka 'long long int'} [-Wsign-compare]
       else if (INT64(raw_width) * INT64(raw_height) * 2ULL == INT64(tiff_ifd[raw].bytes))
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:14397:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   for (i = 0; i < tiff_nifds; i++)
internal/dcraw_common.cpp:14402:81: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
         tiff_ifd[i].t_width * tiff_ifd[i].t_height / (SQR(tiff_ifd[i].bps) + 1) >
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
             thumb_width * thumb_height / (SQR(thumb_misc) + 1) &&
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                   
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_minolta(int)':
internal/dcraw_common.cpp:14464:33: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'INT64' {aka 'long long int'} [-Wsign-compare]
     if((INT64)len + save + 8ULL > fsize)
        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_fuji(int)':
internal/dcraw_common.cpp:15293:11: warning: unused variable 'k' [-Wunused-variable]
       int k = get2();
           ^
internal/dcraw_common.cpp:15294:11: warning: unused variable 'l' [-Wunused-variable]
       int l = get2(); /* margins? */
           ^
internal/dcraw_common.cpp:15295:11: warning: unused variable 'm' [-Wunused-variable]
       int m = get2(); /* margins? */
           ^
internal/dcraw_common.cpp:15296:11: warning: unused variable 'n' [-Wunused-variable]
       int n = get2();
           ^
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_smal(int, int)':
internal/dcraw_common.cpp:15560:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
   if (get4() != fsize)
       ~~~~~~~^~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_redcine()':
internal/dcraw_common.cpp:15659:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
     while ((len = get4()) != EOF)
                           ^
internal/dcraw_common.cpp: In member function 'virtual void LibRaw::adobe_coeff(const char*, const char*, int)':
internal/dcraw_common.cpp:17255:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (i = 0; i < sizeof table / sizeof *table; i++)
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::identify()':
internal/dcraw_common.cpp:17734:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (int q = 0; q < sizeof(const_table) / sizeof(const_table[0]); q++)
                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:18045:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     for (zero_fsize = i = 0; i < camera_count; i++)
                              ~~^~~~~~~~~~~~~~
internal/dcraw_common.cpp:18049:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
       if (fsize == table[i].fsize)
           ~~~~~~^~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:18167:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
   for (i = 0; i < sizeof corp / sizeof *corp; i++)
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:18295:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
       for (i = 0; i < sizeof unique / sizeof *unique; i++)
                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:18304:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
       for (i = 0; i < sizeof sonique / sizeof *sonique; i++)
                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:18317:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
     for (i = 0; i < sizeof canon / sizeof *canon; i++)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:18339:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
     for (i = 0; i < sizeof unique / sizeof *unique; i++)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:18349:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
     for (i = 0; i < sizeof sonique / sizeof *sonique; i++)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:19131:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
     for (i = 0; i < sizeof pana / sizeof *pana; i++)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:19526:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     for (; iifd < tiff_nifds; iifd++)
internal/dcraw_common.cpp:19530:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     for (int ii = 0; ii < tiff_nifds; ii++)
internal/dcraw_common.cpp:19548:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     if (iifd < tiff_nifds)
internal/dcraw_common.cpp:19563:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     if (illidx[0] >= 0 && illidx[0] < tiff_nifds && illidx[0] == illidx[1] && illidx[0] == cmidx[0] && illidx[0] == cmidx[1]
internal/dcraw_common.cpp:19576:11: warning: unused variable 'ill' [-Wunused-variable]
       int ill = tiff_ifd[sidx].dng_color[i].illuminant;
           ^~~
internal/dcraw_common.cpp:19852:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   if (flip == UINT_MAX)
internal/dcraw_common.cpp:19854:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   if (flip == UINT_MAX)
internal/dcraw_common.cpp: In member function 'void LibRaw::convert_to_rgb()':
internal/dcraw_common.cpp:19938:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     for (i = 0; i < pbody[0]; i++)
                 ~~^~~~~~~~~~
internal/dcraw_common.cpp:19958:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
     for (i = 0; i < phead[0] / 4; i++)
                 ~~^~~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'virtual void LibRaw::fuji_rotate()':
internal/dcraw_common.cpp:20036:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
       if (ur > height - 2 || uc > width - 2)
           ~~~^~~~~~~~~~~~
internal/dcraw_common.cpp:20036:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
       if (ur > height - 2 || uc > width - 2)
                              ~~~^~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::write_ppm_tiff()':
internal/dcraw_common.cpp:20333:26: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict]
       swab((char *)ppm2, (char *)ppm2, width * colors * 2);
            ~~~~~~~~~~~~  ^~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::xtrans_interpolate(int)':
internal/dcraw_common.cpp:5868:27: warning: 'sgcol' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ushort min, max, sgrow, sgcol;
                           ^~~~~
internal/dcraw_common.cpp:5868:20: warning: 'sgrow' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ushort min, max, sgrow, sgcol;
                    ^~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::processNikonLensData(uchar*, unsigned int)':
internal/dcraw_common.cpp:7260:10: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ushort i;
          ^
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_makernote(int, int)':
internal/dcraw_common.cpp:10353:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
               snprintf(tbuf, sizeof(tbuf), "%s %s", imgdata.shootinginfo.InternalBodySerial, words[i]);
                                            ^~~~~~~
In file included from /usr/include/stdio.h:873,
                 from ./libraw/libraw_types.h:28,
                 from internal/dcraw_common.cpp:24:
/usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 65) into a destination of size 64
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __glibc_objsize (__s), __fmt,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~           
internal/dcraw_common.cpp:10395:44: warning: '%s' directive output may be truncated writing up to 15 bytes into a region of size between 0 and 63 [-Wformat-truncation=]
               snprintf(tbuf, sizeof(tbuf), "%s %s %d:%s:%s %s", imgdata.shootinginfo.InternalBodySerial, ystr, year, mm,
                                            ^~~~~~~~~~~~~~~~~~~                                           ~~~~
internal/dcraw_common.cpp:10395:44: note: directive argument in the range [64, 2769]
In file included from /usr/include/stdio.h:873,
                 from ./libraw/libraw_types.h:28,
                 from internal/dcraw_common.cpp:24:
/usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 92) into a destination of size 64
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __glibc_objsize (__s), __fmt,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~           
internal/dcraw_common.cpp: In member function 'void LibRaw::parse_makernote_0xc634(int, int, unsigned int)':
internal/dcraw_common.cpp:9608:26: warning: 'table_buf' may be used uninitialized in this function [-Wmaybe-uninitialized]
             table_buf[i] ^= (cj += ci * ck++);
             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp: In member function 'void LibRaw::tiff_head(tiff_hdr*, int)':
internal/dcraw_common.cpp:20165:21: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 8 and 15 [-Wformat-overflow=]
   sprintf(th->date, "%04d:%02d:%02d %02d:%02d:%02d", t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internal/dcraw_common.cpp:20165:21: note: directive argument in the range [-2147483647, 2147483647]
In file included from /usr/include/stdio.h:873,
                 from ./libraw/libraw_types.h:28,
                 from internal/dcraw_common.cpp:24:
/usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 20
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __glibc_objsize (__s), __fmt,
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~           
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -no-undefined -version-info 19:2:0 -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lib/libraw.la -rpath /usr/lib64 internal/dcraw_common.lo internal/dcraw_fileio.lo internal/demosaic_packs.lo src/libraw_cxx.lo src/libraw_datastream.lo src/libraw_c_api.lo  -ljpeg -ljasper -llcms2  -lm
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbeginS.o  internal/.libs/dcraw_common.o internal/.libs/dcraw_fileio.o internal/.libs/demosaic_packs.o src/.libs/libraw_cxx.o src/.libs/libraw_datastream.o src/.libs/libraw_c_api.o   -ljpeg -ljasper -llcms2 -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/8/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -fopenmp -Wl,-soname -Wl,libraw.so.19 -o lib/.libs/libraw.so.19.0.2
libtool: link: (cd "lib/.libs" && rm -f "libraw.so.19" && ln -s "libraw.so.19.0.2" "libraw.so.19")
libtool: link: (cd "lib/.libs" && rm -f "libraw.so" && ln -s "libraw.so.19.0.2" "libraw.so")
libtool: link: ar cru lib/.libs/libraw.a  internal/dcraw_common.o internal/dcraw_fileio.o internal/demosaic_packs.o src/libraw_cxx.o src/libraw_datastream.o src/libraw_c_api.o
libtool: link: ranlib lib/.libs/libraw.a
libtool: link: ( cd "lib/.libs" && rm -f "libraw.la" && ln -s "../libraw.la" "libraw.la" )
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -no-undefined -version-info 19:2:0 -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o lib/libraw_r.la -rpath /usr/lib64 internal/dcraw_common.lo internal/dcraw_fileio.lo internal/demosaic_packs.lo src/libraw_cxx.lo src/libraw_datastream.lo src/libraw_c_api.lo  -ljpeg -ljasper -llcms2  -lm
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbeginS.o  internal/.libs/dcraw_common.o internal/.libs/dcraw_fileio.o internal/.libs/demosaic_packs.o src/.libs/libraw_cxx.o src/.libs/libraw_datastream.o src/.libs/libraw_c_api.o   -ljpeg -ljasper -llcms2 -L/usr/lib/gcc/x86_64-redhat-linux/8 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/8/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -fopenmp -Wl,-soname -Wl,libraw_r.so.19 -o lib/.libs/libraw_r.so.19.0.2
libtool: link: (cd "lib/.libs" && rm -f "libraw_r.so.19" && ln -s "libraw_r.so.19.0.2" "libraw_r.so.19")
libtool: link: (cd "lib/.libs" && rm -f "libraw_r.so" && ln -s "libraw_r.so.19.0.2" "libraw_r.so")
libtool: link: ar cru lib/.libs/libraw_r.a  internal/dcraw_common.o internal/dcraw_fileio.o internal/demosaic_packs.o src/libraw_cxx.o src/libraw_datastream.o src/libraw_c_api.o
libtool: link: ranlib lib/.libs/libraw_r.a
libtool: link: ( cd "lib/.libs" && rm -f "libraw_r.la" && ln -s "../libraw_r.la" "libraw_r.la" )
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/dcraw_half samples/bin_dcraw_half-dcraw_half.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/dcraw_half samples/bin_dcraw_half-dcraw_half.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
/bin/sh ./libtool  --tag=CC   --mode=link gcc -pthread -w -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/half_mt samples/bin_half_mt-half_mt.o lib/libraw_r.la -ljpeg -ljasper -llcms2  -lm
libtool: link: gcc -pthread -w -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/half_mt samples/bin_half_mt-half_mt.o  lib/.libs/libraw_r.so -ljpeg -ljasper -llcms2 -lm -fopenmp -pthread
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/raw-identify samples/bin_raw_identify-raw-identify.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/raw-identify samples/bin_raw_identify-raw-identify.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/dcraw_emu samples/bin_dcraw_emu-dcraw_emu.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/dcraw_emu samples/bin_dcraw_emu-dcraw_emu.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/multirender_test samples/bin_multirender_test-multirender_test.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/multirender_test samples/bin_multirender_test-multirender_test.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/4channels samples/bin_4channels-4channels.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/4channels samples/bin_4channels-4channels.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/postprocessing_benchmark samples/bin_postprocessing_benchmark-postprocessing_benchmark.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/postprocessing_benchmark samples/bin_postprocessing_benchmark-postprocessing_benchmark.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/simple_dcraw samples/bin_simple_dcraw-simple_dcraw.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/simple_dcraw samples/bin_simple_dcraw-simple_dcraw.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/mem_image samples/bin_mem_image-mem_image.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/mem_image samples/bin_mem_image-mem_image.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
/bin/sh ./libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/unprocessed_raw samples/bin_unprocessed_raw-unprocessed_raw.o lib/libraw.la -ljpeg -ljasper -llcms2  -lm
libtool: link: g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fopenmp -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/.libs/unprocessed_raw samples/bin_unprocessed_raw-unprocessed_raw.o  lib/.libs/libraw.so -ljpeg -ljasper -llcms2 -lm -fopenmp
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nP0lKB
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64
++ dirname /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64
+ cd LibRaw-0.19.5
+ cp -pr doc manual
+ chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt
+ chmod 644 manual/API-C.html manual/API-CXX.html manual/API-datastruct.html manual/API-notes.html manual/API-overview.html manual/Install-LibRaw.html manual/Samples-LibRaw.html manual/Why-LibRaw.html manual/index.html
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64 'INSTALL=/usr/bin/install -p'
make[1]: Entering directory '/builddir/build/BUILD/LibRaw-0.19.5'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64'
 /bin/sh ./libtool   --mode=install /usr/bin/install -p   lib/libraw.la lib/libraw_r.la '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64'
libtool: install: /usr/bin/install -p lib/.libs/libraw.so.19.0.2 /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw.so.19.0.2
libtool: install: (cd /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64 && { ln -s -f libraw.so.19.0.2 libraw.so.19 || { rm -f libraw.so.19 && ln -s libraw.so.19.0.2 libraw.so.19; }; })
libtool: install: (cd /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64 && { ln -s -f libraw.so.19.0.2 libraw.so || { rm -f libraw.so && ln -s libraw.so.19.0.2 libraw.so; }; })
libtool: install: /usr/bin/install -p lib/.libs/libraw.lai /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw.la
libtool: install: /usr/bin/install -p lib/.libs/libraw_r.so.19.0.2 /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw_r.so.19.0.2
libtool: install: (cd /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64 && { ln -s -f libraw_r.so.19.0.2 libraw_r.so.19 || { rm -f libraw_r.so.19 && ln -s libraw_r.so.19.0.2 libraw_r.so.19; }; })
libtool: install: (cd /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64 && { ln -s -f libraw_r.so.19.0.2 libraw_r.so || { rm -f libraw_r.so && ln -s libraw_r.so.19.0.2 libraw_r.so; }; })
libtool: install: /usr/bin/install -p lib/.libs/libraw_r.lai /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw_r.la
libtool: install: /usr/bin/install -p lib/.libs/libraw.a /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw.a
libtool: install: chmod 644 /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw.a
libtool: install: ranlib /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw.a
libtool: install: /usr/bin/install -p lib/.libs/libraw_r.a /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw_r.a
libtool: install: chmod 644 /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw_r.a
libtool: install: ranlib /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw_r.a
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -p bin/raw-identify bin/unprocessed_raw bin/4channels bin/simple_dcraw bin/mem_image bin/dcraw_half bin/half_mt bin/multirender_test bin/postprocessing_benchmark bin/dcraw_emu '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin'
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/raw-identify /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/raw-identify
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/unprocessed_raw /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/unprocessed_raw
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/4channels /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/4channels
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/simple_dcraw /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/simple_dcraw
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/mem_image /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/mem_image
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/dcraw_half /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/dcraw_half
libtool: warning: 'lib/libraw_r.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/half_mt /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/half_mt
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/multirender_test /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/multirender_test
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/postprocessing_benchmark /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/postprocessing_benchmark
libtool: warning: 'lib/libraw.la' has not been installed in '/usr/lib64'
libtool: install: /usr/bin/install -p bin/.libs/dcraw_emu /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/dcraw_emu
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/libraw'
 /usr/bin/install -p -m 644 COPYRIGHT LICENSE.CDDL LICENSE.LGPL Changelog.txt '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/libraw'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/include'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/include/libraw'
 /usr/bin/install -p -m 644  libraw/libraw.h libraw/libraw_alloc.h libraw/libraw_const.h libraw/libraw_datastream.h libraw/libraw_internal.h libraw/libraw_types.h libraw/libraw_version.h '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/include/libraw'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 libraw.pc libraw_r.pc '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/pkgconfig'
make[1]: Leaving directory '/builddir/build/BUILD/LibRaw-0.19.5'
+ rm -rfv samples/.deps
removed 'samples/.deps/.dirstamp'
removed directory 'samples/.deps'
+ rm -fv samples/.dirstamp
removed 'samples/.dirstamp'
+ rm -fv samples/bin_4channels-4channels.o samples/bin_dcraw_emu-dcraw_emu.o samples/bin_dcraw_half-dcraw_half.o samples/bin_half_mt-half_mt.o samples/bin_mem_image-mem_image.o samples/bin_multirender_test-multirender_test.o samples/bin_postprocessing_benchmark-postprocessing_benchmark.o samples/bin_raw_identify-raw-identify.o samples/bin_simple_dcraw-simple_dcraw.o samples/bin_unprocessed_raw-unprocessed_raw.o
removed 'samples/bin_4channels-4channels.o'
removed 'samples/bin_dcraw_emu-dcraw_emu.o'
removed 'samples/bin_dcraw_half-dcraw_half.o'
removed 'samples/bin_half_mt-half_mt.o'
removed 'samples/bin_mem_image-mem_image.o'
removed 'samples/bin_multirender_test-multirender_test.o'
removed 'samples/bin_postprocessing_benchmark-postprocessing_benchmark.o'
removed 'samples/bin_raw_identify-raw-identify.o'
removed 'samples/bin_simple_dcraw-simple_dcraw.o'
removed 'samples/bin_unprocessed_raw-unprocessed_raw.o'
+ rm -fv /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw.la /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw_r.la
removed '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw.la'
removed '/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw_r.la'
+ /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 0.19.5-4.oc8 --unique-debug-suffix -0.19.5-4.oc8.x86_64 --unique-debug-src-base LibRaw-0.19.5-4.oc8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/LibRaw-0.19.5
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/dcraw_emu
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/4channels
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/dcraw_half
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/half_mt
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/postprocessing_benchmark
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/multirender_test
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/raw-identify
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/mem_image
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/simple_dcraw
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw.so.19.0.2
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/bin/unprocessed_raw
extracting debug info from /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/lib64/libraw_r.so.19.0.2
/usr/lib/rpm/sepdebugcrcfix: Updated 12 CRC32s, 0 CRC32s did match.
2428 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile '' 1
+ /usr/lib/rpm/brp-python-hardlink
+ PYTHON3=/usr/libexec/platform-python
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: LibRaw-0.19.5-4.oc8.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iwaD9z
+ umask 022
+ cd /builddir/build/BUILD
+ cd LibRaw-0.19.5
+ DOCDIR=/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/LibRaw
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/LibRaw
+ cp -pr Changelog.txt /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/LibRaw
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2ctEZ5
+ umask 022
+ cd /builddir/build/BUILD
+ cd LibRaw-0.19.5
+ LICENSEDIR=/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/licenses/LibRaw
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/licenses/LibRaw
+ cp -pr LICENSE.CDDL /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/licenses/LibRaw
+ cp -pr LICENSE.LGPL /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/licenses/LibRaw
+ cp -pr COPYRIGHT /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/licenses/LibRaw
+ exit 0
Provides: LibRaw = 0.19.5-4.oc8 LibRaw(x86-64) = 0.19.5-4.oc8 bundled(dcraw) = 9.25 libraw.so.19()(64bit) libraw_r.so.19()(64bit)
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.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgomp.so.1()(64bit) libgomp.so.1(GOMP_1.0)(64bit) libgomp.so.1(GOMP_4.0)(64bit) libgomp.so.1(OMP_1.0)(64bit) libjasper.so.4()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEGTURBO_6.2)(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) liblcms2.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH)
Processing files: LibRaw-devel-0.19.5-4.oc8.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZcGbBZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd LibRaw-0.19.5
+ DOCDIR=/builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/LibRaw-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/LibRaw-devel
+ cp -pr manual /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/LibRaw-devel
+ cp -pr samples /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64/usr/share/doc/LibRaw-devel
+ exit 0
Provides: LibRaw-devel = 0.19.5-4.oc8 LibRaw-devel(x86-64) = 0.19.5-4.oc8 pkgconfig(libraw) = 0.19.5 pkgconfig(libraw_r) = 0.19.5
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config libraw.so.19()(64bit) libraw_r.so.19()(64bit) pkgconfig(lcms2)
Processing files: LibRaw-static-0.19.5-4.oc8.x86_64
Provides: LibRaw-static = 0.19.5-4.oc8 LibRaw-static(x86-64) = 0.19.5-4.oc8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: LibRaw-samples-0.19.5-4.oc8.x86_64
Provides: LibRaw-samples = 0.19.5-4.oc8 LibRaw-samples(x86-64) = 0.19.5-4.oc8
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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgomp.so.1()(64bit) libgomp.so.1(OMP_1.0)(64bit) libjasper.so.4()(64bit) libjpeg.so.62()(64bit) liblcms2.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libraw.so.19()(64bit) libraw_r.so.19()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) rtld(GNU_HASH)
Processing files: LibRaw-debugsource-0.19.5-4.oc8.x86_64
Provides: LibRaw-debugsource = 0.19.5-4.oc8 LibRaw-debugsource(x86-64) = 0.19.5-4.oc8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: LibRaw-debuginfo-0.19.5-4.oc8.x86_64
Provides: LibRaw-debuginfo = 0.19.5-4.oc8 LibRaw-debuginfo(x86-64) = 0.19.5-4.oc8 debuginfo(build-id) = 15bc4ca2f5eb65abc87f5450fbf07ce951dfbe4b debuginfo(build-id) = f2d498c82bb2ae87a7eca244e25d87592ad493b5
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: LibRaw-debugsource(x86-64) = 0.19.5-4.oc8
Processing files: LibRaw-samples-debuginfo-0.19.5-4.oc8.x86_64
Provides: LibRaw-samples-debuginfo = 0.19.5-4.oc8 LibRaw-samples-debuginfo(x86-64) = 0.19.5-4.oc8 debuginfo(build-id) = 011467085d0df2e87eee1f1f018b21019f25d371 debuginfo(build-id) = 3006af97ea56ea5d8de64fa476040ff2669e7c1b debuginfo(build-id) = 396bd563c6187d3b8751db54d848551581892fab debuginfo(build-id) = 83112d3d4881924dc4a10919ee14be8ba57e5d29 debuginfo(build-id) = a2cdddedc343bb134e53afb69f621dae8158de3d debuginfo(build-id) = bbd63b7c880a221f5f85767ff50d8cb54aea2fba debuginfo(build-id) = c3cecaef96ef8904e9b1653df879d6373d1178df debuginfo(build-id) = e00c4ffd80135ed175d5424d9b2b3a2a3b2e9197 debuginfo(build-id) = e41b991ef048afaa5c908dcd6e1c83f66484df42 debuginfo(build-id) = f19030727379a0299a0afd0c540f667fc2a70bfc
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: LibRaw-debugsource(x86-64) = 0.19.5-4.oc8
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/LibRaw-0.19.5-4.oc8.x86_64
Wrote: /builddir/build/RPMS/LibRaw-0.19.5-4.oc8.x86_64.rpm
Wrote: /builddir/build/RPMS/LibRaw-devel-0.19.5-4.oc8.x86_64.rpm
Wrote: /builddir/build/RPMS/LibRaw-static-0.19.5-4.oc8.x86_64.rpm
Wrote: /builddir/build/RPMS/LibRaw-samples-0.19.5-4.oc8.x86_64.rpm
Wrote: /builddir/build/RPMS/LibRaw-debugsource-0.19.5-4.oc8.x86_64.rpm
Wrote: /builddir/build/RPMS/LibRaw-debuginfo-0.19.5-4.oc8.x86_64.rpm
Wrote: /builddir/build/RPMS/LibRaw-samples-debuginfo-0.19.5-4.oc8.x86_64.rpm
Child return code was: 0