Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mapserver.spec'], chrootPath='/var/lib/mock/f30-build-36099-20304/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mapserver.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/mapserver-7.0.5-14.git208bb3a.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mapserver.spec'], chrootPath='/var/lib/mock/f30-build-36099-20304/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mapserver.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SNHylh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45 + /usr/bin/gzip -dc /builddir/build/SOURCES/mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf tests/vera/Vera.ttf + rm -rf tests/vera/VeraBd.ttf + pushd tests/vera/ ~/build/BUILD/mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45/tests/vera ~/build/BUILD/mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45 + ln -sf /usr/share/fonts/dejavu/DejaVuSans.ttf Vera.ttf + ln -sf /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf VeraBd.ttf + popd ~/build/BUILD/mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45 + rm -rf mapscript/perl/mapscript_wrap.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cqKLfY + umask 022 + cd /builddir/build/BUILD + cd mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45 + mkdir build + cd build + export 'CFLAGS= -ldl -fPIC -fno-strict-aliasing' + CFLAGS=' -ldl -fPIC -fno-strict-aliasing' + export 'CXXFLAGS=-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 -fno-strict-aliasing' + CXXFLAGS='-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 -fno-strict-aliasing' + cmake -DINSTALL_LIB_DIR=/usr/lib64 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON '-DCMAKE_CXX_FLAGS_RELEASE=-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 -fno-strict-aliasing' '-DCMAKE_C_FLAGS_RELEASE=-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 -fno-strict-aliasing' -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_SKIP_RPATH=ON -DWITH_CAIRO=TRUE -DWITH_CLIENT_WFS=TRUE -DWITH_CLIENT_WMS=TRUE -DWITH_CURL=TRUE -DWITH_FCGI=TRUE -DWITH_FRIBIDI=TRUE -DWITH_GD=TRUE -DWITH_GDAL=TRUE -DWITH_GEOS=TRUE -DWITH_GIF=TRUE -DWITH_ICONV=TRUE -DWITH_JAVA=TRUE -DWITH_KML=TRUE -DWITH_LIBXML2=TRUE -DWITH_OGR=TRUE -DWITH_MYSQL=TRUE -DWITH_PERL=TRUE -DCUSTOM_PERL_SITE_ARCH_DIR=/usr/lib64/perl5/vendor_perl -DWITH_POSTGIS=TRUE -DWITH_PROJ=TRUE -DWITH_RUBY=TRUE -DWITH_V8=FALSE -DWITH_SOS=TRUE -DWITH_THREAD_SAFETY=TRUE -DWITH_WCS=TRUE -DWITH_WMS=TRUE -DWITH_WFS=TRUE -DWITH_XMLMAPFILE=TRUE -DWITH_POINT_Z_M=TRUE -DWITH_APACHE_MODULE=FALSE -DWITH_SVGCAIRO=FALSE -DWITH_CSHARP=FALSE -DWITH_ORACLESPATIAL=FALSE -DWITH_ORACLE_PLUGIN=FALSE -DWITH_MSSQL2008=FALSE -DWITH_SDE=FALSE -DWITH_SDE_PLUGIN=FALSE -DWITH_EXEMPI=FALSE .. -- The C compiler identification is GNU 8.2.1 -- The CXX compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for strrstr -- Looking for strrstr - not found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strdup -- Looking for strdup - found -- Looking for strlcat -- Looking for strlcat - not found -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strlen -- Looking for strlen - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for lrintf -- Looking for lrintf - found -- Looking for lrint -- Looking for lrint - found -- Looking for dlfcn.h BUILDSTDERR: CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:70 (message): BUILDSTDERR: Policy CMP0075 is not set: Include file check macros honor BUILDSTDERR: CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy BUILDSTDERR: details. Use the cmake_policy command to set the policy and suppress this BUILDSTDERR: warning. BUILDSTDERR: CMAKE_REQUIRED_LIBRARIES is set to: BUILDSTDERR: m BUILDSTDERR: For compatibility with CMake 3.11 and below this check is ignoring it. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: CMakeLists.txt:104 (check_include_file) BUILDSTDERR: This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for dlfcn.h - found -- Performing Test HAVE_SYNC_FETCH_AND_ADD -- Performing Test HAVE_SYNC_FETCH_AND_ADD - Success -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.35") -- Found JPEG: /usr/lib64/libjpeg.so (found version "62") -- Found Freetype: /usr/lib64/libfreetype.so -- Found PROJ: /usr/lib64/libproj.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.3") -- Found FRIBIDI: /usr/lib64/libfribidi.so -- Checking for module 'harfbuzz>=0.9.18' -- Found harfbuzz, version 2.1.3 -- Found HarfBuzz: /usr/include/harfbuzz -- Looking for iconv -- Looking for iconv - found -- Found iconv library: -- Checking for module 'cairo' -- Found cairo, version 1.16.0 -- Found CAIRO: /usr/lib64/libcairo.so -- Found MySQL: /usr/lib64/libmysqlclient.so -- Found FCGI: /usr/lib64/libfcgi.so -- Found GEOS: /usr/lib64/libgeos_c.so -- Found POSTGRESQL: /usr/lib64/libpq.so -- Looking for PQserverVersion in pq -- Looking for PQserverVersion in pq - found -- Found GDAL: /usr/lib64/libgdal.so -- Found CURL: /usr/lib64/libcurl.so (found version "7.61.1") -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.8") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found LibXslt: /usr/lib64/libxslt.so (found version "1.1.32") -- Found GIF: /usr/lib64/libgif.so (found version "5.1.4") -- Found SWIG: /usr/bin/swig (found version "3.0.12") -- Found Perl: /usr/bin/perl (found version "5.28.1") -- Found PerlLibs: /usr/lib64/libperl.so BUILDSTDERR: CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:492 (message): BUILDSTDERR: SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: mapscript/perl/CMakeLists.txt:12 (SWIG_ADD_MODULE) BUILDSTDERR: CMake Error at mapscript/perl/CMakeLists.txt:21 (get_target_property): BUILDSTDERR: The LOCATION property may not be read from target "perlmapscript". Use the BUILDSTDERR: target name directly with add_custom_command, or use the generator BUILDSTDERR: expression $, as appropriate. -- Found Ruby: /usr/bin/ruby (found version "2.5.1") BUILDSTDERR: CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:492 (message): BUILDSTDERR: SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: mapscript/ruby/CMakeLists.txt:8 (SWIG_ADD_MODULE) BUILDSTDERR: CMake Error at mapscript/ruby/CMakeLists.txt:18 (get_target_property): BUILDSTDERR: The LOCATION property may not be read from target "rubymapscript". Use the BUILDSTDERR: target name directly with add_custom_command, or use the generator BUILDSTDERR: expression $, as appropriate. -- Found JNI: /usr/lib/jvm/jre/lib/riscv64/libjawt.so -- Found Java: /usr/bin/java (found version "1.8.0_181") BUILDSTDERR: CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:492 (message): BUILDSTDERR: SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: mapscript/java/CMakeLists.txt:16 (SWIG_ADD_MODULE) BUILDSTDERR: CMake Error at mapscript/java/CMakeLists.txt:28 (get_target_property): BUILDSTDERR: The LOCATION property may not be read from target "javamapscript". Use the BUILDSTDERR: target name directly with add_custom_command, or use the generator BUILDSTDERR: expression $, as appropriate. -- * Summary of configured options for this build -- * Mandatory components -- * png: /usr/lib64/libpng.so -- * jpeg: /usr/lib64/libjpeg.so -- * freetype: /usr/lib64/libfreetype.so -- * Optional components -- * GDAL: /usr/lib64/libgdal.so -- * OGR: /usr/lib64/libgdal.so -- * GIF: /usr/lib64/libgif.so -- * MYSQL: /usr/lib64/libmysqlclient.so -- * FRIBIDI: /usr/lib64/libfribidi.so -- * HARFBUZZ: /usr/lib64/libharfbuzz.so -- * GIF: /usr/lib64/libgif.so -- * CAIRO: /usr/lib64/libcairo.so -- * SVGCAIRO: disabled -- * RSVG: disabled -- * CURL: /usr/lib64/libcurl.so -- * PROJ: /usr/lib64/libproj.so -- * PIXMAN: disabled -- * LIBXML2: /usr/lib64/libxml2.so -- * POSTGIS: /usr/lib64/libpq.so -- * GEOS: /usr/lib64/libgeos_c.so -- * FastCGI: /usr/lib64/libfcgi.so -- * Oracle Spatial: disabled -- * Exempi XMP: disabled -- * Optional features -- * WMS SERVER: ENABLED -- * WFS SERVER: ENABLED -- * WCS SERVER: ENABLED -- * SOS SERVER: ENABLED -- * WMS CLIENT: ENABLED -- * WFS CLIENT: ENABLED -- * ICONV: ENABLED -- * Thread-safety support: ENABLED -- * KML output: ENABLED -- * Z+M point coordinate support: ENABLED -- * XML Mapfile support: ENABLED -- * Mapscripts -- * Python: disabled -- * PHP: disabled -- * PERL: ENABLED -- * RUBY: ENABLED -- * JAVA: ENABLED -- * C#: disabled -- * V8 Javascript: disabled -- * Apache Module (Experimental): disabled -- -- Will install files to /usr -- Will install libraries to /usr/lib64 -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45/build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/mapserver-208bb3a10fccdc9c1bdab175915072270abb1b45/build/CMakeFiles/CMakeError.log". BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.cqKLfY (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.cqKLfY (%build) RPM build errors: 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/mapserver.spec