Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/srelay.spec'], chrootPath='/var/lib/mock/fedora-35-i686-1638402021.735339/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.bsluwlnn:/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.bsluwlnn:/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', '8fceddd98efd4308b573ceee9d328e7c', '-D', '/var/lib/mock/fedora-35-i686-1638402021.735339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bsluwlnn:/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 i686 --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'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1592438400 Wrote: /builddir/build/SRPMS/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/srelay.spec'], chrootPath='/var/lib/mock/fedora-35-i686-1638402021.735339/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.bsluwlnn:/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.bsluwlnn:/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', '5390e2c0b7864bf28881b26569553443', '-D', '/var/lib/mock/fedora-35-i686-1638402021.735339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bsluwlnn:/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 i686 --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'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1592438400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pNeLV0 + 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 . + echo 'Patch #0 (srelay-0.4.8-no_extra_warnings.patch):' Patch #0 (srelay-0.4.8-no_extra_warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no_extra_warnings --fuzz=0 patching file configure.in + echo 'Patch #1 (srelay-linux-arm.patch):' Patch #1 (srelay-linux-arm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arm --fuzz=0 patching file configure patching file configure.in + echo 'Patch #2 (srelay-man.patch):' Patch #2 (srelay-man.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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.wOgVAO + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/lib: + 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 2021-12-01 23:41:32.206845085 +0000 +++ ./configure 2021-12-01 23:41:32.228845316 +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=i686-redhat-linux-gnu --host=i686-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/lib --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... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for i686-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -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)); | ^ readconf.c: In function 'readconf': readconf.c:97:20: warning: variable 'px' set but not used [-Wunused-but-set-variable] 97 | int i, px; | ^~ readconf.c: In function 'getpasswd': readconf.c:492:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 492 | setuid(0); | ^~~~~~~~~ readconf.c:494:3: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -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); | ^~~~~~~~~~~ util.c: In function 'cleanup': util.c:280:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 280 | setuid(0); | ^~~~~~~~~ util.c:282:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 282 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -c socks.c socks.c: In function 'connect_to_http': socks.c:1125:10: warning: variable 'error' set but not used [-Wunused-but-set-variable] 1125 | int error; | ^~~~~ socks.c: In function 'do_bindtodevice': socks.c:1380:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1380 | setuid(0); | ^~~~~~~~~ socks.c:1383:3: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1383 | setreuid(PROCUID, -1); | ^~~~~~~~~~~~~~~~~~~~~ socks.c: In function 'do_bind': socks.c:1362:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1362 | setuid(0); | ^~~~~~~~~ socks.c:1364:3: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1364 | setreuid(PROCUID, -1); | ^~~~~~~~~~~~~~~~~~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -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:135:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __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:135:10: warning: '__strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ socks.c: In function 'connect_to_http': socks.c:1156:5: note: length computed here 1156 | strncat(buf, authhead, strlen(authhead)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:709:5: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] 709 | fchown(fileno(fp), PROCUID, PROCGID); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:734:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 734 | setregid(-1, PROCGID); | ^~~~~~~~~~~~~~~~~~~~~ main.c:735:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 735 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ main.c:754:5: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 754 | setregid(-1, PROCGID); | ^~~~~~~~~~~~~~~~~~~~~ main.c:755:5: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 755 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -c auth-pwd.c auth-pwd.c: In function 'checkpasswd': auth-pwd.c:212:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 212 | setuid(0); | ^~~~~~~~~ auth-pwd.c:220:3: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 220 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -Wall -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:135:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | 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:135:10: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | 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.VsYZK9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 ++ dirname /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 + cd srelay + rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 + install -d /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/bin + install -p -m755 srelay /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/bin + install -d /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/share/man/man8 + install -p -m644 srelay.8 /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/share/man/man8 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.4.8p3-0.20190209.git3149960.fc35.7sunshine --unique-debug-suffix -0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 --unique-debug-src-base srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/srelay extracting debug info from /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/bin/srelay original debug info size: 172kB, size after compression: 152kB /usr/bin/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.puNJDE + umask 022 + cd /builddir/build/BUILD + cd srelay + DOCDIR=/builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/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.fc35.7sunshine.i386/usr/share/doc/srelay + cp -pr README /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/share/doc/srelay + cp -pr Changes /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/share/doc/srelay + cp -pr srelay.conf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/share/doc/srelay + cp -pr srelay.passwd /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386/usr/share/doc/srelay + RPM_EC=0 ++ jobs -p + exit 0 Provides: srelay = 0.4.8p3-0.20190209.git3149960.fc35.7sunshine srelay(x86-32) = 0.4.8p3-0.20190209.git3149960.fc35.7sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libcrypt.so.2 libcrypt.so.2(XCRYPT_2.0) rtld(GNU_HASH) Processing files: srelay-debugsource-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i686 Provides: srelay-debugsource = 0.4.8p3-0.20190209.git3149960.fc35.7sunshine srelay-debugsource(x86-32) = 0.4.8p3-0.20190209.git3149960.fc35.7sunshine 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.fc35.7sunshine.i686 Provides: debuginfo(build-id) = e3edb4044beda10b7c6b2d2d2bac321e0182990c srelay-debuginfo = 0.4.8p3-0.20190209.git3149960.fc35.7sunshine srelay-debuginfo(x86-32) = 0.4.8p3-0.20190209.git3149960.fc35.7sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: srelay-debugsource(x86-32) = 0.4.8p3-0.20190209.git3149960.fc35.7sunshine Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 Wrote: /builddir/build/RPMS/srelay-debuginfo-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i686.rpm Wrote: /builddir/build/RPMS/srelay-debugsource-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i686.rpm Wrote: /builddir/build/RPMS/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.clrkzP + umask 022 + cd /builddir/build/BUILD + cd srelay + /usr/bin/rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20190209.git3149960.fc35.7sunshine.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0