Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/jp2a.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1668200468.509961/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ib2uy2hl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ib2uy2hl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '03eb2605d28b4fa4af0607a632439fb1', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1668200468.509961/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ib2uy2hl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/jp2a.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1497657600 Wrote: /builddir/build/SRPMS/jp2a-1.0.7-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/jp2a.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1668200468.509961/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ib2uy2hl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ib2uy2hl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a495633699bd41c98cbf68bfc3b668f4', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1668200468.509961/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ib2uy2hl:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/jp2a.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1497657600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XAdr7W + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jp2a-1.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/jp2a-1.0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jp2a-1.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf -vi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:12: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hBPd2t + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.7 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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 2022-11-11 21:02:34.225271291 +0000 +++ ./configure 2022-11-11 21:02:34.791272649 +0000 @@ -1846,7 +1846,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 + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 --with-jpeg-prefix=/usr 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-redhat-linux-gnu-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for jpeg_start_decompress in -ljpeg... yes checking enable-curl... yes checking for curl-config... /usr/bin/curl-config checking curl-config --cflags... checking curl-config --libs... -lcurl checking for curl_easy_init in -lcurl... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking term.h usability... no checking term.h presence... no checking for term.h... no checking ncurses/term.h usability... no checking ncurses/term.h presence... no checking for ncurses/term.h... no checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... no checking for tgetent in -lterminfo... no configure: WARNING: probably need a terminal library, one of: ncurses curses termlib termcap terminfo checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for size_t... yes checking for memset... yes checking for atexit... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for pid_t... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o aspect_ratio.o aspect_ratio.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o html.o html.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o term.o term.c term.c: In function 'get_termsize': term.c:51:13: warning: unused variable 'i' [-Wunused-variable] 51 | int i; | ^ term.c:50:14: warning: unused variable 'term_buffer' [-Wunused-variable] 50 | char term_buffer[2048]; | ^~~~~~~~~~~ term.c:49:15: warning: unused variable 'termtype' [-Wunused-variable] 49 | char *termtype = getenv("TERM"); | ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o curl.o curl.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o jp2a.o jp2a.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o options.o options.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o image.o image.c image.c:65:13: warning: 'image_resize_nearest_neighbour' defined but not used [-Wunused-function] 65 | static void image_resize_nearest_neighbour(const image_t* source, image_t* dest) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/usr/lib -o jp2a aspect_ratio.o html.o term.o curl.o jp2a.o options.o image.o -ljpeg -lcurl make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BNsEks + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64 + cd jp2a-1.0.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/bin' /usr/bin/install -p jp2a '/builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[1]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[1]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 man/jp2a.1 '/builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7' make[1]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0.7-1.el9 --unique-debug-suffix -1.0.7-1.el9.x86_64 --unique-debug-src-base jp2a-1.0.7-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/jp2a-1.0.7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/bin/jp2a extracting debug info from /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/bin/jp2a original debug info size: 100kB, size after compression: 96kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 58 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tGgg7S + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.7 + make -j2 check make all-recursive make[1]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7' Making check in src make[1]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' Making all in src make[1]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7' make[1]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7' make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7' make[1]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7' cd tests/; make check make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/tests' ./run-tests.sh ------------------------------------------------------------- TESTING JP2A BUILD Note that the output may vary a bit on different platforms, so some tests may fail. This does not mean that jp2a is completely broken. ------------------------------------------------------------- test ( 1) (width) FAILED test ( 2) (border, width) FAILED test ( 3) (size) ./run-tests.sh: line 53: 1834 Floating point exception(core dumped) ../src/jp2a --size=160x49 jp2a.jpg FAILED test ( 4) (height) FAILED test ( 5) (size) FAILED test ( 6) (size) FAILED test ( 7) (invert, border) ./run-tests.sh: line 53: 1846 Floating point exception(core dumped) ../src/jp2a -i -b --width=110 --height=30 jp2a.jpg FAILED test ( 8) (width, flip, invert) FAILED test ( 9) (width, border) FAILED test (10) (width, verbose) FAILED test (11) (width, outfile) FAILED test (12) (width, clear) FAILED test (13) (height, grayscale) FAILED test (14) (size, invert) FAILED test (15) (size, invert, red channel) FAILED test (16) (size, invert, blue channel) FAILED test (17) (size, invert, green channel) FAILED test (18) (width, grayscale) FAILED test (19) (invert, width, grayscale) FAILED test (20) (invert, size, grayscale) FAILED test (21) (size, invert, border) FAILED test (22) (color) FAILED test (23) (color, grayscale) FAILED test (24) (standard input, width) FAILED test (25) (standard input, width, height) FAILED test (26) (big size) OK TEST RESULTS FOR JP2A Tests OK : 1 of 26 ( 3%) Tests FAILED: 25 of 26 ( 96%) Summary of failed tests: ../src/jp2a --width=78 jp2a.jpg | diff --strip-trailing-cr --brief - normal.txt ../src/jp2a -b --width=78 jp2a.jpg | diff --strip-trailing-cr --brief - normal-b.txt ../src/jp2a --size=160x49 jp2a.jpg | diff --strip-trailing-cr --brief - 160x49.txt ../src/jp2a --height=10 jp2a.jpg | diff --strip-trailing-cr --brief - 10h.txt ../src/jp2a --size=40x40 jp2a.jpg | diff --strip-trailing-cr --brief - 40x40.txt ../src/jp2a --size=1x1 --invert jp2a.jpg | diff --strip-trailing-cr --brief - 1x1-inv.txt ../src/jp2a -i -b --width=110 --height=30 jp2a.jpg | diff --strip-trailing-cr --brief - 110x30-i-b.txt ../src/jp2a --width=78 --flipx --flipy --invert jp2a.jpg | diff --strip-trailing-cr --brief - flip-xy-invert.txt ../src/jp2a --width=78 -b jp2a.jpg jp2a.jpg | diff --strip-trailing-cr --brief - 2xnormal-b.txt ../src/jp2a --verbose --width=78 jp2a.jpg 2>&1 | tr -d ' ' | diff --strip-trailing-cr --brief - normal-verbose.txt ../src/jp2a --width=78 jp2a.jpg --output=/tmp/jp2a-test-xUyyfK && cat /tmp/jp2a-test-xUyyfK | diff --strip-trailing-cr --brief - normal.txt ../src/jp2a --width=78 jp2a.jpg --clear | diff --strip-trailing-cr --brief - normal-clear.txt ../src/jp2a logo-40x25-gray.jpg --height=30 | diff --strip-trailing-cr --brief - logo-30.txt ../src/jp2a grind.jpg -i --size=80x30 | diff --strip-trailing-cr --brief - grind.txt ../src/jp2a grind.jpg -i --size=80x30 --red=1.0 --green=0.0 --blue=0.0 | diff --strip-trailing-cr --brief - grind-red.txt ../src/jp2a grind.jpg -i --size=80x30 --red=0.0 --green=1.0 --blue=0.0 | diff --strip-trailing-cr --brief - grind-green.txt ../src/jp2a grind.jpg -i --size=80x30 --red=0.0 --green=0.0 --blue=1.0 | diff --strip-trailing-cr --brief - grind-blue.txt ../src/jp2a --width=78 dalsnuten-640x480-gray-low.jpg | diff --strip-trailing-cr --brief - dalsnuten-normal.txt ../src/jp2a --invert --width=78 dalsnuten-640x480-gray-low.jpg | diff --strip-trailing-cr --brief - dalsnuten-invert.txt ../src/jp2a --invert --size=80x49 dalsnuten-640x480-gray-low.jpg | diff --strip-trailing-cr --brief - dalsnuten-80x49-inv.txt ../src/jp2a dalsnuten-640x480-gray-low.jpg --size=80x25 --invert --border --size=150x45 | diff --strip-trailing-cr --brief - dalsnuten-640x480-gray-low.txt ../src/jp2a grind.jpg --color --width=60 | diff --strip-trailing-cr --brief - grind-color.txt ../src/jp2a dalsnuten-640x480-gray-low.jpg --color --width=78 | diff --strip-trailing-cr --brief - dalsnuten-color.txt ../src/jp2a 2>/dev/null ; cat jp2a.jpg | ../src/jp2a --width=78 - | diff --strip-trailing-cr --brief - normal.txt ../src/jp2a 2>/dev/null ; cat jp2a.jpg | ../src/jp2a - --width=40 --height=40 | diff --strip-trailing-cr --brief - 40x40.txt make[1]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/tests' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: jp2a-1.0.7-1.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.c6QAHK + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.7 + DOCDIR=/builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/doc/jp2a + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/doc/jp2a + cp -pr LICENSES /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/doc/jp2a + cp -pr AUTHORS /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/doc/jp2a + cp -pr BUGS /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/doc/jp2a + cp -pr ChangeLog /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/doc/jp2a + cp -pr NEWS /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/doc/jp2a + cp -pr README /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/doc/jp2a + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vIhZZt + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.7 + LICENSEDIR=/builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/licenses/jp2a + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/licenses/jp2a + cp -pr COPYING /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64/usr/share/licenses/jp2a + RPM_EC=0 ++ jobs -p + exit 0 Provides: jp2a = 1.0.7-1.el9 jp2a(x86-64) = 1.0.7-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcurl.so.4()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) rtld(GNU_HASH) Processing files: jp2a-debugsource-1.0.7-1.el9.x86_64 Provides: jp2a-debugsource = 1.0.7-1.el9 jp2a-debugsource(x86-64) = 1.0.7-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jp2a-debuginfo-1.0.7-1.el9.x86_64 Provides: debuginfo(build-id) = d45afc198f29976974a3c04a9dc7a541c401476a jp2a-debuginfo = 1.0.7-1.el9 jp2a-debuginfo(x86-64) = 1.0.7-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jp2a-debugsource(x86-64) = 1.0.7-1.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64 Wrote: /builddir/build/RPMS/jp2a-1.0.7-1.el9.x86_64.rpm Wrote: /builddir/build/RPMS/jp2a-debuginfo-1.0.7-1.el9.x86_64.rpm Wrote: /builddir/build/RPMS/jp2a-debugsource-1.0.7-1.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HLfCqt + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jp2a-1.0.7-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0