Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/libx86.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-66b271e1f6840feddb3c6f32e10f5ac4c2096816/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/libx86.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/libx86-1.1-15.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/libx86.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-66b271e1f6840feddb3c6f32e10f5ac4c2096816/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/libx86.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iLMlpm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libx86-1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/libx86-1.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libx86-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libx86-add-pkgconfig.patch): + echo 'Patch #0 (libx86-add-pkgconfig.patch):' + /usr/bin/cat /builddir/build/SOURCES/libx86-add-pkgconfig.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile patching file x86.pc.in Patch #1 (libx86-mmap-offset.patch): + echo 'Patch #1 (libx86-mmap-offset.patch):' + /usr/bin/cat /builddir/build/SOURCES/libx86-mmap-offset.patch + /usr/bin/patch -p1 --fuzz=0 patching file lrmi.c patching file thunk.c patching file x86-common.c patching file x86-common.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IbNuAD + umask 022 + cd /builddir/build/BUILD + cd libx86-1.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + make BACKEND=x86emu LIBDIR=/usr/lib -j4 make LIBRARY=static static make[1]: Entering directory `/builddir/build/BUILD/libx86-1.1' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o x86-common.o x86-common.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o thunk.o thunk.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o x86emu/decode.o x86emu/decode.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c -o x86emu/debug.o x86emu/debug.c x86-common.c: In function 'LRMI_common_init': x86-common.c:216:9: warning: assignment makes pointer from integer without a cast [enabled by default] offset = mem_info.offset - REAL_MEM_BASE; ^ x86emu/debug.c: In function 'x86emu_dump_xregs': x86emu/debug.c:403:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("\tEAX=%08x ", M.x86.R_EAX ); ^ x86emu/debug.c:404:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("EBX=%08x ", M.x86.R_EBX ); ^ x86emu/debug.c:405:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("ECX=%08x ", M.x86.R_ECX ); ^ x86emu/debug.c:406:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("EDX=%08x \n", M.x86.R_EDX ); ^ x86emu/debug.c:407:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("\tESP=%08x ", M.x86.R_ESP ); ^ x86emu/debug.c:408:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("EBP=%08x ", M.x86.R_EBP ); ^ x86emu/debug.c:409:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("ESI=%08x ", M.x86.R_ESI ); ^ x86emu/debug.c:410:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("EDI=%08x\n", M.x86.R_EDI ); ^ x86emu/debug.c:415:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'x86emuu32' [-Wformat=] printf("EIP=%08x\n\t", M.x86.R_EIP ); ^ thunk.c: In function 'x_inb': thunk.c:40:9: error: impossible constraint in 'asm' __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); \ ^ thunk.c:44:1: note: in expansion of macro '__BUILDIO' __BUILDIO(b,b,char) ^ make[1]: *** [thunk.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/builddir/build/BUILD/libx86-1.1' make: *** [default] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.IbNuAD (%build) Bad exit status from /var/tmp/rpm-tmp.IbNuAD (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/libx86.spec