Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/srelay.spec'], chrootPath='/var/lib/mock/rhel-9-x86_64-1681996741.604858/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q32em06o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.q32em06o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '7852ff1bc14744ffb292d4470379acbb', '-D', '/var/lib/mock/rhel-9-x86_64-1681996741.604858/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q32em06o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/srelay.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=1681948800 Wrote: /builddir/build/SRPMS/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.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/srelay.spec'], chrootPath='/var/lib/mock/rhel-9-x86_64-1681996741.604858/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q32em06o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.q32em06o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'a4c1edaaabc34342bf599fa51ec0c389', '-D', '/var/lib/mock/rhel-9-x86_64-1681996741.604858/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q32em06o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/srelay.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=1681948800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VOv82N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf srelay + /usr/bin/gzip -dc /builddir/build/SOURCES/srelay-g3149960f8acc8a87adac6722138d06527bb71230.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd srelay + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (srelay-linux-arm-s390.patch): + echo 'Patch #1 (srelay-linux-arm-s390.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .arm --fuzz=0 patching file configure patching file configure.in Patch #2 (srelay-man.patch): + echo 'Patch #2 (srelay-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man --fuzz=0 patching file srelay.8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cCnQ3G + umask 022 + cd /builddir/build/BUILD + cd srelay + autoconf + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-04-20 13:20:21.135754484 +0000 +++ ./configure 2023-04-20 13:20:21.150754638 +0000 @@ -1849,7 +1849,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 + 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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --without-libwrap configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu 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 pthread.h usability... yes checking pthread.h presence... no configure: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: pthread.h: proceeding with the compiler's result checking for pthread.h... yes checking whether enabling thread... yes checking for crypt in -lcrypt... yes checking for ANSI C header files... no checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... no configure: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: fcntl.h: proceeding with the compiler's result checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... no configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/time.h: proceeding with the compiler's result checking for sys/time.h... yes checking limits.h usability... yes checking limits.h presence... no configure: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: limits.h: proceeding with the compiler's result checking for limits.h... yes checking syslog.h usability... yes checking syslog.h presence... no configure: WARNING: syslog.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: syslog.h: proceeding with the compiler's result checking for syslog.h... yes checking unistd.h usability... yes checking unistd.h presence... no configure: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: unistd.h: proceeding with the compiler's result checking for unistd.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... no configure: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/resource.h: proceeding with the compiler's result checking for sys/resource.h... yes checking for socklen_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking whether time.h and sys/time.h may both be included... yes checking for struct sockaddr_dl.sdl_family... no checking for struct sockaddr.sa_len... no checking return type of signal handlers... void checking for select... yes checking for socket... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for freeaddrinfo... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j2 gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -c init.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -c readconf.c init.c: In function 'serv_init': init.c:128:44: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 128 | strncpy(tmp_str_serv_sock, hbuf, sizeof(hbuf)); | ^ init.c:136:44: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 136 | strncat(tmp_str_serv_sock, sbuf, sizeof(sbuf)); | ^ In file included from /usr/include/string.h:519, from srelay.h:44, from readconf.c:35: In function 'strncpy', inlined from 'str_to_addr' at readconf.c:374:7: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c: In function 'str_to_addr': readconf.c:372:16: note: length computed here 372 | if ((len = strlen(addr)) > 0 && len < 256) { | ^~~~~~~~~~~~ gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -c util.c In file included from /usr/include/string.h:519, from srelay.h:44, from readconf.c:35: In function 'strncpy', inlined from 'getpasswd' at readconf.c:547:5: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c: In function 'getpasswd': readconf.c:539:20: note: length computed here 539 | tok = p; len = strlen(tok); | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from srelay.h:44, from readconf.c:35: In function 'strncpy', inlined from 'getpasswd' at readconf.c:565:5: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c: In function 'getpasswd': readconf.c:558:20: note: length computed here 558 | tok = p; len = strlen(tok); | ^~~~~~~~~~~ gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -c socks.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -c relay.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -c main.c socks.c: In function 'connect_to_http': socks.c:1145:30: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 967 and 2022 [-Wformat-truncation=] 1145 | snprintf(buf, sizeof(buf), "CONNECT %s:%s HTTP/1.1\r\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1146 | "Host: %s:%s\r\n", 1147 | hinfo.host, hinfo.port, hinfo.host, hinfo.port); | ~~~~~~~~~~ socks.c:1146:19: note: format string is defined here 1146 | "Host: %s:%s\r\n", | ^~ In file included from /usr/include/stdio.h:888, from srelay.h:35, from socks.c:35: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 30 and 2140 bytes into a destination of size 2048 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from srelay.h:44, from socks.c:35: In function 'strncat', inlined from 'connect_to_http' at socks.c:1154:5: /usr/include/bits/string_fortified.h:138:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ socks.c: In function 'connect_to_http': socks.c:1154:5: note: length computed here 1154 | strncat(authhead, b64, strlen(b64)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from srelay.h:44, from socks.c:35: In function 'strncat', inlined from 'connect_to_http' at socks.c:1156:5: /usr/include/bits/string_fortified.h:138:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ socks.c: In function 'connect_to_http': socks.c:1156:5: note: length computed here 1156 | strncat(buf, authhead, strlen(authhead)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -c auth-pwd.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -Wno-unused-result -Wno-unused-but-set-variable -c get-bind.c gcc init.o readconf.o util.o socks.o relay.o main.o auth-pwd.o get-bind.o -lcrypt -L/usr/local/lib -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 -pthread -o srelay In function 'strncat', inlined from 'connect_to_http' at socks.c:1154:5: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^ socks.c: In function 'connect_to_http': socks.c:1154:5: note: length computed here 1154 | strncat(authhead, b64, strlen(b64)); | ^ In function 'strncat', inlined from 'connect_to_http' at socks.c:1156:5: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^ socks.c: In function 'connect_to_http': socks.c:1156:5: note: length computed here 1156 | strncat(buf, authhead, strlen(authhead)); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9rV8H5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 ++ dirname /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 + cd srelay + rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 + install -d /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/bin + install -p -m755 srelay /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/bin + install -d /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/share/man/man8 + install -p -m644 srelay.8 /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.4.8p3-0.20190209.git3149960.el9.9sunshine --unique-debug-suffix -0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 --unique-debug-src-base srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/srelay explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/bin/srelay extracting debug info from /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/bin/srelay original debug info size: 204kB, size after compression: 188kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 269 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0tgcPm + umask 022 + cd /builddir/build/BUILD + cd srelay + DOCDIR=/builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/share/doc/srelay + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/share/doc/srelay + cp -pr README /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/share/doc/srelay + cp -pr Changes /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/share/doc/srelay + cp -pr srelay.conf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/share/doc/srelay + cp -pr srelay.passwd /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64/usr/share/doc/srelay + RPM_EC=0 ++ jobs -p + exit 0 Provides: srelay = 0.4.8p3-0.20190209.git3149960.el9.9sunshine srelay(x86-64) = 0.4.8p3-0.20190209.git3149960.el9.9sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) rtld(GNU_HASH) Processing files: srelay-debugsource-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 Provides: srelay-debugsource = 0.4.8p3-0.20190209.git3149960.el9.9sunshine srelay-debugsource(x86-64) = 0.4.8p3-0.20190209.git3149960.el9.9sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: srelay-debuginfo-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 Provides: debuginfo(build-id) = 01d455f578aed6a0e4604e44508f2478de2d54b4 srelay-debuginfo = 0.4.8p3-0.20190209.git3149960.el9.9sunshine srelay-debuginfo(x86-64) = 0.4.8p3-0.20190209.git3149960.el9.9sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: srelay-debugsource(x86-64) = 0.4.8p3-0.20190209.git3149960.el9.9sunshine Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 Wrote: /builddir/build/RPMS/srelay-debuginfo-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64.rpm Wrote: /builddir/build/RPMS/srelay-debugsource-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64.rpm Wrote: /builddir/build/RPMS/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Jekbtc + umask 022 + cd /builddir/build/BUILD + cd srelay + /usr/bin/rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.el9.9sunshine.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0