Mock Version: 1.4.19 Mock Version: 1.4.19 Mock Version: 1.4.19 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/srelay.spec'], chrootPath='/var/lib/mock/1039892-fedora-31-ppc64le-1569418287.762345/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/srelay.spec'], chrootPath='/var/lib/mock/1039892-fedora-31-ppc64le-1569418287.762345/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ca37031364354f758bbea6b5f9bf0c3a', '-D', '/var/lib/mock/1039892-fedora-31-ppc64le-1569418287.762345/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ca37031364354f758bbea6b5f9bf0c3a', '-D', '/var/lib/mock/1039892-fedora-31-ppc64le-1569418287.762345/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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': 'en_US.UTF-8'} and shell False warning: Macro expanded in comment on line 14: %{name} warning: Macro expanded in comment on line 14: %{name} warning: Macro expanded in comment on line 15: %{name} && git checkout %{commit}) warning: Macro expanded in comment on line 15: %{name} && git checkout %{commit}) warning: Macro expanded in comment on line 16: %{name}-g%{commit}.tar.gz %{name} warning: Macro expanded in comment on line 16: %{name}-g%{commit}.tar.gz %{name} Building target platforms: ppc64le Building target platforms: ppc64le Building for target ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1549497600 setting SOURCE_DATE_EPOCH=1549497600 Wrote: /builddir/build/SRPMS/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.src.rpm Wrote: /builddir/build/SRPMS/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/srelay.spec'], chrootPath='/var/lib/mock/1039892-fedora-31-ppc64le-1569418287.762345/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/srelay.spec'], chrootPath='/var/lib/mock/1039892-fedora-31-ppc64le-1569418287.762345/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf'] Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4f6687ee2e2640e6af5967c73cbde37e', '-D', '/var/lib/mock/1039892-fedora-31-ppc64le-1569418287.762345/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4f6687ee2e2640e6af5967c73cbde37e', '-D', '/var/lib/mock/1039892-fedora-31-ppc64le-1569418287.762345/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb54whm8:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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': 'en_US.UTF-8'} and shell False warning: Macro expanded in comment on line 14: %{name} warning: Macro expanded in comment on line 14: %{name} warning: Macro expanded in comment on line 15: %{name} && git checkout %{commit}) warning: Macro expanded in comment on line 15: %{name} && git checkout %{commit}) warning: Macro expanded in comment on line 16: %{name}-g%{commit}.tar.gz %{name} warning: Macro expanded in comment on line 16: %{name}-g%{commit}.tar.gz %{name} Building target platforms: ppc64le Building target platforms: ppc64le Building for target ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1549497600 setting SOURCE_DATE_EPOCH=1549497600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.veM8vv Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.veM8vv + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf srelay + rm -rf srelay + /usr/bin/gzip -dc /builddir/build/SOURCES/srelay-g688764bf967775a8d8fe41715fec083a86600bec.tar.gz + /usr/bin/gzip -dc /builddir/build/SOURCES/srelay-g688764bf967775a8d8fe41715fec083a86600bec.tar.gz + /usr/bin/tar -xof - + /usr/bin/tar -xof - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd srelay + cd srelay + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (srelay-0.4.8-no_extra_warnings.patch):' + echo 'Patch #0 (srelay-0.4.8-no_extra_warnings.patch):' 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 -p1 -b --suffix .no_extra_warnings --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_extra_warnings --fuzz=0 patching file configure.in patching file configure.in + echo 'Patch #1 (0001-report-error-reason-on-failure-to-bind-to-listen-soc.patch):' + echo 'Patch #1 (0001-report-error-reason-on-failure-to-bind-to-listen-soc.patch):' Patch #1 (0001-report-error-reason-on-failure-to-bind-to-listen-soc.patch): Patch #1 (0001-report-error-reason-on-failure-to-bind-to-listen-soc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .report_error --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .report_error --fuzz=0 patching file main.c patching file main.c + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8QAcrw Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8QAcrw + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd srelay + cd srelay + autoconf + autoconf + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + export LDFLAGS + '[' 1 = 1 ']' + '[' 1 = 1 ']' +++ dirname ./configure +++ dirname ./configure ++ find . -name config.guess -o -name config.sub ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub + /usr/bin/rm -f ./config.sub ++ basename ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/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) + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess + /usr/bin/rm -f ./config.guess ++ basename ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ find . -name ltmain.sh + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... powerpc64le-redhat-linux-gnu checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking target system type... powerpc64le-redhat-linux-gnu checking target system type... powerpc64le-redhat-linux-gnu checking for powerpc64le-redhat-linux-gnu-gcc... no checking for powerpc64le-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for gcc... gcc checking whether the C compiler works... yes checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for C compiler default output file name... a.out checking for suffix of executables... checking for suffix of executables... checking whether we are cross compiling... no checking whether we are cross compiling... no checking for suffix of object files... o checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C89... none needed checking pthread.h usability... yes checking pthread.h usability... yes checking pthread.h presence... no checking pthread.h presence... no configure: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: pthread.h: proceeding with the compiler's result configure: WARNING: pthread.h: proceeding with the compiler's result checking for pthread.h... yes checking for pthread.h... yes checking whether enabling thread... yes checking whether enabling thread... yes checking for crypt in -lcrypt... yes checking for crypt in -lcrypt... yes checking for ANSI C header files... no checking for ANSI C header files... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h usability... yes checking fcntl.h presence... no checking fcntl.h presence... no configure: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: fcntl.h: proceeding with the compiler's result configure: WARNING: fcntl.h: proceeding with the compiler's result checking for fcntl.h... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h usability... yes checking sys/time.h presence... no checking sys/time.h presence... no configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/time.h: proceeding with the compiler's result configure: WARNING: sys/time.h: proceeding with the compiler's result checking for sys/time.h... yes checking for sys/time.h... yes checking limits.h usability... yes checking limits.h usability... yes checking limits.h presence... no checking limits.h presence... no configure: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: limits.h: proceeding with the compiler's result configure: WARNING: limits.h: proceeding with the compiler's result checking for limits.h... yes checking for limits.h... yes checking syslog.h usability... yes checking syslog.h usability... yes checking syslog.h presence... no checking syslog.h presence... no configure: WARNING: syslog.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: syslog.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: syslog.h: proceeding with the compiler's result configure: WARNING: syslog.h: proceeding with the compiler's result checking for syslog.h... yes checking for syslog.h... yes checking unistd.h usability... yes checking unistd.h usability... yes checking unistd.h presence... no checking unistd.h presence... no configure: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: unistd.h: proceeding with the compiler's result configure: WARNING: unistd.h: proceeding with the compiler's result checking for unistd.h... yes checking for unistd.h... yes checking sys/resource.h usability... yes checking sys/resource.h usability... yes checking sys/resource.h presence... no checking sys/resource.h presence... no configure: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/resource.h: proceeding with the compiler's result configure: WARNING: sys/resource.h: proceeding with the compiler's result checking for sys/resource.h... yes checking for sys/resource.h... yes checking for socklen_t... yes checking for socklen_t... yes checking for u_int8_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int32_t... yes checking for uint8_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint32_t... yes checking whether time.h and sys/time.h may both be included... 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_dl.sdl_family... no checking for struct sockaddr.sa_len... no checking for struct sockaddr.sa_len... no checking return type of signal handlers... void checking return type of signal handlers... void checking for select... yes checking for select... yes checking for socket... yes checking for socket... yes checking for getaddrinfo... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for getnameinfo... yes checking for freeaddrinfo... yes checking for freeaddrinfo... yes configure: creating ./config.status configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile config.status: creating config.h config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j2 + make -j2 gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c init.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c init.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c readconf.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c readconf.c init.c: In function 'serv_init': 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] 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)); 128 | strncpy(tmp_str_serv_sock, hbuf, sizeof(hbuf)); | ^ | ^ readconf.c: In function 'readconf': readconf.c: In function 'readconf': readconf.c:97:20: warning: variable 'px' set but not used [-Wunused-but-set-variable] readconf.c:97:20: warning: variable 'px' set but not used [-Wunused-but-set-variable] 97 | int i, px; 97 | int i, px; | ^~ | ^~ 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] 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)); 136 | strncat(tmp_str_serv_sock, sbuf, sizeof(sbuf)); | ^ | ^ readconf.c: In function 'getpasswd': readconf.c: In function 'getpasswd': readconf.c:492:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] readconf.c:492:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] 492 | setuid(0); 492 | setuid(0); | ^~~~~~~~~ | ^~~~~~~~~ readconf.c:494:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] readconf.c:494:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] 494 | setreuid(-1, PROCUID); 494 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, In file included from /usr/include/string.h:494, from srelay.h:44, from srelay.h:44, from readconf.c:35: from readconf.c:35: In function 'strncpy', In function 'strncpy', inlined from 'str_to_addr' at readconf.c:374:7: inlined from 'str_to_addr' at readconf.c:374:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c: In function 'str_to_addr': readconf.c: In function 'str_to_addr': readconf.c:372:16: note: length computed here readconf.c:372:16: note: length computed here 372 | if ((len = strlen(addr)) > 0 && len < 256) { 372 | if ((len = strlen(addr)) > 0 && len < 256) { | ^~~~~~~~~~~~ | ^~~~~~~~~~~~ gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c util.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c util.c In file included from /usr/include/string.h:494, In file included from /usr/include/string.h:494, from srelay.h:44, from srelay.h:44, from readconf.c:35: from readconf.c:35: In function 'strncpy', In function 'strncpy', inlined from 'getpasswd' at readconf.c:547:5: inlined from 'getpasswd' at readconf.c:547:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c: In function 'getpasswd': readconf.c: In function 'getpasswd': readconf.c:539:20: note: length computed here readconf.c:539:20: note: length computed here 539 | tok = p; len = strlen(tok); 539 | tok = p; len = strlen(tok); | ^~~~~~~~~~~ | ^~~~~~~~~~~ In file included from /usr/include/string.h:494, In file included from /usr/include/string.h:494, from srelay.h:44, from srelay.h:44, from readconf.c:35: from readconf.c:35: In function 'strncpy', In function 'strncpy', inlined from 'getpasswd' at readconf.c:565:5: inlined from 'getpasswd' at readconf.c:565:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readconf.c: In function 'getpasswd': readconf.c: In function 'getpasswd': readconf.c:558:20: note: length computed here readconf.c:558:20: note: length computed here 558 | tok = p; len = strlen(tok); 558 | tok = p; len = strlen(tok); | ^~~~~~~~~~~ | ^~~~~~~~~~~ util.c: In function 'cleanup': util.c: In function 'cleanup': util.c:280:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] util.c:280:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] 280 | setuid(0); 280 | setuid(0); | ^~~~~~~~~ | ^~~~~~~~~ util.c:282:5: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] util.c:282:5: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] 282 | setreuid(-1, PROCUID); 282 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c socks.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c socks.c socks.c: In function 'connect_to_http': socks.c: In function 'connect_to_http': socks.c:1125:10: warning: variable 'error' set but not used [-Wunused-but-set-variable] socks.c:1125:10: warning: variable 'error' set but not used [-Wunused-but-set-variable] 1125 | int error; 1125 | int error; | ^~~~~ | ^~~~~ socks.c: In function 'do_bindtodevice': socks.c: In function 'do_bindtodevice': socks.c:1380:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] socks.c:1380:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] 1380 | setuid(0); 1380 | setuid(0); | ^~~~~~~~~ | ^~~~~~~~~ socks.c:1383:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] socks.c:1383:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] 1383 | setreuid(PROCUID, -1); 1383 | setreuid(PROCUID, -1); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ socks.c: In function 'do_bind': socks.c: In function 'do_bind': socks.c:1362:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] socks.c:1362:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] 1362 | setuid(0); 1362 | setuid(0); | ^~~~~~~~~ | ^~~~~~~~~ socks.c:1364:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] socks.c:1364:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] 1364 | setreuid(PROCUID, -1); 1364 | setreuid(PROCUID, -1); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, In file included from /usr/include/string.h:494, from srelay.h:44, from srelay.h:44, from socks.c:35: from socks.c:35: In function 'strncpy', In function 'strncpy', inlined from 'do_bindtodevice' at socks.c:1379:3: inlined from 'do_bindtodevice' at socks.c:1379:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c relay.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c relay.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c main.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c main.c socks.c: In function 'connect_to_http': 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=] 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" 1145 | snprintf(buf, sizeof(buf), "CONNECT %s:%s HTTP/1.1\r\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1146 | "Host: %s:%s\r\n", 1146 | "Host: %s:%s\r\n", 1147 | hinfo.host, hinfo.port, hinfo.host, hinfo.port); 1147 | hinfo.host, hinfo.port, hinfo.host, hinfo.port); | ~~~~~~~~~~ | ~~~~~~~~~~ socks.c:1146:12: note: format string is defined here socks.c:1146:12: note: format string is defined here 1146 | "Host: %s:%s\r\n", 1146 | "Host: %s:%s\r\n", | ^~ | ^~ In file included from /usr/include/stdio.h:867, In file included from /usr/include/stdio.h:867, from srelay.h:35, from srelay.h:35, from socks.c:35: from socks.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 30 and 2140 bytes into a destination of size 2048 /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 30 and 2140 bytes into a destination of size 2048 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, In file included from /usr/include/string.h:494, from srelay.h:44, from srelay.h:44, from socks.c:35: from socks.c:35: In function 'strncat', In function 'strncat', inlined from 'connect_to_http' at socks.c:1154:5: inlined from 'connect_to_http' at socks.c:1154:5: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks.c: In function 'connect_to_http': socks.c: In function 'connect_to_http': socks.c:1154:5: note: length computed here socks.c:1154:5: note: length computed here 1154 | strncat(authhead, b64, strlen(b64)); 1154 | strncat(authhead, b64, strlen(b64)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, In file included from /usr/include/string.h:494, from srelay.h:44, from srelay.h:44, from socks.c:35: from socks.c:35: In function 'strncat', In function 'strncat', inlined from 'connect_to_http' at socks.c:1156:5: inlined from 'connect_to_http' at socks.c:1156:5: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks.c: In function 'connect_to_http': socks.c: In function 'connect_to_http': socks.c:1156:5: note: length computed here socks.c:1156:5: note: length computed here 1156 | strncat(buf, authhead, strlen(authhead)); 1156 | strncat(buf, authhead, strlen(authhead)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c: In function 'main': main.c:709:5: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] main.c:709:5: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] 709 | fchown(fileno(fp), PROCUID, PROCGID); 709 | fchown(fileno(fp), PROCUID, PROCGID); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:734:5: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] main.c:734:5: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] 734 | setregid(-1, PROCGID); 734 | setregid(-1, PROCGID); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ main.c:735:5: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] main.c:735:5: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] 735 | setreuid(-1, PROCUID); 735 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ main.c:754:5: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] main.c:754:5: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] 754 | setregid(-1, PROCGID); 754 | setregid(-1, PROCGID); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ main.c:755:5: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] main.c:755:5: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] 755 | setreuid(-1, PROCUID); 755 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c auth-pwd.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c auth-pwd.c auth-pwd.c: In function 'checkpasswd': 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] auth-pwd.c:212:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] 212 | setuid(0); 212 | setuid(0); | ^~~~~~~~~ | ^~~~~~~~~ auth-pwd.c:220:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] auth-pwd.c:220:3: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] 220 | setreuid(-1, PROCUID); 220 | setreuid(-1, PROCUID); | ^~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~~ gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -c get-bind.c gcc -I. -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -pthread -o srelay 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 -pthread -o srelay + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Qo138s Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Qo138s + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le '!=' / ']' + '[' /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le + rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le ++ dirname /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le ++ dirname /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le + mkdir /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le + cd srelay + cd srelay + rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le + rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le + install -d /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/bin + install -d /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/bin + install -p -m755 srelay /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/bin + install -p -m755 srelay /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/bin + install -d /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/man/man8 + install -d /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/man/man8 + install -p -m644 srelay.8 /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/man/man8 + install -p -m644 srelay.8 /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/man/man8 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.4.8p3-0.20181224.git688764b.fc31.3sunshine --unique-debug-suffix -0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le --unique-debug-src-base srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/srelay + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.4.8p3-0.20181224.git688764b.fc31.3sunshine --unique-debug-suffix -0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le --unique-debug-src-base srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/srelay explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/bin/srelay explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/bin/srelay extracting debug info from /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/bin/srelay extracting debug info from /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/bin/srelay original debug info size: 256kB, size after compression: 256kB original debug info size: 256kB, size after compression: 256kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 269 blocks 269 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le Processing files: srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8SdKgv Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8SdKgv + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd srelay + cd srelay + DOCDIR=/builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + DOCDIR=/builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export DOCDIR + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + /usr/bin/mkdir -p /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + cp -pr README /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + cp -pr README /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + cp -pr Changes /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + cp -pr Changes /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + cp -pr srelay.conf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + cp -pr srelay.conf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + cp -pr srelay.passwd /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + cp -pr srelay.passwd /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le/usr/share/doc/srelay + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Provides: srelay = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine srelay(ppc-64) = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine Provides: srelay = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine srelay(ppc-64) = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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.17)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) rtld(GNU_HASH) Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: srelay-debugsource-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le Processing files: srelay-debugsource-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le Provides: srelay-debugsource = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine srelay-debugsource(ppc-64) = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine Provides: srelay-debugsource = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine srelay-debugsource(ppc-64) = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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.20181224.git688764b.fc31.3sunshine.ppc64le Processing files: srelay-debuginfo-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le Provides: debuginfo(build-id) = 755d5f60755831f5beb7b4da0e63786a5b0b4f55 srelay-debuginfo = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine srelay-debuginfo(ppc-64) = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine Provides: debuginfo(build-id) = 755d5f60755831f5beb7b4da0e63786a5b0b4f55 srelay-debuginfo = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine srelay-debuginfo(ppc-64) = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: srelay-debugsource(ppc-64) = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine Recommends: srelay-debugsource(ppc-64) = 0.4.8p3-0.20181224.git688764b.fc31.3sunshine Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le Wrote: /builddir/build/RPMS/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le.rpm Wrote: /builddir/build/RPMS/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le.rpm Wrote: /builddir/build/RPMS/srelay-debugsource-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le.rpm Wrote: /builddir/build/RPMS/srelay-debugsource-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le.rpm Wrote: /builddir/build/RPMS/srelay-debuginfo-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le.rpm Wrote: /builddir/build/RPMS/srelay-debuginfo-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BIBclx Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BIBclx + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd srelay + cd srelay + /usr/bin/rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le + /usr/bin/rm -rf /builddir/build/BUILDROOT/srelay-0.4.8p3-0.20181224.git688764b.fc31.3sunshine.ppc64le + RPM_EC=0 + RPM_EC=0 ++ jobs -p ++ jobs -p + exit 0 + exit 0 Child return code was: 0 Child return code was: 0