/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . riscv64-redhat-linux-gnu -Dcpp_std=gnu++14 -Dplatforms=x11,wayland,drm,surfaceless -Ddri3=true -Ddri-drivers=nouveau,r100,r200 -Dgallium-drivers=swrast,virgl,r300,nouveau,radeonsi,r600 -Dgallium-vdpau=true -Dgallium-xvmc=false -Dgallium-omx=bellagio -Dgallium-va=true -Dgallium-xa=false -Dgallium-nine=true -Dgallium-opencl=icd -Dvulkan-drivers=amd -Dshared-glapi=true -Dgles1=false -Dgles2=true -Dopengl=true -Dgbm=true -Dglx=dri -Degl=true -Dglvnd=true -Dasm=true -Dllvm=true -Dshared-llvm=true -Dvalgrind=false -Dbuild-tests=false -Dselinux=true -Dosmesa=gallium The Meson build system Version: 0.54.0 Source dir: /builddir/build/BUILD/mesa-20.0.2 Build dir: /builddir/build/BUILD/mesa-20.0.2/riscv64-redhat-linux-gnu Build type: native build Program python found: NO Program python2 found: NO Program python3 found: YES (/usr/bin/python3) Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' Using 'PKG_CONFIG_PATH' from environment with value: ':/usr/lib64/pkgconfig:/usr/share/pkgconfig' WARNING: Unknown options: "asm" The value of new options can be set with: meson setup --reconfigure -Dnew_option=new_value ... Project name: mesa Project version: 20.0.2 Using 'CFLAGS' from environment with value: '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon' Using 'LDFLAGS' from environment with value: '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' meson.build:21:0: ERROR: Compiler cc can not compile programs. A full log can be found at /builddir/build/BUILD/mesa-20.0.2/riscv64-redhat-linux-gnu/meson-logs/meson-log.txt RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.0OOn8I (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.0OOn8I (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mesa.spec