Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/crda.spec'], chrootPath='/var/lib/mock/f30-build-41526-23314/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=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/crda.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 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/crda-3.18_2018.05.31-5.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/crda.spec'], chrootPath='/var/lib/mock/f30-build-41526-23314/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=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/crda.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 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZZGrIc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf crda-3.18_2018.05.31 + /usr/bin/mkdir -p crda-3.18_2018.05.31 + cd crda-3.18_2018.05.31 + /usr/bin/xz -dc /builddir/build/SOURCES/crda-3.18.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd crda-3.18_2018.05.31 + /usr/bin/xz -dc /builddir/build/SOURCES/wireless-regdb-2018.05.31.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (regulatory-rules-setregdomain.patch):' Patch #0 (regulatory-rules-setregdomain.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .setregdomain --fuzz=0 patching file crda-3.18/udev/regulatory.rules + cd crda-3.18 Patch #1 (crda-remove-ldconfig.patch): + echo 'Patch #1 (crda-remove-ldconfig.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldconfig-remove --fuzz=0 patching file Makefile Hunk #1 succeeded at 127 (offset 1 line). Patch #2 (crda-ldflags.patch): + echo 'Patch #2 (crda-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .ldflags --fuzz=0 patching file Makefile Patch #3 (crda-python-version.patch): + echo 'Patch #3 (crda-python-version.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .python --fuzz=0 patching file utils/key2pub.py + cd ../wireless-regdb-2018.05.31 Patch #4 (wireless-regdb-python-version.patch): + echo 'Patch #4 (wireless-regdb-python-version.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .python --fuzz=0 patching file db2bin.py patching file db2fw.py patching file dbparse.py + cp -a regulatory.db.p7s regulatory.db.p7s.orig + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H9Sqtk + umask 022 + cd /builddir/build/BUILD + cd crda-3.18_2018.05.31 + export '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 -Wno-error=unused-const-variable' + 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 -Wno-error=unused-const-variable' + export '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' + cd wireless-regdb-2018.05.31 + make -j4 maintainer-clean + make -j4 REGDB_PRIVKEY=key.priv.pem REGDB_PUBKEY=key.pub.pem FIRMWARE_PATH=/usr/lib/firmware Generating private key for mockbuild... openssl genrsa -out key.priv.pem 2048 Generating regulatory.db ./db2fw.py regulatory.db db.txt BUILDSTDERR: Generating RSA private key, 2048 bit long modulus (2 primes) BUILDSTDERR: ..........................+++++ BUILDSTDERR: .......................................................................................+++++ BUILDSTDERR: e is 65537 (0x010001) Generating public key for mockbuild... openssl rsa -in key.priv.pem -out key.pub.pem -pubout -outform PEM BUILDSTDERR: writing RSA key Generating certificate for mockbuild... ./gen-pubcert.sh key.priv.pem mockbuild.x509.pem Generating regulatory.bin digitally signed by mockbuild... ./db2bin.py regulatory.bin db.txt key.priv.pem Signing regulatory.db (by mockbuild)... + cp -a regulatory.db.p7s.orig regulatory.db.p7s + cd ../crda-3.18 + cp ../wireless-regdb-2018.05.31/key.pub.pem pubkeys + make -j4 SBINDIR=/usr/sbin/ LIBDIR=/usr/lib64/ REG_BIN=../wireless-regdb-2018.05.31/regulatory.bin GEN keys-gcrypt.c Trusted pubkeys: pubkeys/linville.key.pub.pem pubkeys/sforshee.key.pub.pem pubkeys/key.pub.pem CC libreg.so BUILDSTDERR: keys-gcrypt.c:135:32: warning: 'keys' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const struct key_params keys[] = { BUILDSTDERR: ^~~~ CC crda.o CC regdbdump.o CC intersect.o CC db2rd.o CC optimize.o LD intersect LD regdbdump LD db2rd CHK ../wireless-regdb-2018.05.31/regulatory.bin LD optimize LD crda + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vaUB2Z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 + cd crda-3.18_2018.05.31 + rm -rf /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 + cd crda-3.18 + cp LICENSE LICENSE.crda + cp README README.crda + make install DESTDIR=/builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 MANDIR=/usr/share/man/ SBINDIR=/usr/sbin/ LIBDIR=/usr/lib64/ INSTALL libreg INSTALL libreg-headers GZIP crda.8 GZIP regdbdump.8 INSTALL crda INSTALL regdbdump INSTALL 85-regulatory.rules INSTALL crda.8.gz INSTALL regdbdump.8.gz + mkdir -p /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/udev/rules.d + mv /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/lib/udev/rules.d/85-regulatory.rules /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/udev/rules.d + cd ../wireless-regdb-2018.05.31 + cp LICENSE LICENSE.wireless-regdb + cp README README.wireless-regdb + make install DESTDIR=/builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 MANDIR=/usr/share/man FIRMWARE_PATH=/usr/lib/firmware gzip < regulatory.bin.5 > regulatory.bin.5.gz gzip < regulatory.db.5 > regulatory.db.5.gz install -m 755 -d /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/crda install -m 755 -d /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/crda/pubkeys install -m 755 -d /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/firmware if [ -f .custom ]; then \ install -m 644 -t /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/crda/pubkeys/ key.pub.pem; \ fi install -m 644 -t /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/crda/pubkeys/ sforshee.key.pub.pem install -m 644 -t /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/crda/ regulatory.bin install -m 644 -t /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/lib/firmware regulatory.db regulatory.db.p7s install -m 755 -d /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/share/man/man5/ install -m 644 -t /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64//usr/share/man/man5/ regulatory.bin.5.gz regulatory.db.5.gz + install -D -pm 0755 /builddir/build/SOURCES/setregdomain /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/sbin + install -D -pm 0644 /builddir/build/SOURCES/setregdomain.1 /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/man/man1/setregdomain.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.18_2018.05.31-5.fc30 --unique-debug-suffix -3.18_2018.05.31-5.fc30.riscv64 --unique-debug-src-base crda-3.18_2018.05.31-5.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/crda-3.18_2018.05.31 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/sbin/regdbdump explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/lib64/libreg.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/sbin/crda extracting debug info from /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/lib64/libreg.so extracting debug info from /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/sbin/regdbdump extracting debug info from /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/sbin/crda /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 440 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/setregdomain from /bin/sh to #!/usr/bin/sh Processing files: crda-3.18_2018.05.31-5.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Y4eveG + umask 022 + cd /builddir/build/BUILD + cd crda-3.18_2018.05.31 + DOCDIR=/builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/doc/crda + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/doc/crda + cp -pr crda-3.18/README.crda /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/doc/crda + cp -pr wireless-regdb-2018.05.31/README.wireless-regdb /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/doc/crda + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ucQZQd + umask 022 + cd /builddir/build/BUILD + cd crda-3.18_2018.05.31 + LICENSEDIR=/builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/licenses/crda + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/licenses/crda + cp -pr crda-3.18/LICENSE.crda /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/licenses/crda + cp -pr wireless-regdb-2018.05.31/LICENSE.wireless-regdb /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64/usr/share/licenses/crda + exit 0 Provides: crda = 3.18_2018.05.31-5.fc30 crda(riscv-64) = 3.18_2018.05.31-5.fc30 libreg.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcrypt.so.20()(64bit) libm.so.6()(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libreg.so()(64bit) rtld(GNU_HASH) Processing files: crda-devel-3.18_2018.05.31-5.fc30.riscv64 Provides: crda-devel = 3.18_2018.05.31-5.fc30 crda-devel(riscv-64) = 3.18_2018.05.31-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: crda-debugsource-3.18_2018.05.31-5.fc30.riscv64 Provides: crda-debugsource = 3.18_2018.05.31-5.fc30 crda-debugsource(riscv-64) = 3.18_2018.05.31-5.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: crda-debuginfo-3.18_2018.05.31-5.fc30.riscv64 Provides: crda-debuginfo = 3.18_2018.05.31-5.fc30 crda-debuginfo(riscv-64) = 3.18_2018.05.31-5.fc30 debuginfo(build-id) = 14ecf266c71e5ae0307fd47aadad07ebb23e6e4a debuginfo(build-id) = a27f820b4159b989fbf0e054eea1f134cfb5e60f debuginfo(build-id) = e651104e7aae7ae4cf39ed3cbd7b3d1c8fc54a9c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: crda-debugsource(riscv-64) = 3.18_2018.05.31-5.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 Wrote: /builddir/build/RPMS/crda-3.18_2018.05.31-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/crda-devel-3.18_2018.05.31-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/crda-debugsource-3.18_2018.05.31-5.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/crda-debuginfo-3.18_2018.05.31-5.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zdQzz5 + umask 022 + cd /builddir/build/BUILD + cd crda-3.18_2018.05.31 + /usr/bin/rm -rf /builddir/build/BUILDROOT/crda-3.18_2018.05.31-5.fc30.riscv64 + exit 0 Child return code was: 0