Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/mesa.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/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=1004) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/mesa.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 warning: Could not canonicalize hostname: armhfp-04.bsys.centos.org Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/mesa-17.0.1-6.20170307.e7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/mesa.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=Falseuid=1004env={'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/mesa.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.Qs1zp2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mesa-20170307 + /usr/bin/xz -dc /builddir/build/SOURCES/mesa-20170307.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mesa-20170307 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + grep -q '^/' src/gallium/auxiliary/vl/vl_decoder.c + echo 'Patch #1 (nv50-fix-build.patch):' Patch #1 (nv50-fix-build.patch): + /usr/bin/cat /builddir/build/SOURCES/nv50-fix-build.patch + /usr/bin/patch -p1 -b --suffix .nv50rtti --fuzz=2 patching file src/gallium/drivers/nouveau/codegen/nv50_ir.cpp Hunk #1 succeeded at 742 (offset 3 lines). Patch #15 (mesa-9.2-hardware-float.patch): + echo 'Patch #15 (mesa-9.2-hardware-float.patch):' + /usr/bin/cat /builddir/build/SOURCES/mesa-9.2-hardware-float.patch + /usr/bin/patch -p1 -b --suffix .hwfloat --fuzz=2 patching file src/gallium/drivers/llvmpipe/lp_screen.c Hunk #1 succeeded at 432 (offset 126 lines). patching file src/gallium/drivers/softpipe/sp_screen.c Hunk #1 succeeded at 378 (offset 87 lines). Patch #30 (0001-glsl-Allow-compatibility-shaders-with-MESA_GL_VERSIO.patch): + echo 'Patch #30 (0001-glsl-Allow-compatibility-shaders-with-MESA_GL_VERSIO.patch):' + /usr/bin/patch -p1 -b --suffix .glslfix --fuzz=2 + /usr/bin/cat /builddir/build/SOURCES/0001-glsl-Allow-compatibility-shaders-with-MESA_GL_VERSIO.patch patching file src/compiler/glsl/builtin_types.cpp patching file src/compiler/glsl/builtin_variables.cpp Hunk #1 succeeded at 443 (offset -1 lines). patching file src/compiler/glsl/glsl_parser_extras.cpp Hunk #1 succeeded at 81 (offset -2 lines). Hunk #2 succeeded at 369 (offset -2 lines). Hunk #3 succeeded at 379 (offset -2 lines). Hunk #4 succeeded at 416 (offset -2 lines). patching file src/compiler/glsl/glsl_parser_extras.h Hunk #1 succeeded at 343 (offset -5 lines). Patch #40 (0001-Revert-draw-use-SoA-fetch-not-AoS-one.patch): + echo 'Patch #40 (0001-Revert-draw-use-SoA-fetch-not-AoS-one.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-Revert-draw-use-SoA-fetch-not-AoS-one.patch + /usr/bin/patch -p1 -b --suffix .bigendian-fix --fuzz=2 patching file src/gallium/auxiliary/draw/draw_llvm.c Patch #50 (0001-gallivm-Make-sure-module-has-the-correct-data-layout.patch): + echo 'Patch #50 (0001-gallivm-Make-sure-module-has-the-correct-data-layout.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-gallivm-Make-sure-module-has-the-correct-data-layout.patch + /usr/bin/patch -p1 -b --suffix .gallivm-datalayout-fix --fuzz=2 patching file src/gallium/auxiliary/gallivm/lp_bld_init.c + sed -i 's/\[llvm-config\]/\[mesa-private-llvm-config-32\]/g' configure.ac + sed -i 's/`$LLVM_CONFIG --version`/$LLVM_VERSION_MAJOR.$LLVM_VERSION_MINOR-mesa/' configure.ac + cp /builddir/build/SOURCES/Mesa-MLAA-License-Clarification-Email.txt docs/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uhNeu6 + umask 022 + cd /builddir/build/BUILD + cd mesa-20170307 + autoreconf --install libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `bin'. libtoolize: copying file `bin/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:61: installing 'bin/ar-lib' configure.ac:107: installing 'bin/compile' configure.ac:45: installing 'bin/config.guess' configure.ac:45: installing 'bin/config.sub' configure.ac:46: installing 'bin/install-sh' configure.ac:46: installing 'bin/missing' src/Makefile.am: installing 'bin/depcomp' parallel-tests: installing 'bin/test-driver' + export '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' + 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' + export 'CXXFLAGS=-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 -fno-rtti -fno-exceptions' + CXXFLAGS='-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 -fno-rtti -fno-exceptions' + 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' + export CFLAGS + CXXFLAGS='-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 -fno-rtti -fno-exceptions' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./bin/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./bin/config.sub ++ basename ./bin/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./bin/config.sub '/usr/lib/rpm/redhat/config.sub' -> './bin/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./bin/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./bin/config.guess ++ basename ./bin/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./bin/config.guess '/usr/lib/rpm/redhat/config.guess' -> './bin/config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-selinux --enable-osmesa --with-dri-driverdir=/usr/lib/dri --enable-egl --disable-gles1 --enable-gles2 --disable-xvmc --enable-vdpau --with-egl-platforms=x11,drm --enable-shared-glapi --enable-gbm --disable-opencl --enable-glx-tls --enable-texture-float=yes --enable-gallium-llvm --enable-dri --with-gallium-drivers=radeonsi,swrast,r600,r300freedreno,,nouveau,virgl --with-dri-drivers=nouveau,radeon,r200 checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1004' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for armv7hl-redhat-linux-gnu-ar... no checking for armv7hl-redhat-linux-gnu-lib... no checking for armv7hl-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking how to run the C preprocessor... gcc -E checking for armv7hl-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for armv7hl-redhat-linux-gnu-g++... no checking for armv7hl-redhat-linux-gnu-c++... no checking for armv7hl-redhat-linux-gnu-gpp... no checking for armv7hl-redhat-linux-gnu-aCC... no checking for armv7hl-redhat-linux-gnu-CC... no checking for armv7hl-redhat-linux-gnu-cxx... no checking for armv7hl-redhat-linux-gnu-cc++... no checking for armv7hl-redhat-linux-gnu-cl.exe... no checking for armv7hl-redhat-linux-gnu-FCC... no checking for armv7hl-redhat-linux-gnu-KCC... no checking for armv7hl-redhat-linux-gnu-RCC... no checking for armv7hl-redhat-linux-gnu-xlC_r... no checking for armv7hl-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether gcc and cc understand -c and -o together... yes checking dependency style of gcc... none checking for GNU make... make checking for python2.7... python2.7 checking for a sed that does not truncate output... /usr/bin/sed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for rm... rm -f checking for xxd... no checking for bison... bison -y checking if bison is the parser generator... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking if flex is the lexer generator... yes checking for indent... cat checking if module mako in python is installed... yes checking if compiling with clang... no checking whether gcc version is sufficient... yes checking whether __SUNPRO_C is declared... no checking for __builtin_bswap32... yes checking for __builtin_bswap64... yes checking for __builtin_clz... yes checking for __builtin_clzll... yes checking for __builtin_ctz... yes checking for __builtin_expect... yes checking for __builtin_ffs... yes checking for __builtin_ffsll... yes checking for __builtin_popcount... yes checking for __builtin_popcountll... yes checking for __builtin_unreachable... yes checking for __attribute__((const))... yes checking for __attribute__((flatten))... yes checking for __attribute__((format))... yes checking for __attribute__((malloc))... yes checking for __attribute__((packed))... yes checking for __attribute__((pure))... yes checking for __attribute__((returns_nonnull))... no checking for __attribute__((unused))... yes checking for __attribute__((visibility))... yes checking for __attribute__((warn_unused_result))... yes checking for __attribute__((weak))... yes checking for __attribute__((alias))... yes checking for armv7hl-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether gcc supports -Werror=missing-prototypes... yes checking whether gcc supports -fvisibility=hidden... yes checking whether gcc supports -Werror=vla... yes checking whether g++ supports -fvisibility=hidden... yes checking whether byte ordering is bigendian... no checking whether gcc supports -mpower8-vector... no checking if ld supports -Bsymbolic... yes checking whether ld supports --gc-sections... yes checking if the linker supports version-scripts... yes checking if the linker supports --dynamic-list... yes configure: WARNING: Floating-point textures enabled. checking whether to enable assembly... configure: WARNING: Please consult docs/patents.txt with your lawyer before building Mesa. no, platform not supported checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking for strtof... yes checking for mkostemp... yes checking for dlopen... no checking for dlopen in -ldl... yes checking for dladdr... yes checking for clock_gettime... yes checking for posix_memalign... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... no checking for PTHREADSTUBS... yes checking for SELINUX... yes checking for LIBELF... yes checking for armv7hl-redhat-linux-gnu-mesa-private-llvm-config-32... no checking for mesa-private-llvm-config-32... /usr/bin/mesa-private-llvm-config-32 checking for LIBDRM... yes checking for GLPROTO... yes checking for DRI2PROTO... yes checking for DRI3PROTO... yes checking for PRESENTPROTO... yes checking for XCB_DRI3... yes checking for XF86VIDMODE... yes checking for DRIGL... yes checking for EXPAT... yes checking for NVVIEUX... yes checking for RADEON... yes checking for RADEON... yes checking for mincore... yes checking for VL... yes checking for VDPAU... yes checking for WAYLAND_SCANNER... no checking for wayland-scanner... no checking for XCB_DRI2... yes checking for RADEON... yes checking for AMDGPU... yes checking for RADEON... yes configure: error: Unknown Gallium driver: r300freedreno error: Bad exit status from /var/tmp/rpm-tmp.uhNeu6 (%build) Bad exit status from /var/tmp/rpm-tmp.uhNeu6 (%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 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/mesa.spec