Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/cjdns.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.E1leA3:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '273172a999d14b63a836459e92697d81', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.E1leA3:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/cjdns.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/cjdns-20.2-4.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/cjdns.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.E1leA3:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd0c5c174f4f445478c7b871f62b8f79c', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.E1leA3:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/cjdns.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6hxWjA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cjdns-cjdns-v20.2 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/cjdns-v20.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cjdns-cjdns-v20.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (cjdns.selinux.patch):' Patch #0 (cjdns.selinux.patch): + /usr/bin/cat /builddir/build/SOURCES/cjdns.selinux.patch + /usr/bin/patch -p0 -b --suffix .selinux --fuzz=0 patching file ./contrib/selinux/cjdns.te + echo 'Patch #2 (cjdns.nprocs.patch):' Patch #2 (cjdns.nprocs.patch): + /usr/bin/cat /builddir/build/SOURCES/cjdns.nprocs.patch + /usr/bin/patch -p0 -b --suffix .nprocs --fuzz=0 patching file ./util/Security.c + echo 'Patch #4 (cjdns.genconf.patch):' Patch #4 (cjdns.genconf.patch): + /usr/bin/cat /builddir/build/SOURCES/cjdns.genconf.patch + /usr/bin/patch -p0 -b --suffix .genconf --fuzz=0 patching file ./client/cjdroute2.c Hunk #1 succeeded at 334 (offset 11 lines). Hunk #2 succeeded at 346 (offset 11 lines). Patch #5 (cjdns.sbin.patch): + echo 'Patch #5 (cjdns.sbin.patch):' + /usr/bin/cat /builddir/build/SOURCES/cjdns.sbin.patch + /usr/bin/patch -p0 -b --suffix .sbin --fuzz=0 patching file ./contrib/systemd/cjdns-loadmodules.service patching file ./contrib/systemd/cjdns-online.sh patching file ./contrib/systemd/cjdns-wait-online.service patching file ./contrib/upstart/cjdns.conf + cp /builddir/build/SOURCES/cjdns.service contrib/systemd + echo 'Patch #8 (cjdns.warnings.patch):' Patch #8 (cjdns.warnings.patch): + /usr/bin/patch -p0 -b --suffix .warnings --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/cjdns.warnings.patch patching file ./crypto/CryptoAuth.c patching file ./dht/CJDHTConstants.h patching file ./node_build/dependencies/libuv/test/test-getsockname.c patching file ./util/Gcc.h patching file ./util/platform/netdev/NetPlatform_linux.c patching file ./util/platform/Sockaddr.c + echo 'Patch #9 (cjdns.man.patch):' Patch #9 (cjdns.man.patch): + /usr/bin/cat /builddir/build/SOURCES/cjdns.man.patch + /usr/bin/patch -p0 -b --suffix .man --fuzz=0 patching file ./contrib/doc/cjdns-online.md Patch #10 (cjdns.tools.patch): + echo 'Patch #10 (cjdns.tools.patch):' + /usr/bin/cat /builddir/build/SOURCES/cjdns.tools.patch + /usr/bin/patch -p0 -b --suffix .tools --fuzz=0 patching file ./tools/traceroute + echo 'Patch #16 (cjdns.python3.patch):' Patch #16 (cjdns.python3.patch): + /usr/bin/cat /builddir/build/SOURCES/cjdns.python3.patch + /usr/bin/patch -p0 -b --suffix .python3 --fuzz=0 patching file ./node_build/dependencies/libuv/gyp_uv.py Patch #17 (cjdns.s390x.patch): + echo 'Patch #17 (cjdns.s390x.patch):' + /usr/bin/cat /builddir/build/SOURCES/cjdns.s390x.patch + /usr/bin/patch -p1 -b --suffix .s390x --fuzz=0 patching file node_build/dependencies/cnacl/cpucycles/osfreq.c patching file node_build/dependencies/cnacl/do patching file node_build/dependencies/cnacl/node_build/plans/s390x_plan.json patching file node_build/dependencies/cnacl/okcompilers/abiname.c patching file node_build/dependencies/cnacl/okcompilers/abiname_xcompile.c + cp /builddir/build/SOURCES/cjdns.README_Fedora.md README_Fedora.md + chmod a+x contrib/python/cjdnsadmin/cli.py + find contrib/python/cjdnsadmin '!' -executable -name '*.py' + xargs sed -e '\,^#!/usr/bin/env, d' -i + find contrib/python -type f + xargs sed -e '1 s,^#!/usr/bin/env ,#!/usr/bin/,' -i + sed -e '$ s,^python ,/usr/bin/python2 ,' -i contrib/python/cjdnsa + find tools -type f + xargs sed -e '1 s,^#!/usr/bin/env ,#!/usr/bin/,' -i + xargs grep -l '^#!\/usr\/bin\/env ' + rm -rf contrib/http + cat + chmod a+x cjdns-up.sh + sed -i -e s/-march=native/-mtune=generic/ node_build/make.js + rm node_build/dependencies/cnacl/node_build/plans/amd64_AVX_plan.json node_build/dependencies/cnacl/node_build/plans/apple_amd64_AVX_plan.json node_build/dependencies/cnacl/node_build/plans/x86_AVX_plan.json + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.waoMRX + umask 022 + cd /builddir/build/BUILD + cd cjdns-cjdns-v20.2 + cd contrib/selinux + ln -s /usr/share/selinux/devel/Makefile . + make Compiling targeted cjdns module /usr/bin/checkmodule: loading policy configuration from tmp/cjdns.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 19) to tmp/cjdns.mod Creating targeted cjdns.pp policy package rm tmp/cjdns.mod.fc tmp/cjdns.mod + cd - /builddir/build/BUILD/cjdns-cjdns-v20.2 + CJDNS_RELEASE_VERSION=cjdns-20.2-4.el7 + ./do You have a version of node [node] but it is too old [v0.10.42] ### Installing node.js (you can bypass this step by manually installing node.js v4.6.2 or newer) BUILDSTDERR: ==> Downloading http://nodejs.org/dist/v6.9.1/node-v6.9.1-linux-x86.tar.gz with curl... ERROR: failed to download http://nodejs.org/dist/v6.9.1/node-v6.9.1-linux-x86.tar.gz BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.waoMRX (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.waoMRX (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 634, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) Error: Command failed: # /usr/bin/systemd-nspawn -q -M d0c5c174f4f445478c7b871f62b8f79c -D /var/lib/mock/centos-7-i386/root --bind=/tmp/mock-resolv.E1leA3:/etc/resolv.conf --setenv=LANG=en_US.UTF-8 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOSTNAME=mock --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=HOME=/builddir --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PS1= \s-\v\$ -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/cjdns.spec