Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/samba.spec'], chrootPath='/var/lib/mock/f29-build-24543-12580/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/samba.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control BUILDSTDERR: sh: line 0: fg: no job control Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/samba-4.9.0-0.2.rc2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/samba.spec'], chrootPath='/var/lib/mock/f29-build-24543-12580/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/samba.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rHF8Ka + umask 022 + cd /builddir/build/BUILD + xzcat /builddir/build/SOURCES/samba-4.9.0rc2.tar.xz + gpgv2 --quiet --keyring /builddir/build/SOURCES/gpgkey-52FBC0B86D954B0843324CDC6F33915B6568B7EA.gpg /builddir/build/SOURCES/samba-4.9.0rc2.tar.asc - BUILDSTDERR: gpgv: Signature made Tue Jul 31 16:30:53 2018 UTC BUILDSTDERR: gpgv: using DSA key 6F33915B6568B7EA BUILDSTDERR: gpgv: issuer "samba-bugs@samba.org" BUILDSTDERR: gpgv: Good signature from "Samba Distribution Verification Key " + cd /builddir/build/BUILD + rm -rf samba-4.9.0rc2 + /usr/bin/xz -dc /builddir/build/SOURCES/samba-4.9.0rc2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd samba-4.9.0rc2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/samba-4.9.0-test_tldap.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/samba-4.8.3-vscript.local.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gDZehn + exit 0 + umask 022 + cd /builddir/build/BUILD + cd samba-4.9.0rc2 BUILDSTDERR: ++ echo -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld BUILDSTDERR: ++ sed -e s/-Wl,-z,defs//g + export 'python_LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + python_LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fuse-ld=gold' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fuse-ld=gold' + export PYTHON=/usr/bin/python2 + PYTHON=/usr/bin/python2 + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fuse-ld=gold' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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-fhs --with-piddir=/run --with-sockets-dir=/run/samba --with-modulesdir=/usr/lib64/samba --with-pammodulesdir=/usr/lib64/security --with-lockdir=/var/lib/samba/lock --with-statedir=/var/lib/samba --with-cachedir=/var/lib/samba --disable-rpath-install --with-shared-modules=idmap_ad,idmap_rid,idmap_ldap,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_wbc,auth_unix,auth_server,auth_script,auth_samba4,vfs_dfs_samba4 '--bundled-libraries=!zlib,!popt,!talloc,!pytalloc,!pytalloc-util,!tevent,!pytevent,!tdb,!pytdb,!ldb,!pyldb,!pyldb-util' --with-pam --with-pie --with-relro --without-fam --with-system-mitkrb5 --with-cluster-support --with-profiling-data --with-systemd --systemd-install-services --with-systemddir=/usr/lib/systemd/system --systemd-smb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-nmb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-winbind-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-samba-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --extra-python=/usr/bin/python3 BUILDSTDERR: Checking for program gcc or cc : /usr/bin/gcc BUILDSTDERR: Checking for program cpp : /usr/bin/cpp BUILDSTDERR: Checking for program ar : /usr/bin/ar BUILDSTDERR: Checking for program ranlib : /usr/bin/ranlib BUILDSTDERR: Checking for gcc : ok BUILDSTDERR: Checking for program git : not found BUILDSTDERR: Check for -MD : yes BUILDSTDERR: Checking for program gdb : not found BUILDSTDERR: Checking for header sys/utsname.h : yes BUILDSTDERR: Checking uname sysname type : not found BUILDSTDERR: Checking uname machine type : not found BUILDSTDERR: Checking uname release type : not found BUILDSTDERR: Checking uname version type : not found BUILDSTDERR: Checking for header stdio.h : yes BUILDSTDERR: Checking simple C program : /builddir/build/BUILD/samba-4.9.0rc2/lib/replace/../../buildtools/wafsamba/wscript:325: error: the configuration failed (see '/builddir/build/BUILD/samba-4.9.0rc2/bin/config.log') RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.gDZehn (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.gDZehn (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/samba.spec