Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xloadimage.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667636152.202574/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g9ch9jcp:/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.g9ch9jcp:/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', '64539cfd0c274d669b9fa74f8c70007f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667636152.202574/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g9ch9jcp:/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/xloadimage.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=1658534400 Wrote: /builddir/build/SRPMS/xloadimage-4.1-33.fc38.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/xloadimage.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667636152.202574/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g9ch9jcp:/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.g9ch9jcp:/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', '6dc80cbe14fd4b09af62dc0d508bd4f5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667636152.202574/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g9ch9jcp:/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/xloadimage.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y7O8tH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xloadimage.4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xloadimage.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xloadimage.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (01_libjpeg-support.dpatch): + echo 'Patch #0 (01_libjpeg-support.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in patching file config.h.in patching file configure patching file configure.in patching file configure.scan patching file fbm.c patching file image.h patching file imagetypes.c patching file imagetypes.h patching file img.c patching file install-sh patching file jpeg.c patching file misc.c patching file niff.c patching file pbm.c patching file rlelib.c patching file sunraster.c patching file tiff.c patching file uufilter.c patching file vff.c patching file window.c patching file xbitmap.c patching file xloadimage.c Patch #1 (02_png-support.dpatch): + echo 'Patch #1 (02_png-support.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in patching file bright.c patching file compress.c patching file config.c patching file config.h.in patching file configure patching file configure.in patching file image.h patching file imagetypes.h patching file new.c patching file niff.c patching file options.c patching file png.c patching file send.c patching file vff.c patching file vicar.c patching file window.c patching file xloadimage.c patching file xloadimagerc Patch #2 (03_security-strfoo.dpatch): + echo 'Patch #2 (03_security-strfoo.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.c patching file faces.c patching file imagetypes.c patching file options.c patching file packtar.c Patch #3 (04_previous-image.dpatch): + echo 'Patch #3 (04_previous-image.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xloadimage.c Patch #4 (05_idelay-manpage.dpatch): + echo 'Patch #4 (05_idelay-manpage.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xloadimage.man Patch #5 (06_-Wall-cleanup.dpatch): + echo 'Patch #5 (06_-Wall-cleanup.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file bright.c patching file cmuwmraster.c patching file compress.c patching file copyright.h patching file faces.c patching file fbm.c patching file gif.c patching file gif.h patching file halftone.c patching file image.h patching file imagetypes.c patching file imagetypes.h patching file img.c patching file kljcpyrght.h patching file mcidas.c patching file misc.c patching file misc.h patching file mit.cpyrght patching file new.c patching file niff.c patching file options.c patching file options.h patching file pcx.c patching file pdsuncomp.c patching file reduce.c patching file rle.c patching file rle.h patching file rlelib.c patching file rlelib.h patching file root.c patching file rotate.c patching file send.c patching file sunraster.c patching file tgncpyrght.h patching file tiff.c patching file uufilter.c patching file vff.c patching file vicar.c patching file window.c patching file xbitmap.c patching file xloadimage.c patching file xloadimage.h patching file xpixmap.c patching file xwd.c patching file zoom.c Patch #6 (07_SYSPATHFILE.dpatch): + echo 'Patch #6 (07_SYSPATHFILE.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in Patch #7 (08_manpage-config-path.dpatch): + echo 'Patch #7 (08_manpage-config-path.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xloadimage.man Patch #8 (09_xloadimagerc-path.dpatch): + echo 'Patch #8 (09_xloadimagerc-path.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xloadimagerc Patch #9 (10_config.c-HOME-fix.dpatch): + echo 'Patch #9 (10_config.c-HOME-fix.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.c Patch #10 (11_fork-implies-quiet.dpatch): + echo 'Patch #10 (11_fork-implies-quiet.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file options.c Patch #11 (12_fix-tile.dpatch): + echo 'Patch #11 (12_fix-tile.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file merge.c + echo 'Patch #12 (13_varargs-is-obsolete.dpatch):' Patch #12 (13_varargs-is-obsolete.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file rlelib.c Patch #13 (14_errno-not-extern.dpatch): + echo 'Patch #13 (14_errno-not-extern.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.c patching file imagetypes.c patching file img.c patching file packtar.c patching file window.c Patch #14 (15_CAN-2005-0638.dpatch): + echo 'Patch #14 (15_CAN-2005-0638.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file zio.c Patch #15 (16_CAN-2005-0639.dpatch): + echo 'Patch #15 (16_CAN-2005-0639.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file new.c Hunk #1 succeeded at 66 (offset 3 lines). Hunk #2 succeeded at 143 (offset 3 lines). Hunk #3 succeeded at 164 (offset 3 lines). Hunk #4 succeeded at 180 (offset 3 lines). Patch #16 (17_security-sprintf.dpatch): + echo 'Patch #16 (17_security-sprintf.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file mcidas.c patching file reduce.c patching file rotate.c patching file tiff.c patching file window.c patching file zio.c patching file zoom.c Patch #17 (18_manpage_fixes.dpatch): + echo 'Patch #17 (18_manpage_fixes.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file uufilter.man patching file xloadimage.man Hunk #2 succeeded at 171 (offset -3 lines). Hunk #3 succeeded at 195 (offset -3 lines). Patch #18 (19_fix_root_c_resource_leak.dpatch): + echo 'Patch #18 (19_fix_root_c_resource_leak.dpatch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file root.c Patch #19 (xloadimage-4.1-ignore-dummy-copyright-variables.patch): + echo 'Patch #19 (xloadimage-4.1-ignore-dummy-copyright-variables.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file copyright.h patching file kljcpyrght.h Patch #20 (xloadimage-4.1-bracketfix.patch): + echo 'Patch #20 (xloadimage-4.1-bracketfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jpeg.c Patch #21 (xloadimage-4.1-png-pkg-config.patch): + echo 'Patch #21 (xloadimage-4.1-png-pkg-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .png-pkg-config --fuzz=0 patching file configure.in patching file configure patching file Makefile.in Patch #22 (xloadimage-4.1-libtiff4.patch): + echo 'Patch #22 (xloadimage-4.1-libtiff4.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .tiff4 --fuzz=0 patching file tiff.c Patch #23 (xloadimage-4.1-png-1.5.patch): + echo 'Patch #23 (xloadimage-4.1-png-1.5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .png15 --fuzz=0 patching file png.c Patch #24 (xloadimage-4.1-fix-mem-leak.patch): + echo 'Patch #24 (xloadimage-4.1-fix-mem-leak.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-mem-leak --fuzz=0 patching file new.c Patch #25 (xloadimage-4.1-sub-second-delay.patch): + echo 'Patch #25 (xloadimage-4.1-sub-second-delay.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sub-second-delay --fuzz=0 patching file options.c patching file options.h patching file window.c + chmod +x configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4MGqPB + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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 -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 -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 -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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xloadimage.4.1 + 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 -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 -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 -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 -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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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-05 08:17:26.122774351 +0000 +++ ./configure 2022-11-05 08:17:26.157774453 +0000 @@ -1566,7 +1566,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 ++ grep -q runstatedir=DIR ./configure + ./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 configure: WARNING: unrecognized options: --disable-dependency-tracking 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 how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes 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 malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for main in -lm... yes checking for main in -lz... yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for PNG... yes checking for main in -ljpeg... yes checking for main in -ltiff... yes checking return type of signal handlers... void checking for select... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j2 Makefile:33: warning: ignoring prerequisites on suffix rule definition 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" bright.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" clip.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" cmuwmraster.c cmuwmraster.c: In function 'cmuwmLoad': cmuwmraster.c:111:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 111 | (int) header.depth); | ^ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" compress.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" config.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" dither.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" faces.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" fbm.c faces.c: In function 'facesLoad': faces.c:86:8: warning: type of 'verbose' defaults to 'int' [-Wimplicit-int] 86 | Image *facesLoad(fullname, name, verbose) | ^~~~~~~~~ faces.c:145:3: warning: '__strncat_chk' output may be truncated copying between 0 and 8191 bytes from a string of length 8191 [-Wstringop-truncation] 145 | strncat(fname, lname, BUFSIZ - strlen(fname) -1); | ^ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" fill.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" gif.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" halftone.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" imagetypes.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" img.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" jpeg.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" mac.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" mc_tables.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" mcidas.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" merge.c mcidas.c: In function 'babble': mcidas.c:66:44: warning: '%d' directive output may be truncated writing between 1 and 8 bytes into a region of size between 6 and 17 [-Wformat-truncation=] 66 | snprintf(buf, 29, "%d:%2.2d:%2.2d %s %d, %d (day %d)", | ^~ In function 'convert_date', inlined from 'babble' at mcidas.c:97:3: mcidas.c:66:21: note: directive argument in the range [-2145483, 2149383] 66 | snprintf(buf, 29, "%d:%2.2d:%2.2d %s %d, %d (day %d)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mcidas.c:66:21: note: directive argument in the range [-999, 999] In file included from /usr/include/stdio.h:906, from xloadimage.h:10, from mcidas.c:7: In function 'snprintf', inlined from 'convert_date' at mcidas.c:66:3, inlined from 'babble' at mcidas.c:97:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 22 or more bytes (assuming 43) into a destination of size 29 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" misc.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" new.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" niff.c In file included from niff.c:11: niff.c: In function 'niffDump': image.h:194:31: warning: right-hand operand of comma expression has no effect [-Wunused-value] 194 | ((*((byte *)(PTR) + 3)) = ((unsigned int)(VAL) & 0xff)))))) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ niff.c:207:3: note: in expansion of macro 'valToMem' 207 | valToMem(NIFF_MAGIC, header.magic, 4); | ^~~~~~~~ image.h:194:31: warning: right-hand operand of comma expression has no effect [-Wunused-value] 194 | ((*((byte *)(PTR) + 3)) = ((unsigned int)(VAL) & 0xff)))))) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ niff.c:208:3: note: in expansion of macro 'valToMem' 208 | valToMem(NIFF_VERSION, header.version, 4); | ^~~~~~~~ image.h:194:31: warning: right-hand operand of comma expression has no effect [-Wunused-value] 194 | ((*((byte *)(PTR) + 3)) = ((unsigned int)(VAL) & 0xff)))))) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ niff.c:225:5: note: in expansion of macro 'valToMem' 225 | valToMem(0, header.cmap_size, 4); | ^~~~~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" options.c options.c: In function 'getFloat': options.c:427:14: warning: type of 'type' defaults to 'int' [-Wimplicit-int] 427 | static float getFloat(type, s) | ^~~~~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" pbm.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" pcx.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" pdsuncomp.c In file included from pcx.c:31: tgncpyrght.h:26:14: warning: 'TGNCopyright' defined but not used [-Wunused-variable] 26 | static char *TGNCopyright = "Copyright (C) 1991 Tim Northrup"; | ^~~~~~~~~~~~ pdsuncomp.c: In function 'read_var': pdsuncomp.c:355:23: warning: variable 'nlen' set but not used [-Wunused-but-set-variable] 355 | int length,result,nlen; | ^~~~ pdsuncomp.c:355:16: warning: variable 'result' set but not used [-Wunused-but-set-variable] 355 | int length,result,nlen; | ^~~~~~ pdsuncomp.c: At top level: pdsuncomp.c:277:17: warning: 'free_node' defined but not used [-Wunused-function] 277 | static long int free_node(pnode,total_free) | ^~~~~~~~~ In function 'decompress', inlined from 'pdsRead.part.0' at pdsuncomp.c:430:14: pdsuncomp.c:310:23: warning: array subscript 'long int[0]' is partly outside array bounds of 'int[1]' [-Warray-bounds] 310 | char *olim = obuf + *nout; /* end of output buffer */ | ^~~~~ pdsuncomp.c: In function 'pdsRead.part.0': pdsuncomp.c:421:14: note: object 'out_length.1' of size 4 421 | static int out_length= 2048, out_ptr= 0; | ^~~~~~~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" reduce.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" rle.c reduce.c: In function 'reduce': reduce.c:514:28: warning: variable 'count' set but not used [-Wunused-but-set-variable] 514 | long red, green, blue, count, pixel; | ^~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" rlelib.c rlelib.c: In function 'RunSkipBlankLines': rlelib.c:426:1: warning: type of 'nblank' defaults to 'int' [-Wimplicit-int] 426 | RunSkipBlankLines(nblank, globals) | ^~~~~~~~~~~~~~~~~ rlelib.c: In function 'RunSetColor': rlelib.c:437:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] 437 | RunSetColor(c, globals) | ^~~~~~~~~~~ rlelib.c: In function 'RunSkipPixels': rlelib.c:449:1: warning: type of 'nskip' defaults to 'int' [-Wimplicit-int] 449 | RunSkipPixels(nskip, last, wasrun, globals) | ^~~~~~~~~~~~~ rlelib.c:449:1: warning: type of 'last' defaults to 'int' [-Wimplicit-int] rlelib.c:449:1: warning: type of 'wasrun' defaults to 'int' [-Wimplicit-int] rlelib.c: In function 'RunNewScanLine': rlelib.c:460:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] 460 | RunNewScanLine(flag, globals) | ^~~~~~~~~~~~~~ rlelib.c: In function 'Runputdata': rlelib.c:470:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] 470 | Runputdata(buf, n, globals) | ^~~~~~~~~~ rlelib.c: In function 'Runputrun': rlelib.c:483:1: warning: type of 'color' defaults to 'int' [-Wimplicit-int] 483 | Runputrun(color, n, last, globals) | ^~~~~~~~~ rlelib.c:483:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] rlelib.c:483:1: warning: type of 'last' defaults to 'int' [-Wimplicit-int] rlelib.c: In function 'dithermap': rlelib.c:1389:1: warning: type of 'levels' defaults to 'int' [-Wimplicit-int] 1389 | dithermap( levels, gamma, rgbmap, divN, modN, magic ) | ^~~~~~~~~ rlelib.c: In function 'bwdithermap': rlelib.c:1449:1: warning: type of 'levels' defaults to 'int' [-Wimplicit-int] 1449 | bwdithermap( levels, gamma, bwmap, divN, modN, magic ) | ^~~~~~~~~~~ rlelib.c: In function 'dithergb': rlelib.c:1672:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int] 1672 | int dithergb( x, y, r, g, b, levels, divN, modN, magic ) | ^~~~~~~~ rlelib.c:1672:5: warning: type of 'y' defaults to 'int' [-Wimplicit-int] rlelib.c:1672:5: warning: type of 'r' defaults to 'int' [-Wimplicit-int] rlelib.c:1672:5: warning: type of 'g' defaults to 'int' [-Wimplicit-int] rlelib.c:1672:5: warning: type of 'b' defaults to 'int' [-Wimplicit-int] rlelib.c:1672:5: warning: type of 'levels' defaults to 'int' [-Wimplicit-int] rlelib.c: In function 'ditherbw': rlelib.c:1702:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int] 1702 | int ditherbw( x, y, val, divN, modN, magic ) | ^~~~~~~~ rlelib.c:1702:5: warning: type of 'y' defaults to 'int' [-Wimplicit-int] rlelib.c:1702:5: warning: type of 'val' defaults to 'int' [-Wimplicit-int] 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" root.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" rotate.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" send.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" smooth.c smooth.c: In function 'smooth': smooth.c:75:8: warning: type of 'iterations' defaults to 'int' [-Wimplicit-int] 75 | Image *smooth(image, iterations, verbose) | ^~~~~~ send.c: In function 'imageToXImage': send.c:103:17: warning: variable 'gcv' set but not used [-Wunused-but-set-variable] 103 | XGCValues gcv; | ^~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" sunraster.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" tiff.c tiff.c: In function 'tiffIdent': tiff.c:225:5: warning: type of 'fullname' defaults to 'int' [-Wimplicit-int] 225 | int tiffIdent(fullname, name) | ^~~~~~~~~ tiff.c:225:5: warning: type of 'name' defaults to 'int' [-Wimplicit-int] In file included from tiff.c:8: tiff.c: In function 'tiffDump': image.h:190:44: warning: right-hand operand of comma expression has no effect [-Wunused-value] 190 | ((*((byte *)(PTR) + 1)) = ((unsigned int)(VAL) & 0xff))) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiff.c:590:9: note: in expansion of macro 'valToMem' 590 | valToMem(0, &red[y], 2); | ^~~~~~~~ image.h:190:44: warning: right-hand operand of comma expression has no effect [-Wunused-value] 190 | ((*((byte *)(PTR) + 1)) = ((unsigned int)(VAL) & 0xff))) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiff.c:591:9: note: in expansion of macro 'valToMem' 591 | valToMem(0, &green[y], 2); | ^~~~~~~~ image.h:190:44: warning: right-hand operand of comma expression has no effect [-Wunused-value] 190 | ((*((byte *)(PTR) + 1)) = ((unsigned int)(VAL) & 0xff))) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiff.c:592:9: note: in expansion of macro 'valToMem' 592 | valToMem(0, &blue[y], 2); | ^~~~~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" undither.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" value.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" vff.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" vicar.c vicar.c: In function 'vicarIdent': vicar.c:46:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | fscanf(fp,"%6s",IDENT); | ^~~~~~~~~~~~~~~~~~~~~~ vicar.c:59:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | fscanf(fp,"%c",&c); | ^~~~~~~~~~~~~~~~~~ vicar.c:61:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | fscanf(fp,"%d",&label[i++]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" window.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" xbitmap.c In file included from xbitmap.c:15: mit.cpyrght:25:14: warning: 'MitCopyright' defined but not used [-Wunused-variable] 25 | static char *MitCopyright= | ^~~~~~~~~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" xloadimage.c xloadimage.c: In function 'doProcessOnImage': xloadimage.c:46:15: warning: type of 'verbose' defaults to 'int' [-Wimplicit-int] 46 | static Image *doProcessOnImage(image, option, verbose) | ^~~~~~~~~~~~~~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" xpixmap.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" xwd.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" zio.c zio.c: In function 'zopen': zio.c:236:20: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 236 | lfree (fname); | ^~~~~ | | | char * In file included from zio.c:14: image.h:268:31: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 268 | void lfree _ArgProto((byte *area)); | ~~~~~~^~~~ image.h:26:25: note: in definition of macro '_ArgProto' 26 | #define _ArgProto(ARGS) ARGS | ^~~~ 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" zoom.c 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" png.c zoom.c: In function 'zoom': zoom.c:64:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 64 | if (verbose) | ^~ zoom.c:66:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 66 | snprintf(buf, BUFSIZ - 1, "%s (Y zoom %d%%)", oimage->title, yzoom); | ^~~~~~~~ png.c: In function 'pngInfo': png.c:134:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'png_uint_32' {aka 'unsigned int'} [-Wformat=] 134 | printf("%s is %ldx%ld PNG image, color type %s, %d bit", | ~~^ | | | long int | %d 135 | filename, width, height, pngColor(color_type), bit_depth); | ~~~~~ | | | png_uint_32 {aka unsigned int} png.c:134:23: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'png_uint_32' {aka 'unsigned int'} [-Wformat=] 134 | printf("%s is %ldx%ld PNG image, color type %s, %d bit", | ~~^ | | | long int | %d 135 | filename, width, height, pngColor(color_type), bit_depth); | ~~~~~~ | | | png_uint_32 {aka unsigned int} 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" uufilter.c -o uufilter ./build-info 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libpng16 -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" build.c uufilter.c: In function 'main': uufilter.c:55:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 55 | exit(1); | ^~~~ uufilter.c:15:1: note: include '' or provide a declaration of 'exit' 14 | #include +++ |+#include 15 | uufilter.c:55:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 55 | exit(1); | ^~~~ uufilter.c:55:7: note: include '' or provide a declaration of 'exit' uufilter.c:69:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 69 | exit(1); | ^~~~ uufilter.c:69:5: note: include '' or provide a declaration of 'exit' uufilter.c:79:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 79 | exit(1); | ^~~~ uufilter.c:79:9: note: include '' or provide a declaration of 'exit' uufilter.c:87:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 87 | exit(1); | ^~~~ uufilter.c:87:7: note: include '' or provide a declaration of 'exit' uufilter.c:215:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 215 | exit(0); | ^~~~ uufilter.c:215:3: note: include '' or provide a declaration of 'exit' gcc -o xloadimage bright.o clip.o cmuwmraster.o compress.o config.o dither.o faces.o fbm.o fill.o gif.o halftone.o imagetypes.o img.o jpeg.o mac.o mc_tables.o mcidas.o merge.o misc.o new.o niff.o options.o pbm.o pcx.o pdsuncomp.o reduce.o rle.o rlelib.o root.o rotate.o send.o smooth.o sunraster.o tiff.o undither.o value.o vff.o vicar.o window.o xbitmap.o xloadimage.o xpixmap.o xwd.o zio.o zoom.o png.o build.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lX11 -ltiff -ljpeg -lz -lm -lpng16 -lz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HSg2G7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64 + 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 -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 -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 -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 -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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xloadimage.4.1 + mkdir -p /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/bin + install -m 0755 uufilter /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/bin + install -m 0755 xloadimage /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/bin + pushd /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/bin ~/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/bin ~/build/BUILD/xloadimage.4.1 + ln -s xloadimage xsetbg + ln -s xloadimage xview + popd ~/build/BUILD/xloadimage.4.1 + mkdir -p /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/etc/X11/ + install -m 0644 xloadimagerc /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/etc/X11/Xloadimage + mkdir -p /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/man/man1/ + install -m 0644 xloadimage.man /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/man/man1/xloadimage.1x + install -m 0644 uufilter.man /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/man/man1/uufilter.1x + cp -a /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/man/man1/xloadimage.1x /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/man/man1/xsetbg.1x + cp -a /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/man/man1/xloadimage.1x /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/man/man1/xview.1x + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.1-33.fc38 --unique-debug-suffix -4.1-33.fc38.x86_64 --unique-debug-src-base xloadimage-4.1-33.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xloadimage.4.1 extracting debug info from /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/bin/uufilter extracting debug info from /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/bin/xloadimage original debug info size: 748kB, size after compression: 660kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 986 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xloadimage-4.1-33.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HrOXvi + umask 022 + cd /builddir/build/BUILD + cd xloadimage.4.1 + DOCDIR=/builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/doc/xloadimage + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/doc/xloadimage + cp -pr README /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/doc/xloadimage + cp -pr mit.cpyrght /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64/usr/share/doc/xloadimage + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(xloadimage) = 4.1-33.fc38 xloadimage = 4.1-33.fc38 xloadimage(x86-64) = 4.1-33.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) rtld(GNU_HASH) Processing files: xloadimage-debugsource-4.1-33.fc38.x86_64 Provides: xloadimage-debugsource = 4.1-33.fc38 xloadimage-debugsource(x86-64) = 4.1-33.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xloadimage-debuginfo-4.1-33.fc38.x86_64 Provides: debuginfo(build-id) = 14accd366d509cdad5a36b2935a6242af150ce0f debuginfo(build-id) = a6877b008cdc57724500d86659b7fab56e361dbd xloadimage-debuginfo = 4.1-33.fc38 xloadimage-debuginfo(x86-64) = 4.1-33.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xloadimage-debugsource(x86-64) = 4.1-33.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64 Wrote: /builddir/build/RPMS/xloadimage-debuginfo-4.1-33.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/xloadimage-debugsource-4.1-33.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/xloadimage-4.1-33.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mWrvsS + umask 022 + cd /builddir/build/BUILD + cd xloadimage.4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xloadimage-4.1-33.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ggsmxO + umask 022 + cd /builddir/build/BUILD + rm -rf xloadimage.4.1 xloadimage.4.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0