Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/up-imapproxy.spec'], chrootPath='/var/lib/mock/f42-build-55262804-6534186/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1mpezhv0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1mpezhv0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '8d7b5e802ff94f46a5d4bc2e84d39cb3', '-D', '/var/lib/mock/f42-build-55262804-6534186/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1mpezhv0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/up-imapproxy.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/up-imapproxy-1.2.8-0.30.20171022svn14722.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/up-imapproxy.spec'], chrootPath='/var/lib/mock/f42-build-55262804-6534186/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1mpezhv0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1mpezhv0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '76fbd19e57404cb081195c87ec86d519', '-D', '/var/lib/mock/f42-build-55262804-6534186/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1mpezhv0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/up-imapproxy.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ugl6LE + umask 022 + cd /builddir/build/BUILD/up-imapproxy-1.2.8-build + test -d /builddir/build/BUILD/up-imapproxy-1.2.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/up-imapproxy-1.2.8-build + /usr/bin/rm -rf /builddir/build/BUILD/up-imapproxy-1.2.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/up-imapproxy-1.2.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/up-imapproxy-1.2.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o5JWyw + umask 022 + cd /builddir/build/BUILD/up-imapproxy-1.2.8-build + cd /builddir/build/BUILD/up-imapproxy-1.2.8-build + rm -rf squirrelmail-imap_proxy-1.2.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/squirrelmail-imap_proxy-20171022svn14722.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd squirrelmail-imap_proxy-1.2.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (up-imapproxy-aarch64.patch): + echo 'Patch #0 (up-imapproxy-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.guess patching file config.sub Patch #1 (up-imapproxy-ssl.patch): + echo 'Patch #1 (up-imapproxy-ssl.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/imapcommon.c patching file src/main.c Patch #2 (up-imapproxy-configure-c99.patch): + echo 'Patch #2 (up-imapproxy-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure Patch #3 (up-imapproxy-c99.patch): + echo 'Patch #3 (up-imapproxy-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/imapproxy.h + sed -i -e 's/ *$//' -e 's!/usr/share/ssl!/etc/pki/tls!' -e 's/^\(proc_username\) .*/\1 imapproxy/' -e 's/^\(proc_groupname\) .*/\1 imapproxy/' -e 's!^#*\(chroot_directory\) .*!\1 /var/lib/imapproxy!' -e 's/^\(foreground_mode\) .*/\1 yes/' scripts/imapproxy.conf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dyNbRx + umask 022 + cd /builddir/build/BUILD/up-imapproxy-1.2.8-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 squirrelmail-imap_proxy-1.2.8 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 --- ./configure.backup 2024-11-28 09:23:08.593254653 +0000 +++ ./configure 2024-11-28 09:23:08.609254778 +0000 @@ -2482,7 +2482,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -2885,7 +2885,7 @@ #if defined (__stub_mmap) || defined (__stub___mmap) choke me #else -char (*f) () = mmap; +__attribute__ ((used)) char (*f) () = mmap; #endif #ifdef __cplusplus } @@ -4451,7 +4451,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 + mv ./configure.backup ./configure + /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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 checking whether make sets $(MAKE)... yes checking for aarch64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-redhat-linux-gnu checking for connect... yes checking for pthread_create in -lpthread... yes checking for mmap... yes checking for yp_get_default_domain in -lnsl... no checking for EVP_DigestInit in -lcrypto... configure: WARNING: nsl library not found!!! Wrappers will be disabled. yes checking for SSL_new in -lssl... yes checking for initscr in -lcurses... yes checking how to run the C preprocessor... gcc -E checking for egrep... 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 for unistd.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for typedef nfds_t... yes checking for an ANSI C-conforming const... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for socket... yes checking for poll... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing default commands + '[' -d bin ']' + mkdir bin + make -j12 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/icc.o src/icc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/main.o src/main.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/imapcommon.o src/imapcommon.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/request.o src/request.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/hash.o src/hash.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/becomenonroot.o src/becomenonroot.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/config.o src/config.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/logging.o src/logging.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/threads.o src/threads.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/select.o src/select.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I. -I./include -c -o src/pimpstat.o src/pimpstat.c src/hash.c: In function ‘Hash’: src/hash.c:72:85: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 72 | syslog(LOG_ERR, "Hash(): Maximum of %d for '%s' exceeds architectural limit of %d", Size, Input_Key, sizeof Hash_Buffer ); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld src/threads.c:93:15: warning: ‘id_function’ defined but not used [-Wunused-function] 93 | unsigned long id_function(void) { | ^~~~~~~~~~~ src/threads.c:86:6: warning: ‘locking_function’ defined but not used [-Wunused-function] 86 | void locking_function(int mode, int n, const char *file, int line) { | ^~~~~~~~~~~~~~~~ src/config.c: In function ‘SetConfigOptions’: src/config.c:570:14: warning: the comparison will always evaluate as ‘true’ for the address of ‘Keyword’ will never be NULL [-Waddress] 570 | if ( ! ConfigTable[i].Keyword ) | ^ src/config.c:129:10: note: ‘Keyword’ declared here 129 | char Keyword[MAX_KEYWORD_LEN]; /* The configuration keyword */ | ^~~~~~~ src/request.c: In function ‘cmd_authenticate_login’: src/request.c:720:22: warning: pointer targets in passing argument 1 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 720 | EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); | ^~~~~~~~~~~~~~~ | | | char * In file included from src/request.c:155: /usr/include/openssl/evp.h:875:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ src/request.c:720:39: warning: pointer targets in passing argument 2 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 720 | EVP_EncodeBlock( EncodedUsername, Username, strlen( Username ) ); | ^~~~~~~~ | | | char * /usr/include/openssl/evp.h:875:60: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ src/request.c:769:27: warning: pointer targets in passing argument 1 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 769 | rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 ); | ^~~~~~~~ | | | char * /usr/include/openssl/evp.h:882:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ src/request.c:769:37: warning: pointer targets in passing argument 2 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 769 | rc = EVP_DecodeBlock( Username, EncodedUsername, BytesRead - 2 ); | ^~~~~~~~~~~~~~~ | | | char * /usr/include/openssl/evp.h:882:60: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ src/request.c:777:22: warning: pointer targets in passing argument 1 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 777 | EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) ); | ^~~~~~~~~~~~~~~ | | | char * /usr/include/openssl/evp.h:875:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ src/request.c:777:39: warning: pointer targets in passing argument 2 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 777 | EVP_EncodeBlock( EncodedPassword, Password, strlen( Password ) ); | ^~~~~~~~ | | | char * /usr/include/openssl/evp.h:875:60: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ src/request.c:812:27: warning: pointer targets in passing argument 1 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 812 | rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 ); | ^~~~~~~~ | | | char * /usr/include/openssl/evp.h:882:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ src/request.c:812:37: warning: pointer targets in passing argument 2 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 812 | rc = EVP_DecodeBlock( Password, EncodedPassword, BytesRead - 2 ); | ^~~~~~~~~~~~~~~ | | | char * /usr/include/openssl/evp.h:882:60: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ src/request.c:816:23: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 816 | &sockaddrlen ) < 0 ) | ^~~~~~~~~~~~ | | | int * In file included from src/request.c:140: /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/imapcommon.c: In function ‘Get_Server_conn’: src/request.c: In function ‘cmd_login’: src/imapcommon.c:567:28: warning: pointer targets in passing argument 2 of ‘EVP_DigestFinal’ differ in signedness [-Wpointer-sign] 567 | EVP_DigestFinal(mdctx, md5pw, &md_len); | ^~~~~ | | | char * src/request.c:990:23: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness [-Wpointer-sign] 990 | &sockaddrlen ) < 0 ) | ^~~~~~~~~~~~ | | | int * /usr/include/sys/socket.h:131:47: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from src/imapcommon.c:137: /usr/include/openssl/evp.h:730:60: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 730 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ src/imapcommon.c:986:26: warning: pointer targets in passing argument 1 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 986 | EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 ); | ^~~~~~~~~~~~~~ | | | char * /usr/include/openssl/evp.h:875:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ src/imapcommon.c:986:42: warning: pointer targets in passing argument 2 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 986 | EVP_EncodeBlock( EncodedAuthBuf, AuthBuf, AuthBufIndex + 2 ); | ^~~~~~~ | | | char * /usr/include/openssl/evp.h:875:60: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ src/imapcommon.c:1009:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 1009 | snprintf( SendBuf, BufLen, "A0001 LOGIN %s {%d}\r\n", | ~^ | | | int | %ld 1010 | Username, strlen( Password ) ); | ~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} src/request.c: In function ‘Raw_Proxy’: src/request.c:1293:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1293 | write( Tracefd, TraceBuf, strlen( TraceBuf ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1294:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1294 | write( Tracefd, Server->ReadBuf, status ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1339:21: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1339 | write( Tracefd, TraceBuf, strlen( TraceBuf ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1340:21: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1340 | write( Tracefd, Client->ReadBuf, status ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1501:21: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1501 | write( Tracefd, TraceBuf, strlen( TraceBuf ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1502:21: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1502 | write( Tracefd, Server->ReadBuf, status ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1536:21: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1536 | write( Tracefd, TraceBuf, strlen( TraceBuf ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:1537:21: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1537 | write( Tracefd, Client->ReadBuf, status ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c: In function ‘cmd_trace’: src/request.c:518:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 518 | write( Tracefd, SendBuf, strlen( SendBuf ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/request.c:563:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 563 | write( Tracefd, SendBuf, strlen( SendBuf ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/main.c: In function ‘main’: src/main.c:544:9: warning: ‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 544 | ecdh = EC_KEY_new_by_curve_name( NID_X9_62_prime256v1 ); | ^~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:32, from ./include/imapproxy.h:150, from src/main.c:230: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/main.c:546:9: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 546 | EC_KEY_free( ecdh ); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/main.c:729:28: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 729 | &sockaddrlen ); | ^~~~~~~~~~~~ | | | int * In file included from src/main.c:206: /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/main.c: In function ‘Daemonize’: src/main.c:1062:19: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1062 | close(2); dup(i); | ^~~~~~ src/main.c:1063:19: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1063 | close(1); dup(i); | ^~~~~~ src/main.c:1064:19: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1064 | close(0); dup(i); | ^~~~~~ src/main.c: At top level: src/main.c:192:14: warning: ‘sourceAuthor’ defined but not used [-Wunused-variable] 192 | static char *sourceAuthor = "$Author: pdontthink $"; | ^~~~~~~~~~~~ src/main.c:191:14: warning: ‘sourceVersion’ defined but not used [-Wunused-variable] 191 | static char *sourceVersion = "$Id: main.c 14647 2017-01-27 20:53:57Z pdontthink $"; | ^~~~~~~~~~~~~ src/main.c:190:14: warning: ‘sourceRevision’ defined but not used [-Wunused-variable] 190 | static char *sourceRevision = "$Revision: 14647 $"; | ^~~~~~~~~~~~~~ src/select.c: In function ‘Handle_Select_Command’: src/select.c:177:43: warning: ‘ BAD missing required argume...’ directive output may be truncated writing 50 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 177 | snprintf( Buf, sizeof Buf - 1, "%s BAD missing required argument to SELECT command\r\n", Tag ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from src/select.c:53: In function ‘snprintf’, inlined from ‘Handle_Select_Command’ at src/select.c:177:2: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 51 and 8242 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:68:10: warning: ‘__snprintf_chk’ argument 6 overlaps destination object ‘Buf’ [-Wrestrict] src/select.c: In function ‘Handle_Select_Command’: src/select.c:124:10: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 124 | char Buf[ BUFSIZE ]; | ^~~ src/imapcommon.c: In function ‘Attempt_STARTTLS’: src/imapcommon.c:209:60: warning: ‘%lu’ directive output may be truncated writing between 1 and 20 bytes into a region of size 16 [-Wformat-truncation=] 209 | snprintf(errbuf, sizeof( errbuf ) - 1, "SSL error code %lu", errcode); | ^~~ In function ‘SSLerrmessage’, inlined from ‘Attempt_STARTTLS’ at src/imapcommon.c:478:6: src/imapcommon.c:209:44: note: directive argument in the range [1, 18446744073709551615] 209 | snprintf(errbuf, sizeof( errbuf ) - 1, "SSL error code %lu", errcode); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from src/imapcommon.c:131: In function ‘snprintf’, inlined from ‘SSLerrmessage’ at src/imapcommon.c:209:5, inlined from ‘Attempt_STARTTLS’ at src/imapcommon.c:478:6: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 17 and 36 bytes into a destination of size 31 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o bin/pimpstat ./src/pimpstat.o ./src/config.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 -lcurses src/imapcommon.c: In function ‘Get_Server_conn’: src/imapcommon.c:988:62: warning: ‘%s’ directive output may be truncated writing up to 8191 bytes into a region of size 8166 [-Wformat-truncation=] 988 | snprintf( SendBuf, BufLen, "A0001 AUTHENTICATE PLAIN %s\r\n", EncodedAuthBuf ); | ^~ ~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘Get_Server_conn’ at src/imapcommon.c:988:2: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 28 and 8219 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/request.c: In function ‘HandleRequest’: src/request.c:722:35: warning: ‘%s’ directive output may be truncated writing up to 8191 bytes into a region of size 8189 [-Wformat-truncation=] 722 | snprintf( SendBuf, BufLen, "+ %s\r\n", EncodedUsername ); | ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from /usr/include/openssl/evp.h:22: In function ‘snprintf’, inlined from ‘cmd_authenticate_login’ at src/request.c:722:5, inlined from ‘HandleRequest’ at src/request.c:1840:8: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 5 and 8196 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/request.c: In function ‘HandleRequest’: src/request.c:779:35: warning: ‘%s’ directive output may be truncated writing up to 8191 bytes into a region of size 8189 [-Wformat-truncation=] 779 | snprintf( SendBuf, BufLen, "+ %s\r\n", EncodedPassword ); | ^~ ~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘cmd_authenticate_login’ at src/request.c:779:5, inlined from ‘HandleRequest’ at src/request.c:1840:8: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 5 and 8196 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/request.c: In function ‘HandleRequest’: src/request.c:659:35: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 8191 [-Wformat-truncation=] 659 | snprintf( SendBuf, BufLen, "%s%s OK Completed\r\n",Capability, Tag ); | ^~ ...... 1813 | cmd_capability( &Client, S_Tag ); | ~~~~~ In function ‘snprintf’, inlined from ‘cmd_capability’ at src/request.c:659:5, inlined from ‘HandleRequest’ at src/request.c:1813:6: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 16 and 8462 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o bin/in.imapproxyd ./src/icc.o ./src/main.o ./src/imapcommon.o ./src/request.o ./src/hash.o ./src/becomenonroot.o ./src/config.o ./src/logging.o ./src/threads.o ./src/select.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 -lssl -lcrypto -lpthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EhbKSr + umask 022 + cd /builddir/build/BUILD/up-imapproxy-1.2.8-build + '[' /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT ++ dirname /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT + mkdir -p /builddir/build/BUILD/up-imapproxy-1.2.8-build + mkdir /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 squirrelmail-imap_proxy-1.2.8 + install -D -m 0644 -p scripts/imapproxy.conf /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/etc/imapproxy.conf + install -D -m 0755 -p /builddir/build/SOURCES/imapproxy.service /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/lib/systemd/system/imapproxy.service + install -d -m 0755 /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/sbin + install -D -m 0755 bin/in.imapproxyd bin/pimpstat /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/sbin + install -d -m 0755 /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/var/lib/imapproxy + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 1.2.8-0.30.20171022svn14722.fc42 --unique-debug-suffix -1.2.8-0.30.20171022svn14722.fc42.aarch64 --unique-debug-src-base up-imapproxy-1.2.8-0.30.20171022svn14722.fc42.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/up-imapproxy-1.2.8-build/squirrelmail-imap_proxy-1.2.8 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/up-imapproxy-1.2.8-0.30.20171022svn14722.fc42.aarch64 find-debuginfo: done + /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 *** WARNING: ./usr/lib/systemd/system/imapproxy.service is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT Scanned 19 directories and 20 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/up-imapproxy-1.2.8-build/SPECPARTS/rpm-debuginfo.specpart Processing files: up-imapproxy-1.2.8-0.30.20171022svn14722.fc42.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uFxykq + umask 022 + cd /builddir/build/BUILD/up-imapproxy-1.2.8-build + cd squirrelmail-imap_proxy-1.2.8 + DOCDIR=/builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/share/doc/up-imapproxy + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/share/doc/up-imapproxy + cp -pr /builddir/build/BUILD/up-imapproxy-1.2.8-build/squirrelmail-imap_proxy-1.2.8/COPYING /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/share/doc/up-imapproxy + cp -pr /builddir/build/BUILD/up-imapproxy-1.2.8-build/squirrelmail-imap_proxy-1.2.8/ChangeLog /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/share/doc/up-imapproxy + cp -pr /builddir/build/BUILD/up-imapproxy-1.2.8-build/squirrelmail-imap_proxy-1.2.8/README /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/share/doc/up-imapproxy + cp -pr /builddir/build/BUILD/up-imapproxy-1.2.8-build/squirrelmail-imap_proxy-1.2.8/README.ssl /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/share/doc/up-imapproxy + cp -pr /builddir/build/BUILD/up-imapproxy-1.2.8-build/squirrelmail-imap_proxy-1.2.8/copyright /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT/usr/share/doc/up-imapproxy + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(up-imapproxy) = 1.2.8-0.30.20171022svn14722.fc42 up-imapproxy = 1.2.8-0.30.20171022svn14722.fc42 up-imapproxy(aarch-64) = 1.2.8-0.30.20171022svn14722.fc42 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libncurses.so.6()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: up-imapproxy-debugsource-1.2.8-0.30.20171022svn14722.fc42.aarch64 Provides: up-imapproxy-debugsource = 1.2.8-0.30.20171022svn14722.fc42 up-imapproxy-debugsource(aarch-64) = 1.2.8-0.30.20171022svn14722.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: up-imapproxy-debuginfo-1.2.8-0.30.20171022svn14722.fc42.aarch64 Provides: debuginfo(build-id) = 243ddcebf07aa2e1904db1091e6ca10940f5857a debuginfo(build-id) = de89ec294534e4489fabb6d691c25eed9f65ec93 up-imapproxy-debuginfo = 1.2.8-0.30.20171022svn14722.fc42 up-imapproxy-debuginfo(aarch-64) = 1.2.8-0.30.20171022svn14722.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: up-imapproxy-debugsource(aarch-64) = 1.2.8-0.30.20171022svn14722.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/up-imapproxy-1.2.8-build/BUILDROOT Wrote: /builddir/build/RPMS/up-imapproxy-1.2.8-0.30.20171022svn14722.fc42.aarch64.rpm Wrote: /builddir/build/RPMS/up-imapproxy-debuginfo-1.2.8-0.30.20171022svn14722.fc42.aarch64.rpm Wrote: /builddir/build/RPMS/up-imapproxy-debugsource-1.2.8-0.30.20171022svn14722.fc42.aarch64.rpm Child return code was: 0