Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/go-ipfs.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1622183299.649865/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.jk3w0v86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jk3w0v86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b1ab21d227354fc29cfe79f72c7d3782', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1622183299.649865/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jk3w0v86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/go-ipfs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1622160000 Wrote: /builddir/build/SRPMS/go-ipfs-0.9.0~rc.2-2.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/go-ipfs.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1622183299.649865/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.jk3w0v86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jk3w0v86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '599ab6a552d3443196acf860eecd2300', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1622183299.649865/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jk3w0v86:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/go-ipfs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1622160000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CXUpmo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-ipfs-0.9.0~rc.2 + /usr/bin/mkdir -p go-ipfs-0.9.0~rc.2 + cd go-ipfs-0.9.0~rc.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-ipfs-0.9.0~rc.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for f in cmd/ipfs/Rules.mk coverage/Rules.mk plugin/loader/Rules.mk mk/golang.mk + sed -e 's/\($(GOCC) list\) /\1 -mod=vendor /g' -e 's/\(go fmt\) /\1 -mod=vendor /g' -e 's/\($(GOCC) build\) /\1 -mod=vendor /g' -i cmd/ipfs/Rules.mk + for f in cmd/ipfs/Rules.mk coverage/Rules.mk plugin/loader/Rules.mk mk/golang.mk + sed -e 's/\($(GOCC) list\) /\1 -mod=vendor /g' -e 's/\(go fmt\) /\1 -mod=vendor /g' -e 's/\($(GOCC) build\) /\1 -mod=vendor /g' -i coverage/Rules.mk + for f in cmd/ipfs/Rules.mk coverage/Rules.mk plugin/loader/Rules.mk mk/golang.mk + sed -e 's/\($(GOCC) list\) /\1 -mod=vendor /g' -e 's/\(go fmt\) /\1 -mod=vendor /g' -e 's/\($(GOCC) build\) /\1 -mod=vendor /g' -i plugin/loader/Rules.mk + for f in cmd/ipfs/Rules.mk coverage/Rules.mk plugin/loader/Rules.mk mk/golang.mk + sed -e 's/\($(GOCC) list\) /\1 -mod=vendor /g' -e 's/\(go fmt\) /\1 -mod=vendor /g' -e 's/\($(GOCC) build\) /\1 -mod=vendor /g' -i mk/golang.mk + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.42hl24 + umask 022 + cd /builddir/build/BUILD + cd go-ipfs-0.9.0~rc.2 + mkdir -p _build/src/github.com/ipfs ++ pwd + ln -sr /builddir/build/BUILD/go-ipfs-0.9.0~rc.2 _build/src/github.com/ipfs/go-ipfs ++ pwd + export GOPATH=/builddir/build/BUILD/go-ipfs-0.9.0~rc.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/go-ipfs-0.9.0~rc.2/_build:/usr/share/gocode + export CGO_ENABLED=1 + CGO_ENABLED=1 + export 'CGO_CFLAGS=-O2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CGO_CFLAGS='-O2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'CGO_CXXFLAGS=-O2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CGO_CXXFLAGS='-O2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'CGO_CPPFLAGS=-O2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CGO_CPPFLAGS='-O2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'CGO_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + CGO_LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + make build GOTAGS=openssl go version go1.16.4 linux/amd64 bin/check_go_version 1.15.2 plugin/loader/preload.sh > plugin/loader/preload.go go fmt -mod=vendor plugin/loader/preload.go >/dev/null go build -mod=vendor "-asmflags=all='-trimpath=/builddir/build/BUILD/go-ipfs-0.9.0~rc.2/_build:/usr/share/gocode'" "-gcflags=all='-trimpath=/builddir/build/BUILD/go-ipfs-0.9.0~rc.2/_build:/usr/share/gocode'" -ldflags="-X "github.com/ipfs/go-ipfs".CurrentCommit=01ef535aa" -tags="openssl" -o "cmd/ipfs/ipfs" "github.com/ipfs/go-ipfs/cmd/ipfs" # github.com/libp2p/go-openssl extension.c: In function 'get_extention': extension.c:10:14: warning: unused variable 'xclass' [-Wunused-variable] 10 | int tag, xclass; | ^~~~~~ extension.c:10:9: warning: unused variable 'tag' [-Wunused-variable] 10 | int tag, xclass; | ^~~ extension.c:9:10: warning: unused variable 'xlen' [-Wunused-variable] 9 | long xlen; | ^~~~ # github.com/libp2p/go-openssl hostname.c:274:12: warning: 'do_x509_check' defined but not used [-Wunused-function] 274 | static int do_x509_check(X509 *x, const unsigned char *chk, size_t chklen, | ^~~~~~~~~~~~~ # github.com/ipfs/go-ipfs/cmd/ipfs /usr/bin/ld: /tmp/go-link-170939425/go.o: warning: relocation in read-only section `.gopclntab' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.c4bpRi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64 ++ dirname /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64 + cd go-ipfs-0.9.0~rc.2 + install -Dm755 cmd/ipfs/ipfs -t /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/var/lib/ipfs + install -D /builddir/build/SOURCES/ipfs.service /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/lib/systemd/system/ipfs.service + install -D /builddir/build/SOURCES/ipfs-server.service /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/lib/systemd/system/ipfs-server.service + install -D /builddir/build/SOURCES/ipfs-user.service /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/lib/systemd/user/ipfs.service + install -D /builddir/build/SOURCES/ipfs.sysusers /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/lib/sysusers.d/ipfs.conf + install -D misc/completion/ipfs-completion.bash /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/etc/bash_completion.d/go-ipfs + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/bash_completion.d/go-ipfs is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/sysusers.d/ipfs.conf is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/systemd/user/ipfs.service is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/systemd/system/ipfs-server.service is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib/systemd/system/ipfs.service is executable but has no shebang, removing executable bit Processing files: go-ipfs-0.9.0~rc.2-2.fc35.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ufnJUs + umask 022 + cd /builddir/build/BUILD + cd go-ipfs-0.9.0~rc.2 + DOCDIR=/builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/doc/go-ipfs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/doc/go-ipfs + cp -pr README.md /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/doc/go-ipfs + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/doc/go-ipfs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6AUKLn + umask 022 + cd /builddir/build/BUILD + cd go-ipfs-0.9.0~rc.2 + LICENSEDIR=/builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/licenses/go-ipfs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/licenses/go-ipfs + cp -pr LICENSE /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/licenses/go-ipfs + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/licenses/go-ipfs + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64/usr/share/licenses/go-ipfs + RPM_EC=0 ++ jobs -p + exit 0 Provides: go-ipfs = 0.9.0~rc.2-2.fc35 go-ipfs(x86-64) = 0.9.0~rc.2-2.fc35 group(ipfs) ipfs user(ipfs) Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Recommends: fuse Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64 Wrote: /builddir/build/RPMS/go-ipfs-0.9.0~rc.2-2.fc35.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9AlgYn + umask 022 + cd /builddir/build/BUILD + cd go-ipfs-0.9.0~rc.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/go-ipfs-0.9.0~rc.2-2.fc35.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0