Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mapserver.spec'], chrootPath='/var/lib/mock/f33-build-297746-55984/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=432000uid=987gid=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 warning: line 92: Possible unexpanded macro in: Requires: php(zend-abi) = %{php_zend_api} warning: line 93: Possible unexpanded macro in: Requires: php(api) = %{php_core_api} sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1594425600 Wrote: /builddir/build/SRPMS/mapserver-7.4.3-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mapserver.spec'], chrootPath='/var/lib/mock/f33-build-297746-55984/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=432000uid=987gid=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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1594425600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z1Ojdt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mapserver-rel-7-4-3 + /usr/bin/gzip -dc /builddir/build/SOURCES/mapserver-7.4.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mapserver-rel-7-4-3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/mapserver-swig-4.0.1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + ln -sf /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf tests/vera/Vera.ttf + ln -sf /usr/share/fonts/dejavu-sans-fonts/DejaVuSans-Bold.ttf tests/vera/VeraBd.ttf + rm -rf mapscript/perl/mapscript_wrap.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KkPy0r + umask 022 + cd /builddir/build/BUILD + cd mapserver-rel-7-4-3 + mkdir build + cd build + export 'CFLAGS= -ldl -fPIC -fno-strict-aliasing' + CFLAGS=' -ldl -fPIC -fno-strict-aliasing' + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + CFLAGS=' -ldl -fPIC -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DINSTALL_LIB_DIR=/usr/lib64 -DCMAKE_SKIP_RPATH=ON -DCMAKE_SKIP_INSTALL_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_PHP=TRUE -DWITH_POSTGIS=TRUE -DWITH_PROJ=TRUE -DWITH_PYTHON=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 -Wno-dev .. -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- 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 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 -- Looking for dlfcn.h - found -- Performing Test HAVE_SYNC_FETCH_AND_ADD -- Performing Test HAVE_SYNC_FETCH_AND_ADD - Success -- Found ProtobufC: /usr/lib64/libprotobuf-c.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.37") -- 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.7.0") -- Found FRIBIDI: /usr/lib64/libfribidi.so -- Checking for module 'harfbuzz>=0.9.18' -- Found harfbuzz, version 2.6.8 -- 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.67.0") -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.10") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- 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.34") -- Found GIF: /usr/lib64/libgif.so (found version "5.2.1") -- Found SWIG: /usr/bin/swig (found version "4.0.0") -- Found PythonInterp: /usr/bin/python3.9 (found version "3.9") -- Found PY_setuptools: /usr/lib/python3.9/site-packages/setuptools -- CMake Version: 3.18 -- Build Type: -- Python MapScript output directory: /builddir/build/BUILD/mapserver-rel-7-4-3/build/riscv64-redhat-linux-gnu/mapscript/python -- Python Executable: /usr/bin/python3.9 -- Python site packages: /usr/lib64/python3.9/site-packages -- /usr/include/php/main -- Found PHP-Version 7.4.7 (using /usr/bin/php-config) -- Found Perl: /usr/bin/perl (found version "5.32.0") -- Found PerlLibs: /usr/lib64/libperl.so -- Found Ruby: /usr/bin/ruby (found suitable version "2.7.1", minimum required is "1.8.0") -- Found JNI: /usr/lib/jvm/java/jre/lib/riscv64/libjawt.so -- Found Java: /usr/bin/java (found version "1.8.0_212") -- * 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 -- * PROTOBUFC: /usr/lib64/libprotobuf-c.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: ENABLED -- * PHP: ENABLED -- * PHPNG: 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 done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR WITH_GD WITH_SDE WITH_SDE_PLUGIN -- Build files have been written to: /builddir/build/BUILD/mapserver-rel-7-4-3/build/riscv64-redhat-linux-gnu + /usr/bin/make -O -j4 V=1 VERBOSE=1 make: *** No targets specified and no makefile found. Stop. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.KkPy0r (%build) Bad exit status from /var/tmp/rpm-tmp.KkPy0r (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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