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 aarch64 --nodeps /builddir/build/SPECS/OpenEXR_Viewers.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79064-53294/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/OpenEXR_Viewers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/OpenEXR_Viewers-2.3.0-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/OpenEXR_Viewers.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79064-53294/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/OpenEXR_Viewers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Arh83z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openexr_viewers-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/OpenEXR_Viewers-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openexr_viewers-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (openexr_viewers-2.0.1-dso.patch): + echo 'Patch #1 (openexr_viewers-2.0.1-dso.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dso --fuzz=0 patching file configure.ac patching file exrdisplay/Makefile.am Patch #2 (openexr_viewers-gcc-11-fixes.patch): + echo 'Patch #2 (openexr_viewers-gcc-11-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc11 --fuzz=0 patching file exrdisplay/ImageView.cpp patching file exrdisplay/main.cpp patching file exrdisplay/scaleImage.cpp patching file playexr/FileReadingThread.cpp Patch #3 (openexr_viewers-imfheader.patch): + echo 'Patch #3 (openexr_viewers-imfheader.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .imfh --fuzz=0 patching file exrdisplay/ImageView.cpp patching file exrdisplay/main.cpp patching file exrdisplay/scaleImage.cpp + sed -i -e 's|ACTUAL_PREFIX/lib/CTL|ACTUAL_PREFIX/lib64/CTL|' configure.ac + ./bootstrap running aclocal -I m4 ... running libtoolize --automake --copy ... running automake --add-missing --copy --foreign ... configure.ac:20: installing './compile' exrdisplay/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') playexr/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') running autoconf ... configure.ac:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:6: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9845: AM_CONFIG_HEADER is expanded from... configure.ac:6: the top level configure.ac:22: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:22: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:22: the top level configure.ac:95: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:95: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:95: the top level configure.ac:134: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:134: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:134: the top level configure.ac:139: warning: The macro `AC_LANG_C' is obsolete. configure.ac:139: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/threads.m4:51: ACX_PTHREAD is expanded from... configure.ac:139: the top level configure.ac:139: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:139: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/threads.m4:51: ACX_PTHREAD is expanded from... configure.ac:139: the top level configure.ac:139: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:139: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/threads.m4:248: AM_POSIX_SEM is expanded from... m4/threads.m4:51: ACX_PTHREAD is expanded from... configure.ac:139: the top level configure.ac:243: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:243: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... m4/path.fltk.m4:5: AM_PATH_FLTK is expanded from... configure.ac:243: the top level configure.ac:243: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:243: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/path.fltk.m4:5: AM_PATH_FLTK is expanded from... configure.ac:243: the top level configure.ac:249: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:249: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... m4/path.cb.m4:6: AM_PATH_CG is expanded from... configure.ac:249: the top level configure.ac:249: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:249: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/path.cb.m4:6: AM_PATH_CG is expanded from... configure.ac:249: the top level configure.ac:258: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:258: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:258: the top level configure.ac:270: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:270: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:270: the top level configure.ac:283: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:283: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:283: the top level configure.ac:312: warning: AC_OUTPUT should be used without arguments. configure.ac:312: You should run autoupdate. Now type './configure' to configure OpenEXR_Viewers. + sed -i -e 's|#include \n using namespace Ctl|#include \n #include \nusing namespace Ctl|' configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U4EjK9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openexr_viewers-2.3.0 + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64' + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-06-04 11:44:38.464919438 +0800 +++ ./configure 2024-06-04 11:44:38.484919563 +0800 @@ -1816,7 +1816,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-06-04 11:44:38.484919563 +0800 +++ ./configure 2024-06-04 11:44:38.504919688 +0800 @@ -7865,7 +7865,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -26724,7 +26724,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-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 --disable-static --disable-openexrtest --disable-openexrctltest checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for aarch64-opencloudos-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking whether ln -s works... yes 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 the maximum length of command line arguments... 1572864 checking how to convert aarch64-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-opencloudos-linux-gnu-file... no checking for file... file checking for aarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7871: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 aarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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... yes 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) 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... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) 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) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether make sets $(MAKE)... (cached) yes LIB64_IF_EXISTS ... -L/usr/lib64 test_prefix = NONE checking for pkg-config... /usr/bin/pkg-config using pkg-config to set OPENEXR_CXXFLAGS and OPENEXR_LDFLAGS: OPENEXR_CXXFLAGS = -I/usr/include/OpenEXR -pthread -I/usr/include/Imath OPENEXR_LDFLAGS = OPENEXR_LIBS = -lOpenEXR-3_1 -lOpenEXRUtil-3_1 -lOpenEXRCore-3_1 -lIex-3_1 -lIlmThread-3_1 -lImath-3_1 test_prefix = NONE checking for pkg-config... (cached) /usr/bin/pkg-config using pkg-config to set OPENEXR_CTL_CXXFLAGS and OPENEXR_CTL_LDFLAGS: Package OpenEXR_CTL was not found in the pkg-config search path. Perhaps you should add the directory containing `OpenEXR_CTL.pc' to the PKG_CONFIG_PATH environment variable Package 'OpenEXR_CTL', required by 'virtual:world', not found Package OpenEXR_CTL was not found in the pkg-config search path. Perhaps you should add the directory containing `OpenEXR_CTL.pc' to the PKG_CONFIG_PATH environment variable Package 'OpenEXR_CTL', required by 'virtual:world', not found Package OpenEXR_CTL was not found in the pkg-config search path. Perhaps you should add the directory containing `OpenEXR_CTL.pc' to the PKG_CONFIG_PATH environment variable Package 'OpenEXR_CTL', required by 'virtual:world', not found using prefix to set OPENEXR_CTL_CXXFLAGS and OPENEXR_CTL_LDFLAGS: OPENEXR_CTL_CXXFLAGS = -I/usr/include/OpenEXR -I/usr/include/CTL OPENEXR_CTL_LDFLAGS = -L/usr/lib OPENEXR_CTL_LIBS = -lIlmImfCtl -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lpthread -lIlmCtlSimd -lIlmCtlMath -lIlmCtl test_prefix = NONE checking for pkg-config... (cached) /usr/bin/pkg-config using pkg-config to set GL_CFLAGS and GL_LDFLAGS: using prefix to set GL_CFLAGS and GL_LDFLAGS: GL_CFLAGS = GL_LDFLAGS = -L/usr/lib GL_LIBS = -lGL checking whether g++ supports C++14 features by default... yes checking how to run the C preprocessor... gcc -E checking for fltk-config... /usr/bin/fltk-config checking for FLTK with GL support... yes --------------------------------------------- Fltk setup: FLTK_CXXFLAGS FLTK_LDFLAGS -lfltk_gl -lfltk --------------------------------------------- checking for Cg... no *** The Cg test program could not be compiled. *** Possible reasons: *** - The Cg libraries and includes are not installed. *** - configure cannot find Cg (use the *** --with-cg-prefix option to tell configure where *** to find it). *** - Your version of Cg is out of date. Please update it *** to the latest version. *** *** The exrdisplay program will not be built with fragment shader *** support because the fragment shader support depends on Cg. checking for egrep... (cached) /usr/bin/grep -E checking for limits.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for gcc optimization flags... -pipe checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config/Makefile config.status: creating exrdisplay/Makefile config.status: creating playexr/Makefile config.status: creating doc/Makefile config.status: creating config/OpenEXR_ViewersConfig.h config.status: executing depfiles commands config.status: executing libtool commands --------------------------------------------- Summary for OpenEXR features: build exrdisplay FLTK application yes with fragment shader support no ctl support --------------------------------------------- + sed -i -e 's|LIBS =|LIBS = -lglut|' playexr/Makefile + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making all in playexr make[1]: Nothing to be done for 'all'. Making all in exrdisplay make[1]: Entering directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' /usr/bin/fltk-config --post exrdisplay make[1]: Leaving directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' make[1]: Entering directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -I.. -DHAVE_CTL_INTERPRETER=0 -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -std=c++14 -c -o GlWindow3d.o GlWindow3d.cpp make[1]: Leaving directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' make[1]: Entering directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -I.. -DHAVE_CTL_INTERPRETER=0 -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -std=c++14 -c -o scaleImage.o scaleImage.cpp make[1]: Leaving directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' make[1]: Entering directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -I.. -DHAVE_CTL_INTERPRETER=0 -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -std=c++14 -c -o applyCtl.o applyCtl.cpp make[1]: Leaving directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' make[1]: Entering directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -I.. -DHAVE_CTL_INTERPRETER=0 -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -std=c++14 -c -o ImageView.o ImageView.cpp make[1]: Leaving directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' ImageView.cpp: In function 'float {anonymous}::knee(double, double)': ImageView.cpp:545:44: warning: 'static T Imath_3_1::Math::log(T) [with T = double]' is deprecated: use std::math functions [-Wdeprecated-declarations] 545 | return float (IMATH::Math::log (x * f + 1) / f); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from ImageView.cpp:45: /usr/include/Imath/ImathMath.h:85:14: note: declared here 85 | static T log (T x) { return std::log (x); } | ^~~ ImageView.cpp: In constructor '{anonymous}::Gamma::Gamma(float, float, float, float, float)': ImageView.cpp:598:32: warning: 'static T Imath_3_1::Math::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Wdeprecated-declarations] 598 | m (IMATH::Math::pow (2, exposure + 2.47393)), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Imath/ImathMath.h:103:14: note: declared here 103 | static T pow (T x, T y) { return std::pow (x, y); } | ^~~ ImageView.cpp:600:33: warning: 'static T Imath_3_1::Math::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Wdeprecated-declarations] 600 | kl (IMATH::Math::pow (2, kneeLow)), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/Imath/ImathMath.h:103:14: note: declared here 103 | static T pow (T x, T y) { return std::pow (x, y); } | ^~~ ImageView.cpp:601:43: warning: 'static T Imath_3_1::Math::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Wdeprecated-declarations] 601 | f (findKneeF (IMATH::Math::pow (2, kneeHigh) - kl, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/Imath/ImathMath.h:103:14: note: declared here 103 | static T pow (T x, T y) { return std::pow (x, y); } | ^~~ ImageView.cpp:602:43: warning: 'static T Imath_3_1::Math::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Wdeprecated-declarations] 602 | IMATH::Math::pow (2, 3.5) - kl)), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /usr/include/Imath/ImathMath.h:103:14: note: declared here 103 | static T pow (T x, T y) { return std::pow (x, y); } | ^~~ ImageView.cpp:603:54: warning: 'static T Imath_3_1::Math::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Wdeprecated-declarations] 603 | s (255.0 * IMATH::Math::pow (2, -3.5 * g)) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/Imath/ImathMath.h:103:14: note: declared here 103 | static T pow (T x, T y) { return std::pow (x, y); } | ^~~ ImageView.cpp: In member function 'float {anonymous}::Gamma::operator()(half)': ImageView.cpp:633:33: warning: 'static T Imath_3_1::Math::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Wdeprecated-declarations] 633 | x = IMATH::Math::pow (x, g); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/Imath/ImathMath.h:103:14: note: declared here 103 | static T pow (T x, T y) { return std::pow (x, y); } | ^~~ make[1]: Entering directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -I.. -DHAVE_CTL_INTERPRETER=0 -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -std=c++14 -c -o main.o main.cpp make[1]: Leaving directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' make[1]: Entering directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' g++ -DHAVE_CONFIG_H -I. -I../config -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -I.. -DHAVE_CTL_INTERPRETER=0 -I/usr/include/OpenEXR -pthread -I/usr/include/Imath -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -std=c++14 -c -o loadImage.o loadImage.cpp make[1]: Leaving directory '/builddir/build/BUILD/openexr_viewers-2.3.0/exrdisplay' loadImage.cpp: In function 'void {anonymous}::loadDeepTileImage(Imf_3_1::MultiPartInputFile&, int, int&, Imf_3_1::Header&, Imf_3_1::Array&, Imf_3_1::Array&, Imf_3_1::Array&, bool)': loadImage.cpp:871:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 871 | for(int s=1; s