Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/python3-cairo.spec'], printOutput=Falsetimeout=0shell=FalsechrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-9995/root'logger=user='mockbuild'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'}uid=1000gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/python3-cairo.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: armbuilder Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/python3-cairo-1.10.0-12bs01fc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/python3-cairo.spec '], printOutput=Falsetimeout=0shell=Falseprivate_network=Truelogger=gid=135user='mockbuild'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'}uid=1000chrootPath='/var/lib/mock/fedora-20-armhfp-pidora-root-9995/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/python3-cairo.spec '] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: armv6hl Building for target armv6hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6cYcQH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pycairo-1.10.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pycairo-1.10.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pycairo-1.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + python3 ./waf --version ./options() waf 1.6.4 (11066) + echo 'Patch #0 (cairo-waf-use-python-config-as-shell-script.patch):' Patch #0 (cairo-waf-use-python-config-as-shell-script.patch): + /usr/bin/patch -p0 --fuzz=0 patching file .waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/python.py + echo 'Patch #1 (pycairo-1.10.0-test-python3.patch):' Patch #1 (pycairo-1.10.0-test-python3.patch): + /usr/bin/patch -p1 --fuzz=0 patching file test/examples_test.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NgagZ2 + umask 022 + cd /builddir/build/BUILD + cd pycairo-1.10.0 + export 'CFLAGS=-O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp' + CFLAGS='-O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp' + export PYTHON=python3 + PYTHON=python3 + python3 ./waf --prefix=/usr --libdir=/usr/lib configure Setting top to : /builddir/build/BUILD/pycairo-1.10.0 Setting out to : /builddir/build/BUILD/pycairo-1.10.0/build_directory Checking for 'gcc' (c compiler) : ok Checking for program python : python3 python executable 'python3' different from sys.executable '/usr/bin/python3' Checking for python version : (3, 4, 3, 'final', 0) Checking for library python3.4 in LIBDIR : not found Checking for library python3.4 in python_LIBPL : not found Checking for library python3.4 in $prefix/libs : not found Checking for library python3.4m in LIBDIR : yes Checking for program python3.4-config : /usr/bin/python3.4-config Checking for header Python.h : yes Checking for program pkg-config : /usr/bin/pkg-config Checking for 'cairo' >= 1.10.0 : yes 'configure' finished successfully (1.264s) ./options() ./configure() Configuration: PREFIX : /usr LIBDIR : /usr/lib + LANG=en_US.utf8 + python3 ./waf build -v Waf: Entering directory `/builddir/build/BUILD/pycairo-1.10.0/build_directory' [1/9] c: src/cairomodule.c -> build_directory/src/cairomodule.c.1.o 08:41:28 runner ['/usr/lib/ccache/gcc', '-O2', '-g', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-pthread', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-fwrapv', '-fno-strict-aliasing', '-I/builddir/build/BUILD/pycairo-1.10.0/build_directory/src', '-I/builddir/build/BUILD/pycairo-1.10.0/src', '-I/usr/include/cairo', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libdrm', '-I/usr/include/libpng16', '-I/usr/include/python3.4m', '-DDYNAMIC_ANNOTATIONS_ENABLED=1', '-DNDEBUG', '-D_GNU_SOURCE', '../src/cairomodule.c', '-c', '-o', 'src/cairomodule.c.1.o'] [2/9] c: src/context.c -> build_directory/src/context.c.1.o 08:41:28 runner ['/usr/lib/ccache/gcc', '-O2', '-g', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-pthread', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-fwrapv', '-fno-strict-aliasing', '-I/builddir/build/BUILD/pycairo-1.10.0/build_directory/src', '-I/builddir/build/BUILD/pycairo-1.10.0/src', '-I/usr/include/cairo', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libdrm', '-I/usr/include/libpng16', '-I/usr/include/python3.4m', '-DDYNAMIC_ANNOTATIONS_ENABLED=1', '-DNDEBUG', '-D_GNU_SOURCE', '../src/context.c', '-c', '-o', 'src/context.c.1.o'] [3/9] c: src/font.c -> build_directory/src/font.c.1.o 08:41:28 runner ['/usr/lib/ccache/gcc', '-O2', '-g', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-pthread', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-fwrapv', '-fno-strict-aliasing', '-I/builddir/build/BUILD/pycairo-1.10.0/build_directory/src', '-I/builddir/build/BUILD/pycairo-1.10.0/src', '-I/usr/include/cairo', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libdrm', '-I/usr/include/libpng16', '-I/usr/include/python3.4m', '-DDYNAMIC_ANNOTATIONS_ENABLED=1', '-DNDEBUG', '-D_GNU_SOURCE', '../src/font.c', '-c', '-o', 'src/font.c.1.o'] [4/9] c: src/path.c -> build_directory/src/path.c.1.o 08:41:28 runner ['/usr/lib/ccache/gcc', '-O2', '-g', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-pthread', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-fwrapv', '-fno-strict-aliasing', '-I/builddir/build/BUILD/pycairo-1.10.0/build_directory/src', '-I/builddir/build/BUILD/pycairo-1.10.0/src', '-I/usr/include/cairo', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libdrm', '-I/usr/include/libpng16', '-I/usr/include/python3.4m', '-DDYNAMIC_ANNOTATIONS_ENABLED=1', '-DNDEBUG', '-D_GNU_SOURCE', '../src/path.c', '-c', '-o', 'src/path.c.1.o'] [5/9] c: src/pattern.c -> build_directory/src/pattern.c.1.o 08:41:28 runner ['/usr/lib/ccache/gcc', '-O2', '-g', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-pthread', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-fwrapv', '-fno-strict-aliasing', '-I/builddir/build/BUILD/pycairo-1.10.0/build_directory/src', '-I/builddir/build/BUILD/pycairo-1.10.0/src', '-I/usr/include/cairo', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libdrm', '-I/usr/include/libpng16', '-I/usr/include/python3.4m', '-DDYNAMIC_ANNOTATIONS_ENABLED=1', '-DNDEBUG', '-D_GNU_SOURCE', '../src/pattern.c', '-c', '-o', 'src/pattern.c.1.o'] [6/9] c: src/matrix.c -> build_directory/src/matrix.c.1.o 08:41:28 runner ['/usr/lib/ccache/gcc', '-O2', '-g', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-pthread', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-fwrapv', '-fno-strict-aliasing', '-I/builddir/build/BUILD/pycairo-1.10.0/build_directory/src', '-I/builddir/build/BUILD/pycairo-1.10.0/src', '-I/usr/include/cairo', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libdrm', '-I/usr/include/libpng16', '-I/usr/include/python3.4m', '-DDYNAMIC_ANNOTATIONS_ENABLED=1', '-DNDEBUG', '-D_GNU_SOURCE', '../src/matrix.c', '-c', '-o', 'src/matrix.c.1.o'] [7/9] c: src/surface.c -> build_directory/src/surface.c.1.o 08:41:28 runner ['/usr/lib/ccache/gcc', '-O2', '-g', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-pthread', '-march=armv6', '-mfloat-abi=hard', '-mfpu=vfp', '-fPIC', '-fwrapv', '-fno-strict-aliasing', '-I/builddir/build/BUILD/pycairo-1.10.0/build_directory/src', '-I/builddir/build/BUILD/pycairo-1.10.0/src', '-I/usr/include/cairo', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libdrm', '-I/usr/include/libpng16', '-I/usr/include/python3.4m', '-DDYNAMIC_ANNOTATIONS_ENABLED=1', '-DNDEBUG', '-D_GNU_SOURCE', '../src/surface.c', '-c', '-o', 'src/surface.c.1.o'] [8/9] subst: py3cairo.pc.in -> build_directory/py3cairo.pc [9/9] cshlib: build_directory/src/cairomodule.c.1.o build_directory/src/context.c.1.o build_directory/src/font.c.1.o build_directory/src/path.c.1.o build_directory/src/pattern.c.1.o build_directory/src/matrix.c.1.o build_directory/src/surface.c.1.o -> build_directory/src/_cairo.cpython-34m.so 08:41:30 runner ['/usr/lib/ccache/gcc', 'src/cairomodule.c.1.o', 'src/context.c.1.o', 'src/font.c.1.o', 'src/path.c.1.o', 'src/pattern.c.1.o', 'src/matrix.c.1.o', 'src/surface.c.1.o', '-o', '/builddir/build/BUILD/pycairo-1.10.0/build_directory/src/_cairo.cpython-34m.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib', '-lcairo', '-lpython3.4m', '-shared', '-Wl,-z,relro', '-pthread', '-Wl,-z,relro'] Waf: Leaving directory `/builddir/build/BUILD/pycairo-1.10.0/build_directory' 'build' finished successfully (1.734s) ./options() ./build() src/build() + find ./examples/ -type f -print0 + xargs -0 chmod -x + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.y6yLej + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm ++ dirname /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm + cd pycairo-1.10.0 + DESTDIR=/builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm + python3 ./waf install Waf: Entering directory `/builddir/build/BUILD/pycairo-1.10.0/build_directory' + install /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/include/pycairo/py3cairo.h (from src/py3cairo.h) + install /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/pkgconfig/py3cairo.pc (from build_directory/py3cairo.pc) + install /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/python3.4/site-packages/cairo/_cairo.cpython-34m.so (from build_directory/src/_cairo.cpython-34m.so) Waf: Leaving directory `/builddir/build/BUILD/pycairo-1.10.0/build_directory' + install /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/python3.4/site-packages/cairo/__init__.py (from src/__init__.py) + byte compiling '/builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/python3.4/site-packages/cairo/__init__.pyc' + byte compiling '/builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/python3.4/site-packages/cairo/__init__.pyo' 'install' finished successfully (0.239s) ./options() ./build() src/build() + find /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm -name '*.so' + xargs chmod +x + find /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm -name '*.la' + xargs rm -f + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/pycairo-1.10.0 extracting debug info from /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/python3.4/site-packages/cairo/_cairo.cpython-34m.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 363 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/debug/usr/lib/python3.4 using /usr/bin/python3.4 Bytecompiling .py files below /builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/python3.4 using /usr/bin/python3.4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NwmJzE + umask 022 + cd /builddir/build/BUILD + cd pycairo-1.10.0 + cd test + PYTHONPATH=/builddir/build/BUILDROOT/python3-cairo-1.10.0-12bs01fc23.arm/usr/lib/python3.4/site-packages + /usr/bin/py.test-3 /usr/bin/py.test-3.4 ============================= test session starts ============================== platform linux -- Python 3.4.3 -- py-1.4.30 -- pytest-2.7.3 rootdir: /usr/bin, inifile: =============================== in 0.00 seconds =============================== ERROR: not found: /usr/bin/py.test-3.4 (no name '/usr/bin/py.test-3.4' in any of []) error: Bad exit status from /var/tmp/rpm-tmp.NwmJzE (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NwmJzE (%check) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/python3-cairo.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/python3-cairo.spec LEAVE do --> EXCEPTION RAISED