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/GMT.spec'], chrootPath='/var/lib/mock/f33-build-190181-46311/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/GMT.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=1583193600 Wrote: /builddir/build/SRPMS/GMT-6.0.0-3.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/GMT.spec'], chrootPath='/var/lib/mock/f33-build-190181-46311/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/GMT.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=1583193600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fex2po + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gmt-6.0.0 + /usr/bin/xz -dc /builddir/build/SOURCES/gmt-6.0.0-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gmt-6.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/gmt_gcc10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wFxdvq + umask 022 + cd /builddir/build/BUILD + cd gmt-6.0.0 + mkdir build + pushd build ~/build/BUILD/gmt-6.0.0/build ~/build/BUILD/gmt-6.0.0 + CFLAGS='-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' + export CFLAGS + 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' + 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 -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 -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/cmake -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 -DGSHHG_ROOT=/usr/share/gshhg-gmt-nc4 -DGMT_INSTALL_MODULE_LINKS=off -DGMT_INSTALL_TRADITIONAL_FOLDERNAMES=off -DLICENSE_RESTRICTED=LGPL -DGMT_OPENMP=BOOL:ON -DGMT_USE_THREADS=BOOL:ON -DBASH_COMPLETION_DIR=/usr/share/bash-completion/completions .. CMake Deprecation Warning at CMakeLists.txt:62 (cmake_policy): The OLD behavior for policy CMP0026 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 10.0.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 -- Found UnixCommands: /usr/bin/bash -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning at src/CMakeLists.txt:77 (message): Cannot find ffmpeg - gmt movie will be unable to make movies from frames -- Searching dependent libraries. This may take a few minutes... -- Looking for nc_def_var_deflate -- Looking for nc_def_var_deflate - found -- Found NETCDF: /usr/lib64/libnetcdf.so -- Found CURL: /usr/lib64/libcurl.so (found version "7.67.0") -- Found GDAL: /usr/lib64/libgdal.so -- Found PCRE: /usr/lib64/libpcre.so -- Looking for fftwf_import_wisdom_from_filename -- Looking for fftwf_import_wisdom_from_filename - found -- Found FFTW3: /usr/lib64/libfftw3f.so -- Looking for sgemm_ -- Looking for sgemm_ - not found -- 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 -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib64/libopenblas.so -- Looking for cheev_ -- Looking for cheev_ - found -- A library with LAPACK API found. -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") -- Found GLIB: /usr/include/glib-2.0;/usr/lib64/glib-2.0/include (found version "2.64.2") -- Performing Test HAVE_TRADITIONAL_CPP -- Performing Test HAVE_TRADITIONAL_CPP - Failed -- Performing Test HAVE___FUNC__ -- Performing Test HAVE___FUNC__ - Success -- Performing Test HAVE___FUNCTION__ -- Performing Test HAVE___FUNCTION__ - Success -- Performing Test HAVE_C_inline -- Performing Test HAVE_C_inline - Success -- Looking for io.h -- Looking for io.h - not found -- Looking for direct.h -- Looking for direct.h - not found -- Looking for process.h -- Looking for process.h - not found -- Looking for assert.h -- Looking for assert.h - found -- Looking for dirent.h -- Looking for dirent.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for sys/dir.h -- Looking for sys/dir.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/ucontext.h -- Looking for sys/ucontext.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for fcntl -- Looking for fcntl - found -- Looking for fopen64 -- Looking for fopen64 - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for ftello -- Looking for ftello - found -- Looking for getpwuid -- Looking for getpwuid - found -- Looking for abs -- Looking for abs - found -- Looking for llabs -- Looking for llabs - found -- Looking for pclose -- Looking for pclose - found -- Looking for popen -- Looking for popen - found -- Looking for qsort_r -- Looking for qsort_r - found -- Performing Test HAVE_QSORT_R_GLIBC -- Performing Test HAVE_QSORT_R_GLIBC - Success -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for stricmp -- Looking for stricmp - not found -- Looking for strnicmp -- Looking for strnicmp - not found -- Looking for strdup -- Looking for strdup - found -- Looking for strndup -- Looking for strndup - found -- Looking for strsep -- Looking for strsep - found -- Looking for strtod -- Looking for strtod - found -- Looking for strtof -- Looking for strtof - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for strdup -- Looking for strdup - found -- Looking for strsep -- Looking for strsep - found -- Looking for basename -- Looking for basename - found -- Looking for fileno -- Looking for fileno - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for access -- Looking for access - found -- Looking for getpid -- Looking for getpid - found -- Looking for dlopen -- Looking for dlopen - not found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for dladdr -- Looking for dladdr - found -- Looking for memalign -- Looking for memalign - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Performing Test HAVE_SC_NPROCESSORS_ONLN -- Performing Test HAVE_SC_NPROCESSORS_ONLN - Success -- Performing Test HAVE_SC_NPROC_ONLN -- Performing Test HAVE_SC_NPROC_ONLN - Failed -- Performing Test HAVE_SYSCTL_HW_NCPU -- Performing Test HAVE_SYSCTL_HW_NCPU - Failed -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of _Bool -- Check size of _Bool - done -- Check size of bool -- Check size of bool - failed -- Check size of int -- Check size of int - done -- Check size of greg_t -- Check size of greg_t - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Check size of long double -- Check size of long double - done -- Check size of mode_t -- Check size of mode_t - done -- Check size of off_t -- Check size of off_t - done -- Check size of size_t -- Check size of size_t - done -- Check size of wchar_t -- Check size of wchar_t - done -- Check size of void* -- Check size of void* - done -- Check if the system is big endian -- Searching 16 bit integer -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Performing Test HAVE___BUILTIN_BSWAP16 -- Performing Test HAVE___BUILTIN_BSWAP16 - Success -- Performing Test HAVE___BUILTIN_BSWAP32 -- Performing Test HAVE___BUILTIN_BSWAP32 - Success -- Performing Test HAVE___BUILTIN_BSWAP64 -- Performing Test HAVE___BUILTIN_BSWAP64 - Success -- Looking for floatingpoint.h -- Looking for floatingpoint.h - not found -- Looking for ieeefp.h -- Looking for ieeefp.h - not found -- Looking for cos -- Looking for cos - not found -- Looking for cos in m -- Looking for cos in m - found -- Looking for acosh -- Looking for acosh - found -- Looking for asinh -- Looking for asinh - found -- Looking for atanh -- Looking for atanh - found -- Looking for copysign -- Looking for copysign - found -- Looking for erf -- Looking for erf - found -- Looking for erfc -- Looking for erfc - found -- Looking for hypot -- Looking for hypot - found -- Looking for isfinite -- Looking for isfinite - found -- Looking for isinf -- Looking for isinf - found -- Looking for isnan -- Looking for isnan - found -- Looking for isnand -- Looking for isnand - not found -- Looking for isnanf -- Looking for isnanf - found -- Looking for isnormal -- Looking for isnormal - found -- Looking for j0 -- Looking for j0 - found -- Looking for j1 -- Looking for j1 - found -- Looking for jn -- Looking for jn - found -- Looking for lrint -- Looking for lrint - found -- Looking for llrint -- Looking for llrint - found -- Looking for log1p -- Looking for log1p - found -- Looking for log2 -- Looking for log2 - found -- Looking for rint -- Looking for rint - found -- Looking for sincos -- Looking for sincos - found -- Looking for y0 -- Looking for y0 - found -- Looking for y1 -- Looking for y1 - found -- Looking for yn -- Looking for yn - found -- Looking for acosf -- Looking for acosf - found -- Looking for acoshf -- Looking for acoshf - found -- Looking for asinf -- Looking for asinf - found -- Looking for asinhf -- Looking for asinhf - found -- Looking for atanf -- Looking for atanf - found -- Looking for atanhf -- Looking for atanhf - found -- Looking for atan2f -- Looking for atan2f - found -- Looking for erff -- Looking for erff - found -- Looking for ceilf -- Looking for ceilf - found -- Looking for cosf -- Looking for cosf - found -- Looking for coshf -- Looking for coshf - found -- Looking for erfcf -- Looking for erfcf - found -- Looking for expf -- Looking for expf - found -- Looking for fabsf -- Looking for fabsf - found -- Looking for floorf -- Looking for floorf - found -- Looking for fmodf -- Looking for fmodf - found -- Looking for hypotf -- Looking for hypotf - found -- Looking for logf -- Looking for logf - found -- Looking for log2f -- Looking for log2f - found -- Looking for log10f -- Looking for log10f - found -- Looking for log1pf -- Looking for log1pf - found -- Looking for lrintf -- Looking for lrintf - found -- Looking for llrintf -- Looking for llrintf - found -- Looking for powf -- Looking for powf - found -- Looking for rintf -- Looking for rintf - found -- Looking for sinf -- Looking for sinf - found -- Looking for sinhf -- Looking for sinhf - found -- Looking for sqrtf -- Looking for sqrtf - found -- Looking for tanf -- Looking for tanf - found -- Looking for tanhf -- Looking for tanhf - found -- Checking whether system has ANSI C header files -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Performing Test memchrExists -- Performing Test memchrExists - Success -- Performing Test freeExists -- Performing Test freeExists - Success -- ANSI C header files - found -- Found GSHHG: /usr/share/gshhg-gmt-nc4 -- Found DCW: /usr/share/dcw-gmt -- Using CFLAGS = '-std=gnu99 -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 -fopenmp -DNDEBUG' -- Found Sphinx: /usr/bin/sphinx-build * * GMT Version: : 6.0.0 * * Options: * Found GSHHG database : /usr/share/gshhg-gmt-nc4 (2.3.3) * Found DCW-GMT database : /usr/share/dcw-gmt * Found GMT data server : https://oceania.generic-mapping-tools.org * NetCDF library : /usr/lib64/libnetcdf.so * NetCDF include dir : /usr/include * Curl library : * Curl include dir : /usr/include * GDAL library : /usr/lib64/libgdal.so * GDAL include dir : /usr/include/gdal * FFTW library : /usr/lib64/libfftw3f.so * FFTW include dir : /usr/include * Accelerate Framework : * Regex support : PCRE (/usr/lib64/libpcre.so) * ZLIB library : * ZLIB include dir : /usr/include * LAPACK library : yes * BLAS library : yes * License restriction : LGPL * Triangulation method : Watson * OpenMP support : enabled * GLIB GTHREAD support : enabled * Build mode : shared * Build GMT core : always [libgmt.so] * Build PSL library : always [libpostscriptlight.so] * Build GMT supplements : yes [supplements.so] * Build GMT for developers : yes * Build proto supplements : none * Found Ghostscript (gs) : yes (9.52) * Found GraphicsMagick (gm) : yes (1.3.35) * Found ffmpeg : no * Found open : yes * Found ogr2ogr : yes (3.0.4) * Found gdal_translate : yes (3.0.4) * * Locations: * Installing GMT in : /usr * GMT_DATADIR : /usr/share/gmt * GMT_DOCDIR : /usr/share/doc/gmt * GMT_MANDIR : /usr/share/doc/gmt/man -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/gmt-6.0.0/build + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/gmt-6.0.0 -B/builddir/build/BUILD/gmt-6.0.0/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/gmt-6.0.0/build/CMakeFiles /builddir/build/BUILD/gmt-6.0.0/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/CMakeFiles/gen_gmt_headers.dir/build.make src/CMakeFiles/gen_gmt_headers.dir/depend /usr/bin/make -f src/CMakeFiles/gshhg_version.dir/build.make src/CMakeFiles/gshhg_version.dir/depend /usr/bin/make -f src/CMakeFiles/script2verbatim.dir/build.make src/CMakeFiles/script2verbatim.dir/depend make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' cd /builddir/build/BUILD/gmt-6.0.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.0.0 /builddir/build/BUILD/gmt-6.0.0/src /builddir/build/BUILD/gmt-6.0.0/build /builddir/build/BUILD/gmt-6.0.0/build/src /builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gen_gmt_headers.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gen_gmt_headers.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gen_gmt_headers.dir/depend.internal". Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gen_gmt_headers.dir/depend.internal". Scanning dependencies of target gen_gmt_headers make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /usr/bin/make -f src/CMakeFiles/gen_gmt_headers.dir/build.make src/CMakeFiles/gen_gmt_headers.dir/build make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' cd /builddir/build/BUILD/gmt-6.0.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.0.0 /builddir/build/BUILD/gmt-6.0.0/src /builddir/build/BUILD/gmt-6.0.0/build /builddir/build/BUILD/gmt-6.0.0/build/src /builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/script2verbatim.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/script2verbatim.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/script2verbatim.dir/depend.internal". Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/script2verbatim.dir/depend.internal". Scanning dependencies of target script2verbatim make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /usr/bin/make -f src/CMakeFiles/script2verbatim.dir/build.make src/CMakeFiles/script2verbatim.dir/build make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' cd /builddir/build/BUILD/gmt-6.0.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.0.0 /builddir/build/BUILD/gmt-6.0.0/src /builddir/build/BUILD/gmt-6.0.0/build /builddir/build/BUILD/gmt-6.0.0/build/src /builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gshhg_version.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gshhg_version.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gshhg_version.dir/depend.internal". Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gshhg_version.dir/depend.internal". Scanning dependencies of target gshhg_version make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /usr/bin/make -f src/CMakeFiles/gshhg_version.dir/build.make src/CMakeFiles/gshhg_version.dir/build make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Generating gmt_keycases.h, gmt_keywords.h cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cmake -D GENERATE_COMMAND=gen_gmt_keywords_h -D CMAKE_MODULE_PATH=/builddir/build/BUILD/gmt-6.0.0/cmake/modules/ -D GMT_SRC=/builddir/build/BUILD/gmt-6.0.0 -P /builddir/build/BUILD/gmt-6.0.0/cmake/modules//GmtGenExtraHeaders.cmake make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Generating gmt_dimensions.h cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cmake -D GENERATE_COMMAND=gen_gmt_dimensions_h -D CMAKE_MODULE_PATH=/builddir/build/BUILD/gmt-6.0.0/cmake/modules/ -D GMT_SRC=/builddir/build/BUILD/gmt-6.0.0 -P /builddir/build/BUILD/gmt-6.0.0/cmake/modules//GmtGenExtraHeaders.cmake make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Building C object src/CMakeFiles/script2verbatim.dir/script2verbatim.c.o cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cc -I/builddir/build/BUILD/gmt-6.0.0/build/src -I/builddir/build/BUILD/gmt-6.0.0/src -I/usr/include/gdal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/builddir/build/BUILD/gmt-6.0.0/build/src/geodesy -I/builddir/build/BUILD/gmt-6.0.0/build/src/gshhg -I/builddir/build/BUILD/gmt-6.0.0/build/src/img -I/builddir/build/BUILD/gmt-6.0.0/build/src/mgd77 -I/builddir/build/BUILD/gmt-6.0.0/build/src/potential -I/builddir/build/BUILD/gmt-6.0.0/build/src/segy -I/builddir/build/BUILD/gmt-6.0.0/build/src/seis -I/builddir/build/BUILD/gmt-6.0.0/build/src/spotter -I/builddir/build/BUILD/gmt-6.0.0/build/src/x2sys -std=gnu99 -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 -fopenmp -DNDEBUG -o CMakeFiles/script2verbatim.dir/script2verbatim.c.o -c /builddir/build/BUILD/gmt-6.0.0/src/script2verbatim.c make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Building C object src/CMakeFiles/gshhg_version.dir/gshhg_version.c.o cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cc -DSTANDALONE -I/builddir/build/BUILD/gmt-6.0.0/build/src -I/builddir/build/BUILD/gmt-6.0.0/src -I/usr/include/gdal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/builddir/build/BUILD/gmt-6.0.0/build/src/geodesy -I/builddir/build/BUILD/gmt-6.0.0/build/src/gshhg -I/builddir/build/BUILD/gmt-6.0.0/build/src/img -I/builddir/build/BUILD/gmt-6.0.0/build/src/mgd77 -I/builddir/build/BUILD/gmt-6.0.0/build/src/potential -I/builddir/build/BUILD/gmt-6.0.0/build/src/segy -I/builddir/build/BUILD/gmt-6.0.0/build/src/seis -I/builddir/build/BUILD/gmt-6.0.0/build/src/spotter -I/builddir/build/BUILD/gmt-6.0.0/build/src/x2sys -std=gnu99 -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 -fopenmp -DNDEBUG -o CMakeFiles/gshhg_version.dir/gshhg_version.c.o -c /builddir/build/BUILD/gmt-6.0.0/src/gshhg_version.c make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[1]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Built target gen_gmt_headers make[1]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /usr/bin/make -f src/CMakeFiles/pslib.dir/build.make src/CMakeFiles/pslib.dir/depend make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' cd /builddir/build/BUILD/gmt-6.0.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.0.0 /builddir/build/BUILD/gmt-6.0.0/src /builddir/build/BUILD/gmt-6.0.0/build /builddir/build/BUILD/gmt-6.0.0/build/src /builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/pslib.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/pslib.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/pslib.dir/depend.internal". Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/pslib.dir/depend.internal". Scanning dependencies of target pslib make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /usr/bin/make -f src/CMakeFiles/pslib.dir/build.make src/CMakeFiles/pslib.dir/build make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Linking C executable script2verbatim cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/script2verbatim.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -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 -fopenmp -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/script2verbatim.dir/script2verbatim.c.o -o script2verbatim make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[1]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Built target script2verbatim make[1]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Linking C executable gshhg_version cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/gshhg_version.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -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 -fopenmp -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/gshhg_version.dir/gshhg_version.c.o -o gshhg_version -lnetcdf make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[1]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Built target gshhg_version make[1]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Building C object src/CMakeFiles/pslib.dir/postscriptlight.c.o cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.0.0/build/src -I/builddir/build/BUILD/gmt-6.0.0/src -I/usr/include/gdal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/builddir/build/BUILD/gmt-6.0.0/build/src/geodesy -I/builddir/build/BUILD/gmt-6.0.0/build/src/gshhg -I/builddir/build/BUILD/gmt-6.0.0/build/src/img -I/builddir/build/BUILD/gmt-6.0.0/build/src/mgd77 -I/builddir/build/BUILD/gmt-6.0.0/build/src/potential -I/builddir/build/BUILD/gmt-6.0.0/build/src/segy -I/builddir/build/BUILD/gmt-6.0.0/build/src/seis -I/builddir/build/BUILD/gmt-6.0.0/build/src/spotter -I/builddir/build/BUILD/gmt-6.0.0/build/src/x2sys -std=gnu99 -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 -fopenmp -DNDEBUG -fPIC -o CMakeFiles/pslib.dir/postscriptlight.c.o -c /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c: In function 'PSL_makepen': /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c:4668:28: warning: '%s' directive writing up to 4095 bytes into a region of size 4091 [-Wformat-overflow=] 3183 | return (text); | ~ ...... 4668 | sprintf (buffer, "%d W %s %s", psl_ip (PSL, linewidth), psl_putcolor (PSL, rgb), psl_putdash (PSL, pattern, offset)); | ^~ In file included from /usr/include/stdio.h:871, from /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c:117: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 4096 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c:119: In function 'strncpy', inlined from 'psl_init_fonts' at /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c:3151:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 31 bytes from a string of length 4095 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'psl_fix_utf8' at /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c:695:2, inlined from 'psl_prepare_text' at /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c:1637:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c: In function 'psl_prepare_text': /builddir/build/BUILD/gmt-6.0.0/src/postscriptlight.c:695:2: note: length computed here 695 | strncpy (in_string, out_string, strlen (out_string)); /* Overwrite old string with possibly adjusted string */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 2%] Linking C shared library libpostscriptlight.so cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/pslib.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -std=gnu99 -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 -fopenmp -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libpostscriptlight.so.6 -o libpostscriptlight.so.6.0.0 CMakeFiles/pslib.dir/postscriptlight.c.o -lm -lz -ldl cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cmake -E cmake_symlink_library libpostscriptlight.so.6.0.0 libpostscriptlight.so.6 libpostscriptlight.so make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[1]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 5%] Built target pslib make[1]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /usr/bin/make -f src/CMakeFiles/gmtlib.dir/build.make src/CMakeFiles/gmtlib.dir/depend /usr/bin/make -f src/CMakeFiles/psldemo.dir/build.make src/CMakeFiles/psldemo.dir/depend make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' cd /builddir/build/BUILD/gmt-6.0.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.0.0 /builddir/build/BUILD/gmt-6.0.0/src /builddir/build/BUILD/gmt-6.0.0/build /builddir/build/BUILD/gmt-6.0.0/build/src /builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/psldemo.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/psldemo.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/psldemo.dir/depend.internal". Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/psldemo.dir/depend.internal". Scanning dependencies of target psldemo make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /usr/bin/make -f src/CMakeFiles/psldemo.dir/build.make src/CMakeFiles/psldemo.dir/build make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 5%] Building C object src/CMakeFiles/psldemo.dir/psldemo.c.o cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cc -I/builddir/build/BUILD/gmt-6.0.0/build/src -I/builddir/build/BUILD/gmt-6.0.0/src -I/usr/include/gdal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/builddir/build/BUILD/gmt-6.0.0/build/src/geodesy -I/builddir/build/BUILD/gmt-6.0.0/build/src/gshhg -I/builddir/build/BUILD/gmt-6.0.0/build/src/img -I/builddir/build/BUILD/gmt-6.0.0/build/src/mgd77 -I/builddir/build/BUILD/gmt-6.0.0/build/src/potential -I/builddir/build/BUILD/gmt-6.0.0/build/src/segy -I/builddir/build/BUILD/gmt-6.0.0/build/src/seis -I/builddir/build/BUILD/gmt-6.0.0/build/src/spotter -I/builddir/build/BUILD/gmt-6.0.0/build/src/x2sys -std=gnu99 -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 -fopenmp -DNDEBUG -o CMakeFiles/psldemo.dir/psldemo.c.o -c /builddir/build/BUILD/gmt-6.0.0/src/psldemo.c make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 5%] Linking C executable psldemo cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/psldemo.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -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 -fopenmp -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/psldemo.dir/psldemo.c.o -o psldemo -Wl,-rpath,/builddir/build/BUILD/gmt-6.0.0/build/src libpostscriptlight.so.6.0.0 -lm -lz -ldl make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[1]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 5%] Built target psldemo make[1]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' cd /builddir/build/BUILD/gmt-6.0.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.0.0 /builddir/build/BUILD/gmt-6.0.0/src /builddir/build/BUILD/gmt-6.0.0/build /builddir/build/BUILD/gmt-6.0.0/build/src /builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gmtlib.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gmtlib.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gmtlib.dir/depend.internal". Dependee "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/gmt-6.0.0/build/src/CMakeFiles/gmtlib.dir/depend.internal". Scanning dependencies of target gmtlib make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /usr/bin/make -f src/CMakeFiles/gmtlib.dir/build.make src/CMakeFiles/gmtlib.dir/build make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 7%] Building C object src/CMakeFiles/gmtlib.dir/common_sighandler.c.o cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.0.0/build/src -I/builddir/build/BUILD/gmt-6.0.0/src -I/usr/include/gdal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/builddir/build/BUILD/gmt-6.0.0/build/src/geodesy -I/builddir/build/BUILD/gmt-6.0.0/build/src/gshhg -I/builddir/build/BUILD/gmt-6.0.0/build/src/img -I/builddir/build/BUILD/gmt-6.0.0/build/src/mgd77 -I/builddir/build/BUILD/gmt-6.0.0/build/src/potential -I/builddir/build/BUILD/gmt-6.0.0/build/src/segy -I/builddir/build/BUILD/gmt-6.0.0/build/src/seis -I/builddir/build/BUILD/gmt-6.0.0/build/src/spotter -I/builddir/build/BUILD/gmt-6.0.0/build/src/x2sys -std=gnu99 -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 -fopenmp -DNDEBUG -fPIC -o CMakeFiles/gmtlib.dir/common_sighandler.c.o -c /builddir/build/BUILD/gmt-6.0.0/src/common_sighandler.c make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' /builddir/build/BUILD/gmt-6.0.0/src/common_sighandler.c: In function 'sig_handler': /builddir/build/BUILD/gmt-6.0.0/src/common_sighandler.c:98:49: error: 'mcontext_t' has no member named 'gregs'; did you mean '__gregs'? 98 | # define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP]) | ^~~~~ /builddir/build/BUILD/gmt-6.0.0/src/common_sighandler.c:173:14: note: in expansion of macro 'UC_IP' 173 | array [0] = UC_IP (uc); /* caller's address */ | ^~~~~ /builddir/build/BUILD/gmt-6.0.0/src/common_sighandler.c:98:55: error: 'REG_EIP' undeclared (first use in this function); did you mean 'REG_TP'? 98 | # define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP]) | ^~~~~~~ /builddir/build/BUILD/gmt-6.0.0/src/common_sighandler.c:173:14: note: in expansion of macro 'UC_IP' 173 | array [0] = UC_IP (uc); /* caller's address */ | ^~~~~ /builddir/build/BUILD/gmt-6.0.0/src/common_sighandler.c:98:55: note: each undeclared identifier is reported only once for each function it appears in 98 | # define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP]) | ^~~~~~~ /builddir/build/BUILD/gmt-6.0.0/src/common_sighandler.c:173:14: note: in expansion of macro 'UC_IP' 173 | array [0] = UC_IP (uc); /* caller's address */ | ^~~~~ make[2]: *** [src/CMakeFiles/gmtlib.dir/build.make:82: src/CMakeFiles/gmtlib.dir/common_sighandler.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 7%] Building C object src/CMakeFiles/gmtlib.dir/begin.c.o cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.0.0/build/src -I/builddir/build/BUILD/gmt-6.0.0/src -I/usr/include/gdal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/builddir/build/BUILD/gmt-6.0.0/build/src/geodesy -I/builddir/build/BUILD/gmt-6.0.0/build/src/gshhg -I/builddir/build/BUILD/gmt-6.0.0/build/src/img -I/builddir/build/BUILD/gmt-6.0.0/build/src/mgd77 -I/builddir/build/BUILD/gmt-6.0.0/build/src/potential -I/builddir/build/BUILD/gmt-6.0.0/build/src/segy -I/builddir/build/BUILD/gmt-6.0.0/build/src/seis -I/builddir/build/BUILD/gmt-6.0.0/build/src/spotter -I/builddir/build/BUILD/gmt-6.0.0/build/src/x2sys -std=gnu99 -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 -fopenmp -DNDEBUG -fPIC -o CMakeFiles/gmtlib.dir/begin.c.o -c /builddir/build/BUILD/gmt-6.0.0/src/begin.c make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' In file included from /builddir/build/BUILD/gmt-6.0.0/src/begin.c:35: /builddir/build/BUILD/gmt-6.0.0/src/gmt_gsformats.h:33:13: warning: 'gmt_session_code' defined but not used [-Wunused-variable] 33 | static char gmt_session_code[] = { 'f', 'j', 'j', 'g', 'G', 'm', 't', 't', 'b', 'e', 'p', 0}; | ^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 7%] Building C object src/CMakeFiles/gmtlib.dir/clear.c.o cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.0.0/build/src -I/builddir/build/BUILD/gmt-6.0.0/src -I/usr/include/gdal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/builddir/build/BUILD/gmt-6.0.0/build/src/geodesy -I/builddir/build/BUILD/gmt-6.0.0/build/src/gshhg -I/builddir/build/BUILD/gmt-6.0.0/build/src/img -I/builddir/build/BUILD/gmt-6.0.0/build/src/mgd77 -I/builddir/build/BUILD/gmt-6.0.0/build/src/potential -I/builddir/build/BUILD/gmt-6.0.0/build/src/segy -I/builddir/build/BUILD/gmt-6.0.0/build/src/seis -I/builddir/build/BUILD/gmt-6.0.0/build/src/spotter -I/builddir/build/BUILD/gmt-6.0.0/build/src/x2sys -std=gnu99 -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 -fopenmp -DNDEBUG -fPIC -o CMakeFiles/gmtlib.dir/clear.c.o -c /builddir/build/BUILD/gmt-6.0.0/src/clear.c make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[2]: Entering directory '/builddir/build/BUILD/gmt-6.0.0/build' [ 7%] Building C object src/CMakeFiles/gmtlib.dir/gmt_modern.c.o cd /builddir/build/BUILD/gmt-6.0.0/build/src && /usr/bin/cc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.0.0/build/src -I/builddir/build/BUILD/gmt-6.0.0/src -I/usr/include/gdal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/builddir/build/BUILD/gmt-6.0.0/build/src/geodesy -I/builddir/build/BUILD/gmt-6.0.0/build/src/gshhg -I/builddir/build/BUILD/gmt-6.0.0/build/src/img -I/builddir/build/BUILD/gmt-6.0.0/build/src/mgd77 -I/builddir/build/BUILD/gmt-6.0.0/build/src/potential -I/builddir/build/BUILD/gmt-6.0.0/build/src/segy -I/builddir/build/BUILD/gmt-6.0.0/build/src/seis -I/builddir/build/BUILD/gmt-6.0.0/build/src/spotter -I/builddir/build/BUILD/gmt-6.0.0/build/src/x2sys -std=gnu99 -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 -fopenmp -DNDEBUG -fPIC -o CMakeFiles/gmtlib.dir/gmt_modern.c.o -c /builddir/build/BUILD/gmt-6.0.0/src/gmt_modern.c make[2]: Leaving directory '/builddir/build/BUILD/gmt-6.0.0/build' make[1]: *** [CMakeFiles/Makefile2:587: src/CMakeFiles/gmtlib.dir/all] Error 2 make: *** [Makefile:155: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.wFxdvq (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wFxdvq (%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/GMT.spec