Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/alignak.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.yEVFoJ:/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', '29020ed55a5a449ca5b9e7e584eab4fb', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.yEVFoJ:/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/alignak.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 BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/alignak-1.0.0-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/alignak.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.yEVFoJ:/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', '66c8e85deedb4551852f6d7ea9ebcbbe', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.yEVFoJ:/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/alignak.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.qgnKeH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alignak-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/alignak-1.0.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd alignak-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name .gitignore -exec rm -f '{}' ';' + find . -name .gitempty -exec rm -f '{}' ';' + find . -name .gitkeep -exec rm -f '{}' ';' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.x3ygEd + umask 022 + cd /builddir/build/BUILD + cd alignak-1.0.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' BUILDSTDERR: Marker evaluation failed, see the following error. For more information see: http://docs.openstack.org/developer/pbr/compatibility.html#evaluate-marker BUILDSTDERR: ERROR:root:Error parsing BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pbr/core.py", line 111, in pbr BUILDSTDERR: attrs = util.cfg_to_args(path, dist.script_args) BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pbr/util.py", line 251, in cfg_to_args BUILDSTDERR: kwargs = setup_cfg_to_setup_kwargs(config, script_args) BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pbr/util.py", line 434, in setup_cfg_to_setup_kwargs BUILDSTDERR: if pkg_resources.evaluate_marker('(%s)' % env_marker): BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1364, in evaluate_marker BUILDSTDERR: return interpret(parser.expr(text).totuple(1)[1]) BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1342, in interpret BUILDSTDERR: return op(nodelist) BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1307, in atom BUILDSTDERR: return interpret(nodelist[2]) BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1342, in interpret BUILDSTDERR: return op(nodelist) BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1324, in comparison BUILDSTDERR: raise SyntaxError(repr(cop)+" operator not allowed in environment markers") BUILDSTDERR: SyntaxError: '<' operator not allowed in environment markers BUILDSTDERR: error in setup command: Error parsing /builddir/build/BUILD/alignak-1.0.0/setup.cfg: SyntaxError: '<' operator not allowed in environment markers Installing Alignak on Linux: linux2 ======================================================================================================== Alignak installable directories/files: will create directory: var/log/alignak will create directory: var/run/alignak will create directory: var/lib/alignak will create directory: var/libexec/alignak will copy: etc/* to etc/alignak ======================================================================================================== BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.x3ygEd (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.x3ygEd (%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 66c8e85deedb4551852f6d7ea9ebcbbe -D /var/lib/mock/centos-7-i386/root --bind=/tmp/mock-resolv.yEVFoJ:/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/alignak.spec