Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/scponly.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1672298512.791621/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j30b4nde:/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.j30b4nde:/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', '8b9316a846b147bd8e239d3c83ca1990', '-D', '/var/lib/mock/fedora-rawhide-s390x-1672298512.791621/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j30b4nde:/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 s390x --nodeps /builddir/build/SPECS/scponly.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/scponly-4.8-30.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/scponly.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1672298512.791621/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j30b4nde:/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.j30b4nde:/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', '018103706fae401197e1312ac396600c', '-D', '/var/lib/mock/fedora-rawhide-s390x-1672298512.791621/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j30b4nde:/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 s390x --nodeps /builddir/build/SPECS/scponly.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SS3BRI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scponly-4.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/scponly-4.8.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd scponly-4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (scponly-install.patch):' Patch #0 (scponly-install.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in Patch #1 (scponly-4.8-elif-gcc44.patch): + echo 'Patch #1 (scponly-4.8-elif-gcc44.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file helper.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p4fCHn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scponly-4.8 + cp -p /usr/lib/rpm/redhat/config.guess /usr/lib/rpm/redhat/config.sub . + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2008-01-15 06:26:13.000000000 +0000 +++ ./configure 2022-12-29 07:24:40.106673221 +0000 @@ -5340,7 +5340,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -5522,7 +5522,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.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 ++ grep -q runstatedir=DIR ./configure + ./configure --build=s390x-redhat-linux-gnu --host=s390x-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 --enable-scp-compat --enable-winscp-compat --enable-chrooted-binary checking build system type... s390x-redhat-linux-gnu checking host system type... s390x-redhat-linux-gnu checking for s390x-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for cut... /usr/bin/cut checking for grep... /usr/bin/grep checking for sort... /usr/bin/sort checking for ldd... /usr/bin/ldd checking for useradd... /usr/sbin/useradd checking for chown... /usr/bin/chown checking for chmod... /usr/bin/chmod checking for dirname... /usr/bin/dirname checking for id... /usr/bin/id checking for pw... no checking for rm... /usr/bin/rm checking for pwd_mkdb... no configure: enabling core WinSCP and Vanilla SCP binaries... checking for sftp-server... /usr/libexec/openssh/sftp-server checking for ls... /usr/bin/ls checking for scp... /usr/bin/scp checking for rm... /usr/bin/rm checking for ln... /usr/bin/ln checking for mv... /usr/bin/mv checking for chmod... /usr/bin/chmod checking for chown... /usr/bin/chown checking for chgrp... /usr/bin/chgrp checking for mkdir... /usr/bin/mkdir checking for rmdir... /usr/bin/rmdir configure: enabling WinSCP compatability... checking for pwd... /usr/bin/pwd checking for groups... /usr/bin/groups checking for id... /usr/bin/id checking for echo... /usr/bin/echo configure: enabling SFTP compatability... checking for sftp-server... (cached) /usr/libexec/openssh/sftp-server checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking wordexp.h usability... yes checking wordexp.h presence... yes checking for wordexp.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working alloca.h... yes checking for alloca... yes checking for malloc... yes checking for atexit... yes checking for bzero... yes checking for strchr... yes checking for strerror... yes checking for glob... yes checking for wordexp... yes checking for strspn... yes checking for basename... yes checking for getopt... yes checking whether optreset is declared... no configure: creating ./config.status config.status: creating Makefile config.status: creating setup_chroot.sh config.status: creating config.h + /usr/bin/make -j2 '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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o scponly.o -c scponly.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o helper.o -c helper.c scponly.c:33:1: warning: missing braces around initializer [-Wmissing-braces] 33 | { | ^ scponly.c:145:1: warning: missing braces around initializer [-Wmissing-braces] 145 | { | ^ scponly.c: In function 'main': scponly.c:332:23: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 332 | if (0 == (homedirstat.st_mode | S_IFDIR)) | ^~ scponly.c:305:23: warning: unused variable 'tmprequest' [-Wunused-variable] 305 | char *tmprequest = NULL; | ^~~~~~~~~~ helper.c: In function 'strip_vector': helper.c:86:25: warning: argument to 'sizeof' in 'bzero' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 86 | bzero(dav,sizeof(dav)); | ^ scponly.c:304:24: warning: unused variable 'av' [-Wunused-variable] 304 | char **av = NULL; | ^~ scponly.c: In function 'process_ssh_request': scponly.c:644:32: warning: unused variable 'tenv' [-Wunused-variable] 644 | char **av, **tmp_av, **tenv; | ^~~~ In file included from scponly.c:19: scponly.h: At top level: scponly.h:42:14: warning: inline function 'strend' declared but never defined 42 | inline char *strend (char *, char *); | ^~~~~~ scponly.h:41:14: warning: inline function 'strbeg' declared but never defined 41 | inline char *strbeg (char *, char *); | ^~~~~~ helper.c: In function 'mysetenv': scponly.c: In function 'main': helper.c:565:21: warning: array subscript has type 'char' [-Wchar-subscripts] 565 | if ((safeenv[count] = strdup(buff))) { | ^ scponly.c:226:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | fscanf(debugfile,"%u",&debuglevel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ helper.c:566:25: warning: array subscript has type 'char' [-Wchar-subscripts] 566 | safeenv[++count] = NULL; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o groups groups.c helper.c: In function 'strend': helper.c:455:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 455 | strncpy(tempbuf, big, blen-slen); | ^ helper.c:440:14: note: length computed here 440 | blen=strlen(big); | ^~~~~~~~~~~ helper.c: In function 'get_uservar': helper.c:525:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 525 | strncpy(username,userinfo->pw_name,MAX_USERNAME); | ^ helper.c:526:9: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 526 | strncpy(homedir,userinfo->pw_dir,FILENAME_MAX); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DHAVE_CONFIG_H -DDEBUGFILE='"/etc/scponly/debuglevel"' -o scponly scponly.o helper.o + chmod 0644 scponly.c scponly.h helper.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QBdBA4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x ++ dirname /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scponly-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x + sed -i 's|/usr/local/|/usr/|g' scponly.8 scponly.8.alternate_manpage INSTALL README + make install DESTDIR=/builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x echo "0" > debuglevel /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/bin /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/man/man8 /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/etc/scponly /usr/bin/install -c scponly /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/bin/scponly /usr/bin/install -c -m 0644 scponly.8 /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/man/man8/scponly.8 /usr/bin/install -c -m 0644 debuglevel /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/etc/scponly/debuglevel if test "xscponlyc" != "x"; then \ /usr/bin/install -c -d /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/sbin; \ rm -f /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/sbin/scponlyc; \ cp scponly scponlyc; \ /usr/bin/install -c -m 4755 scponlyc /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/sbin/scponlyc; \ fi + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.8-30.fc38 --unique-debug-suffix -4.8-30.fc38.s390x --unique-debug-src-base scponly-4.8-30.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/scponly-4.8 extracting debug info from /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/bin/scponly extracting debug info from /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/sbin/scponlyc original debug info size: 128kB, size after compression: 116kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 70 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: scponly-4.8-30.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wa4yZm + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + DOCDIR=/builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr AUTHOR /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr CHANGELOG /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr CONTRIB /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr COPYING /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr INSTALL /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr README /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr TODO /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr BUILDING-JAILS.TXT /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + cp -pr SECURITY /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/share/doc/scponly + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/bin/scponly and /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/sbin/scponlyc Provides: config(scponly) = 4.8-30.fc38 scponly = 4.8-30.fc38 scponly(s390-64) = 4.8-30.fc38 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.2)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: scponly-debugsource-4.8-30.fc38.s390x Provides: scponly-debugsource = 4.8-30.fc38 scponly-debugsource(s390-64) = 4.8-30.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: scponly-debuginfo-4.8-30.fc38.s390x warning: Duplicate build-ids /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/lib/debug/usr/bin/scponly-4.8-30.fc38.s390x.debug and /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/lib/debug/usr/sbin/scponlyc-4.8-30.fc38.s390x.debug Provides: debuginfo(build-id) = bc1a47d030d2101efe696aa3f4f71f9f8f8f99c1 debuginfo(build-id) = nilnil scponly-debuginfo = 4.8-30.fc38 scponly-debuginfo(s390-64) = 4.8-30.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scponly-debugsource(s390-64) = 4.8-30.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x Wrote: /builddir/build/RPMS/scponly-4.8-30.fc38.s390x.rpm Wrote: /builddir/build/RPMS/scponly-debuginfo-4.8-30.fc38.s390x.rpm Wrote: /builddir/build/RPMS/scponly-debugsource-4.8-30.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mFVfHN + umask 022 + cd /builddir/build/BUILD + cd scponly-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.lNo6cv + umask 022 + cd /builddir/build/BUILD + rm -rf scponly-4.8 scponly-4.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Duplicate build-ids /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/bin/scponly and /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/sbin/scponlyc Duplicate build-ids /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/lib/debug/usr/bin/scponly-4.8-30.fc38.s390x.debug and /builddir/build/BUILDROOT/scponly-4.8-30.fc38.s390x/usr/lib/debug/usr/sbin/scponlyc-4.8-30.fc38.s390x.debug Child return code was: 0