Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/GMT.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-181626-80151/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/GMT-6.4.0-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/GMT.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-181626-80151/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Zj5MFZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gmt-6.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gmt-6.4.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gmt-6.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/6044.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/GMT-c99.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4DeJCS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gmt-6.4.0 + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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 loongarch64-OpenCloudOS-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_DO_STRIP:BOOL=OFF -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 -DCMAKE_INSTALL_LIBDIR=lib64 -DGSHHG_ROOT=/usr/share/gshhg-gmt-nc4 -DGMT_INSTALL_MODULE_LINKS=off -DGMT_INSTALL_TRADITIONAL_FOLDERNAMES=off -DLICENSE_RESTRICTED=LGPL -DGMT_ENABLE_OPENMP=BOOL:ON -DGMT_USE_THREADS=BOOL:ON -DGMT_EXCLUDE_BLAS=BOOL:ON -DGMT_EXCLUDE_LAPACK=BOOL:ON -DBLAS_LIBRARY=-lflexiblas -DLAPACK_LIBRARY=-lflexiblas -DBASH_COMPLETION_DIR=/usr/share/bash-completion/completions CMake version: 3.26.5 -- The C compiler identification is GNU 12.3.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 -- Found UnixCommands: /usr/bin/bash -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning at src/CMakeLists.txt:99 (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 "8.4.0") -- Found GDAL: /usr/lib64/libgdal.so -- Found GEOS: /usr/lib64/libgeos_c.so (3.11.2) -- Could NOT find PCRE (missing: PCRE_LIBRARY PCRE_INCLUDE_DIR) -- Found PCRE2: /usr/lib64/libpcre2-8.so -- Looking for fftwf_plan_with_nthreads in /usr/lib64/libfftw3f.so -- Looking for fftwf_plan_with_nthreads in /usr/lib64/libfftw3f.so - not found -- Looking for fftwf_import_wisdom_from_filename -- Looking for fftwf_import_wisdom_from_filename - found -- Found FFTW3: /usr/lib64/libfftw3f.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Found GLIB: /usr/include/glib-2.0;/usr/lib64/glib-2.0/include (found version "2.78.3") -- Found GSHHG: /usr/share/gshhg-gmt-nc4 -- Found DCW: /usr/share/dcw-gmt -- 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 strtok_r -- Looking for strtok_r - found -- Looking for strtof -- Looking for strtof - found -- Looking for strsignal -- Looking for strsignal - 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 - 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 -- 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 -- Using CFLAGS = '-std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG' -- Found Sphinx: /usr/bin/sphinx-build * * GMT Version: : 6.4.0 * * Options: * Found GSHHG database : /usr/share/gshhg-gmt-nc4 (2.3.7) * Found DCW-GMT database : /usr/share/dcw-gmt (2.1.2) * Found GMT data server : oceania * NetCDF library : /usr/lib64/libnetcdf.so * NetCDF include dir : /usr/include * Curl library : /usr/lib64/libcurl.so * Curl include dir : /usr/include * GDAL library : /usr/lib64/libgdal.so * GDAL include dir : /usr/include/gdal * GEOS library : /usr/lib64/libgeos_c.so * GEOS include dir : /usr/include * FFTW library : /usr/lib64/libfftw3f.so * FFTW threads library : /usr/lib64/libfftw3f_threads.so * FFTW include dir : /usr/include * Accelerate Framework : * Regex support : PCRE2 (/usr/lib64/libpcre2-8.so) * ZLIB library : /usr/lib64/libz.so * ZLIB include dir : /usr/include * LAPACK library : yes * BLAS library : yes * License restriction : LGPL * Triangulation method : Watson * OpenMP support : enabled * GLIB GTHREAD support : enabled (2.78.3) * Build generator : Unix Makefiles * 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 * Build module links : no * Found Ghostscript (gs) : yes (10.02.1) * Found GraphicsMagick (gm) : yes (1.3.40) * Found ffmpeg : no * Found open : yes * Found ogr2ogr : yes (3.6.3) * Found gdal_translate : yes (3.6.3) * * 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 (67.6s) -- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP GMT_EXCLUDE_BLAS GMT_EXCLUDE_LAPACK 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.4.0/loongarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build loongarch64-OpenCloudOS-linux-gnu -j32 --verbose /usr/bin/cmake -S/builddir/build/BUILD/gmt-6.4.0 -B/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/CMakeFiles /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/gen_gmt_headers.dir/build.make src/CMakeFiles/gen_gmt_headers.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.4.0 /builddir/build/BUILD/gmt-6.4.0/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/gen_gmt_headers.dir/DependInfo.cmake --color= /usr/bin/gmake -f src/CMakeFiles/gshhg_version.dir/build.make src/CMakeFiles/gshhg_version.dir/depend /usr/bin/gmake -f src/CMakeFiles/script2verbatim.dir/build.make src/CMakeFiles/script2verbatim.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.4.0 /builddir/build/BUILD/gmt-6.4.0/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/gshhg_version.dir/DependInfo.cmake --color= /usr/bin/gmake -f src/CMakeFiles/gen_gmt_suppl_supplements_headers.dir/build.make src/CMakeFiles/gen_gmt_suppl_supplements_headers.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.4.0 /builddir/build/BUILD/gmt-6.4.0/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/script2verbatim.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.4.0 /builddir/build/BUILD/gmt-6.4.0/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/gen_gmt_suppl_supplements_headers.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/gshhg_version.dir/build.make src/CMakeFiles/gshhg_version.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/gen_gmt_headers.dir/build.make src/CMakeFiles/gen_gmt_headers.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/gen_gmt_suppl_supplements_headers.dir/build.make src/CMakeFiles/gen_gmt_suppl_supplements_headers.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/script2verbatim.dir/build.make src/CMakeFiles/script2verbatim.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' [ 0%] Generating gmt_supplements_moduleinfo.h cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -D GENERATE_COMMAND=gen_gmt_moduleinfo_h -D OUTPUT_HEADER_FILE="gmt_supplements_moduleinfo.h" -D PROGS_SRCS="geodesy/gpsgridder.c geodesy/earthtide.c geodesy/psvelo.c gshhg/gshhg.c img/img2grd.c mgd77/mgd77convert.c mgd77/mgd77header.c mgd77/mgd77info.c mgd77/mgd77list.c mgd77/mgd77magref.c mgd77/mgd77manage.c mgd77/mgd77path.c mgd77/mgd77sniffer.c mgd77/mgd77track.c potential/grdredpol.c potential/gmtgravmag3d.c potential/gmtflexure.c potential/gravfft.c potential/gravprisms.c potential/grdflexure.c potential/grdgravmag3d.c potential/grdseamount.c potential/talwani2d.c potential/talwani3d.c segy/segy2grd.c segy/pssegy.c segy/pssegyz.c seis/psmeca.c seis/pspolar.c seis/pscoupe.c seis/pssac.c spotter/backtracker.c spotter/gmtpmodeler.c spotter/grdpmodeler.c spotter/grdrotater.c spotter/polespotter.c spotter/grdspotter.c spotter/hotspotter.c spotter/originater.c spotter/rotconverter.c spotter/rotsmoother.c x2sys/x2sys_init.c x2sys/x2sys_put.c x2sys/x2sys_get.c x2sys/x2sys_binlist.c x2sys/x2sys_datalist.c x2sys/x2sys_cross.c x2sys/x2sys_list.c x2sys/x2sys_report.c x2sys/x2sys_solve.c x2sys/x2sys_merge.c" -D GMT_SRC=/builddir/build/BUILD/gmt-6.4.0 -D CMAKE_MODULE_PATH=/builddir/build/BUILD/gmt-6.4.0/cmake/modules/ -P /builddir/build/BUILD/gmt-6.4.0/cmake/modules//GmtGenExtraHeaders.cmake [ 0%] Building C object src/CMakeFiles/gshhg_version.dir/gshhg_version.c.o [ 0%] Generating gmt_keycases.h, gmt_keywords.h cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DSTANDALONE -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -MD -MT src/CMakeFiles/gshhg_version.dir/gshhg_version.c.o -MF CMakeFiles/gshhg_version.dir/gshhg_version.c.o.d -o CMakeFiles/gshhg_version.dir/gshhg_version.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gshhg_version.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -D GENERATE_COMMAND=gen_gmt_keywords_h -D CMAKE_MODULE_PATH=/builddir/build/BUILD/gmt-6.4.0/cmake/modules/ -D GMT_SRC=/builddir/build/BUILD/gmt-6.4.0 -P /builddir/build/BUILD/gmt-6.4.0/cmake/modules//GmtGenExtraHeaders.cmake [ 0%] Building C object src/CMakeFiles/script2verbatim.dir/script2verbatim.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -MD -MT src/CMakeFiles/script2verbatim.dir/script2verbatim.c.o -MF CMakeFiles/script2verbatim.dir/script2verbatim.c.o.d -o CMakeFiles/script2verbatim.dir/script2verbatim.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/script2verbatim.c [ 0%] Generating gmt_core_moduleinfo.h cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -D GENERATE_COMMAND=gen_gmt_moduleinfo_h -D OUTPUT_HEADER_FILE="gmt_core_moduleinfo.h" -D PROGS_SRCS="batch.c blockmean.c blockmedian.c blockmode.c dimfilter.c docs.c filter1d.c fitcircle.c gmt2kml.c gmtbinstats.c gmtconnect.c gmtconvert.c gmtdefaults.c gmtget.c gmtinfo.c gmtlogo.c gmtmath.c gmtselect.c gmtsimplify.c gmtspatial.c gmtregress.c gmtset.c gmtvector.c gmtwhich.c grd2cpt.c grd2kml.c grd2xyz.c grdblend.c grdclip.c grdcontour.c grdconvert.c grdcut.c grdedit.c grdfft.c grdfill.c grdfilter.c grdgdal.c grdgradient.c grdhisteq.c grdimage.c grdinfo.c grdinterpolate.c grdlandmask.c grdmask.c grdmath.c grdmix.c grdpaste.c grdproject.c grdsample.c grdselect.c grdtrack.c grdtrend.c grdvector.c grdview.c grdvolume.c greenspline.c kml2gmt.c makecpt.c mapproject.c movie.c nearneighbor.c project.c psbasemap.c psclip.c pscoast.c pscontour.c psconvert.c psevents.c pshistogram.c psimage.c pslegend.c psmask.c psrose.c psscale.c pssolar.c psternary.c pstext.c pswiggle.c psxy.c psxyz.c sample1d.c spectrum1d.c sph2grd.c sphdistance.c sphinterpolate.c sphtriangulate.c gmtsplit.c surface.c trend1d.c trend2d.c triangulate.c xyz2grd.c begin.c clear.c end.c figure.c inset.c subplot.c gmtread.c gmtwrite.c" -D GMT_SRC=/builddir/build/BUILD/gmt-6.4.0 -D CMAKE_MODULE_PATH=/builddir/build/BUILD/gmt-6.4.0/cmake/modules/ -P /builddir/build/BUILD/gmt-6.4.0/cmake/modules//GmtGenExtraHeaders.cmake gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' [ 0%] Generating gmt_dimensions.h cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -D GENERATE_COMMAND=gen_gmt_dimensions_h -D CMAKE_MODULE_PATH=/builddir/build/BUILD/gmt-6.4.0/cmake/modules/ -D GMT_SRC=/builddir/build/BUILD/gmt-6.4.0 -P /builddir/build/BUILD/gmt-6.4.0/cmake/modules//GmtGenExtraHeaders.cmake [ 0%] Linking C executable gshhg_version [ 0%] Built target gen_gmt_suppl_supplements_headers cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/gshhg_version.dir/link.txt --verbose=1 /usr/bin/gcc -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/gshhg_version.dir/gshhg_version.c.o -o gshhg_version -lnetcdf [ 0%] Linking C executable script2verbatim cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/script2verbatim.dir/link.txt --verbose=1 /usr/bin/gcc -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/script2verbatim.dir/script2verbatim.c.o -o script2verbatim gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' [ 0%] Built target gen_gmt_headers /usr/bin/gmake -f src/CMakeFiles/pslib.dir/build.make src/CMakeFiles/pslib.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.4.0 /builddir/build/BUILD/gmt-6.4.0/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/pslib.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/pslib.dir/build.make src/CMakeFiles/pslib.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' [ 0%] Built target gshhg_version [ 0%] Building C object src/CMakeFiles/pslib.dir/postscriptlight.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/pslib.dir/postscriptlight.c.o -MF CMakeFiles/pslib.dir/postscriptlight.c.o.d -o CMakeFiles/pslib.dir/postscriptlight.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.c gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' [ 0%] Built target script2verbatim /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.c: In function 'psl_init_fonts': /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.c:3314:25: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 4095 [-Wstringop-truncation] 3314 | strncpy (PSL->internal.font[i].name, fullname, PSL_FONTNAME_LEN); | ^ /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.c: In function 'psl_prepare_text': /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.c:708:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 708 | strncpy (in_string, out_string, strlen (out_string)); /* Overwrite old string with possibly adjusted string */ | ^ In function 'psl_fix_utf8', inlined from 'psl_prepare_text' at /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.c:1700:2: /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.c:708:9: note: length computed here 708 | strncpy (in_string, out_string, strlen (out_string)); /* Overwrite old string with possibly adjusted string */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 0%] Linking C shared library libpostscriptlight.so cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/pslib.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libpostscriptlight.so.6 -o libpostscriptlight.so.6.4.0 CMakeFiles/pslib.dir/postscriptlight.c.o -lm -lz cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libpostscriptlight.so.6.4.0 libpostscriptlight.so.6 libpostscriptlight.so gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' [ 3%] Built target pslib /usr/bin/gmake -f src/CMakeFiles/gmtlib.dir/build.make src/CMakeFiles/gmtlib.dir/depend /usr/bin/gmake -f src/CMakeFiles/psldemo.dir/build.make src/CMakeFiles/psldemo.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.4.0 /builddir/build/BUILD/gmt-6.4.0/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/gmtlib.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/gmt-6.4.0 /builddir/build/BUILD/gmt-6.4.0/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/psldemo.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/psldemo.dir/build.make src/CMakeFiles/psldemo.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/gmtlib.dir/build.make src/CMakeFiles/gmtlib.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' [ 3%] Building C object src/CMakeFiles/psldemo.dir/psldemo.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -MD -MT src/CMakeFiles/psldemo.dir/psldemo.c.o -MF CMakeFiles/psldemo.dir/psldemo.c.o.d -o CMakeFiles/psldemo.dir/psldemo.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/psldemo.c [ 3%] Building C object src/CMakeFiles/gmtlib.dir/clear.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/clear.c.o -MF CMakeFiles/gmtlib.dir/clear.c.o.d -o CMakeFiles/gmtlib.dir/clear.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/clear.c [ 3%] Building C object src/CMakeFiles/gmtlib.dir/subplot.c.o [ 3%] Building C object src/CMakeFiles/gmtlib.dir/begin.c.o [ 3%] Building C object src/CMakeFiles/gmtlib.dir/end.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/begin.c.o -MF CMakeFiles/gmtlib.dir/begin.c.o.d -o CMakeFiles/gmtlib.dir/begin.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/begin.c [ 3%] Building C object src/CMakeFiles/gmtlib.dir/gmt_bcr.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/end.c.o -MF CMakeFiles/gmtlib.dir/end.c.o.d -o CMakeFiles/gmtlib.dir/end.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/end.c [ 6%] Building C object src/CMakeFiles/gmtlib.dir/gmt_remote.c.o [ 6%] Building C object src/CMakeFiles/gmtlib.dir/figure.c.o [ 6%] Building C object src/CMakeFiles/gmtlib.dir/gmt_calclock.c.o [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_dcw.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_remote.c.o -MF CMakeFiles/gmtlib.dir/gmt_remote.c.o.d -o CMakeFiles/gmtlib.dir/gmt_remote.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_api.c.o [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_fft.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/figure.c.o -MF CMakeFiles/gmtlib.dir/figure.c.o.d -o CMakeFiles/gmtlib.dir/figure.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/figure.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/subplot.c.o -MF CMakeFiles/gmtlib.dir/subplot.c.o.d -o CMakeFiles/gmtlib.dir/subplot.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/subplot.c [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_error.c.o [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_modern.c.o [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_customio.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_api.c.o -MF CMakeFiles/gmtlib.dir/gmt_api.c.o.d -o CMakeFiles/gmtlib.dir/gmt_api.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_bcr.c.o -MF CMakeFiles/gmtlib.dir/gmt_bcr.c.o.d -o CMakeFiles/gmtlib.dir/gmt_bcr.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_bcr.c [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_io.c.o [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_cdf.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_modern.c.o -MF CMakeFiles/gmtlib.dir/gmt_modern.c.o.d -o CMakeFiles/gmtlib.dir/gmt_modern.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_modern.c [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_shore.c.o [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_nc.c.o [ 10%] Building C object src/CMakeFiles/gmtlib.dir/gmt_grdio.c.o [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_notposix.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_calclock.c.o -MF CMakeFiles/gmtlib.dir/gmt_calclock.c.o.d -o CMakeFiles/gmtlib.dir/gmt_calclock.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_calclock.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_cdf.c.o -MF CMakeFiles/gmtlib.dir/gmt_cdf.c.o.d -o CMakeFiles/gmtlib.dir/gmt_cdf.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_cdf.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_customio.c.o -MF CMakeFiles/gmtlib.dir/gmt_customio.c.o.d -o CMakeFiles/gmtlib.dir/gmt_customio.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_customio.c [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_memory.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_dcw.c.o -MF CMakeFiles/gmtlib.dir/gmt_dcw.c.o.d -o CMakeFiles/gmtlib.dir/gmt_dcw.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_dcw.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_error.c.o -MF CMakeFiles/gmtlib.dir/gmt_error.c.o.d -o CMakeFiles/gmtlib.dir/gmt_error.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_error.c [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_sph.c.o [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_stat.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_fft.c.o -MF CMakeFiles/gmtlib.dir/gmt_fft.c.o.d -o CMakeFiles/gmtlib.dir/gmt_fft.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_fft.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_grdio.c.o -MF CMakeFiles/gmtlib.dir/gmt_grdio.c.o.d -o CMakeFiles/gmtlib.dir/gmt_grdio.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_io.c.o -MF CMakeFiles/gmtlib.dir/gmt_io.c.o.d -o CMakeFiles/gmtlib.dir/gmt_io.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_memory.c.o -MF CMakeFiles/gmtlib.dir/gmt_memory.c.o.d -o CMakeFiles/gmtlib.dir/gmt_memory.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_memory.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_nc.c.o -MF CMakeFiles/gmtlib.dir/gmt_nc.c.o.d -o CMakeFiles/gmtlib.dir/gmt_nc.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_notposix.c.o -MF CMakeFiles/gmtlib.dir/gmt_notposix.c.o.d -o CMakeFiles/gmtlib.dir/gmt_notposix.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_notposix.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_shore.c.o -MF CMakeFiles/gmtlib.dir/gmt_shore.c.o.d -o CMakeFiles/gmtlib.dir/gmt_shore.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_shore.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_sph.c.o -MF CMakeFiles/gmtlib.dir/gmt_sph.c.o.d -o CMakeFiles/gmtlib.dir/gmt_sph.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_sph.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_stat.c.o -MF CMakeFiles/gmtlib.dir/gmt_stat.c.o.d -o CMakeFiles/gmtlib.dir/gmt_stat.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_stat.c [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_support.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_support.c.o -MF CMakeFiles/gmtlib.dir/gmt_support.c.o.d -o CMakeFiles/gmtlib.dir/gmt_support.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_parse.c.o [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_regexp.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_parse.c.o -MF CMakeFiles/gmtlib.dir/gmt_parse.c.o.d -o CMakeFiles/gmtlib.dir/gmt_parse.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_parse.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_regexp.c.o -MF CMakeFiles/gmtlib.dir/gmt_regexp.c.o.d -o CMakeFiles/gmtlib.dir/gmt_regexp.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_regexp.c [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_vector.c.o [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmtread.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_vector.c.o -MF CMakeFiles/gmtlib.dir/gmt_vector.c.o.d -o CMakeFiles/gmtlib.dir/gmt_vector.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_vector.c [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gshhg_version.c.o [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmt_error_codes.c.o [ 13%] Building C object src/CMakeFiles/gmtlib.dir/gmtwrite.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_error_codes.c.o -MF CMakeFiles/gmtlib.dir/gmt_error_codes.c.o.d -o CMakeFiles/gmtlib.dir/gmt_error_codes.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_error_codes.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gshhg_version.c.o -MF CMakeFiles/gmtlib.dir/gshhg_version.c.o.d -o CMakeFiles/gmtlib.dir/gshhg_version.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gshhg_version.c [ 17%] Building C object src/CMakeFiles/gmtlib.dir/inset.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmtread.c.o -MF CMakeFiles/gmtlib.dir/gmtread.c.o.d -o CMakeFiles/gmtlib.dir/gmtread.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmtread.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmtwrite.c.o -MF CMakeFiles/gmtlib.dir/gmtwrite.c.o.d -o CMakeFiles/gmtlib.dir/gmtwrite.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmtwrite.c cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/inset.c.o -MF CMakeFiles/gmtlib.dir/inset.c.o.d -o CMakeFiles/gmtlib.dir/inset.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/inset.c [ 17%] Building C object src/CMakeFiles/gmtlib.dir/gmt_common_math.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_common_math.c.o -MF CMakeFiles/gmtlib.dir/gmt_common_math.c.o.d -o CMakeFiles/gmtlib.dir/gmt_common_math.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_math.c In file included from /builddir/build/BUILD/gmt-6.4.0/src/figure.c:36: /builddir/build/BUILD/gmt-6.4.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}; | ^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/gmt-6.4.0/src/begin.c:36: /builddir/build/BUILD/gmt-6.4.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}; | ^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/gmt-6.4.0/src/gmt_customio.c:1717: /builddir/build/BUILD/gmt-6.4.0/src/gmt_gdalread.c: In function 'gmt_gdalread': /builddir/build/BUILD/gmt-6.4.0/src/gmt_gdalread.c:762:65: warning: variable 'col_indent' set but not used [-Wunused-but-set-variable] 762 | int64_t off, i_x_nXYSize, startColPos = 0, indent = 0, col_indent = 0, nXSize_withPad = 0, nYSize_withPad; | ^~~~~~~~~~ [ 17%] Building C object src/CMakeFiles/gmtlib.dir/gmt_common_runpath.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_common_runpath.c.o -MF CMakeFiles/gmtlib.dir/gmt_common_runpath.c.o.d -o CMakeFiles/gmtlib.dir/gmt_common_runpath.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_runpath.c /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmt_set_unspecified_remote_registration': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:469:45: warning: variable 'ext' set but not used [-Wunused-but-set-variable] 469 | char *file = NULL, *infile = NULL, *ext = NULL, *c = NULL, *p = NULL, *q = NULL; | ^~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_shore.c: In function 'gmt_init_shore': /builddir/build/BUILD/gmt-6.4.0/src/gmt_shore.c:595:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 595 | if (!gmtshore_getpathname (GMT, stem, path, true, true)) | ^~ In file included from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:140, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_shore.c:34: /builddir/build/BUILD/gmt-6.4.0/src/gmt_macros.h:130:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 130 | #define gmt_M_memset(array,n,type) memset(array, 0, (n)*sizeof(type)) | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_shore.c:599:17: note: in expansion of macro 'gmt_M_memset' 599 | gmt_M_memset (c, 1, struct GMT_SHORE); | ^~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmtremote_skip_large_files': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:621:25: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 621 | res = curl_easy_getinfo (curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &filesize); | ^~~ In file included from /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:26: /usr/include/curl/curl.h:2883:3: note: declared here 2883 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building C object src/CMakeFiles/gmtlib.dir/gmt_common_sighandler.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_common_sighandler.c.o -MF CMakeFiles/gmtlib.dir/gmt_common_sighandler.c.o.d -o CMakeFiles/gmtlib.dir/gmt_common_sighandler.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_sighandler.c /builddir/build/BUILD/gmt-6.4.0/src/inset.c: In function 'GMT_inset': /builddir/build/BUILD/gmt-6.4.0/src/inset.c:364:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 364 | fgets (Bopts, GMT_LEN256, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmt_set_remote_and_local_filenames': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:1302:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1302 | if (c) c[0] = was; c = NULL; skip_checks = true; | ^~ [ 17%] Building C object src/CMakeFiles/gmtlib.dir/compat/qsort.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/compat/qsort.c.o -MF CMakeFiles/gmtlib.dir/compat/qsort.c.o.d -o CMakeFiles/gmtlib.dir/compat/qsort.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/compat/qsort.c /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:1302:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1302 | if (c) c[0] = was; c = NULL; skip_checks = true; | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c: In function 'gmt_nc_write_cube': /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c:2090:21: warning: variable 'first_col' set but not used [-Wunused-but-set-variable] 2090 | int first_col, first_row, last_row; | ^~~~~~~~~ [ 20%] Building C object src/CMakeFiles/gmtlib.dir/gmt_common_string.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_common_string.c.o -MF CMakeFiles/gmtlib.dir/gmt_common_string.c.o.d -o CMakeFiles/gmtlib.dir/gmt_common_string.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_string.c /builddir/build/BUILD/gmt-6.4.0/src/gmt_cdf.c: In function 'gmt_cdf_grd_info': /builddir/build/BUILD/gmt-6.4.0/src/gmt_cdf.c:127:17: warning: 'strncpy' output may be truncated copying 319 bytes from a string of length 479 [-Wstringop-truncation] 127 | strncpy (header->command, text, GMT_GRID_COMMAND_LEN320-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_cdf.c:128:17: warning: 'strncpy' output may be truncated copying 159 bytes from a string of length 479 [-Wstringop-truncation] 128 | strncpy (header->remark, &text[GMT_GRID_COMMAND_LEN320], GMT_GRID_REMARK_LEN160-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_cdf.c:149:17: warning: 'strncpy' output may be truncated copying 319 bytes from a string of length 319 [-Wstringop-truncation] 149 | strncpy (text, header->command, GMT_GRID_COMMAND_LEN320-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_cdf.c:150:17: warning: 'strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] 150 | strncpy (&text[GMT_GRID_COMMAND_LEN320], header->remark, GMT_GRID_REMARK_LEN160-1); | ^ [ 20%] Building C object src/CMakeFiles/gmtlib.dir/gmt_sharedlibs.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_sharedlibs.c.o -MF CMakeFiles/gmtlib.dir/gmt_sharedlibs.c.o.d -o CMakeFiles/gmtlib.dir/gmt_sharedlibs.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_sharedlibs.c [ 20%] Building C object src/CMakeFiles/gmtlib.dir/gmt_init.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_init.c.o -MF CMakeFiles/gmtlib.dir/gmt_init.c.o.d -o CMakeFiles/gmtlib.dir/gmt_init.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c [ 20%] Building C object src/CMakeFiles/gmtlib.dir/gmt_plot.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_plot.c.o -MF CMakeFiles/gmtlib.dir/gmt_plot.c.o.d -o CMakeFiles/gmtlib.dir/gmt_plot.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c [ 20%] Building C object src/CMakeFiles/gmtlib.dir/gmt_map.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_map.c.o -MF CMakeFiles/gmtlib.dir/gmt_map.c.o.d -o CMakeFiles/gmtlib.dir/gmt_map.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c [ 20%] Linking C executable psldemo cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/psldemo.dir/link.txt --verbose=1 /usr/bin/gcc -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/psldemo.dir/psldemo.c.o -o psldemo -Wl,-rpath,/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src libpostscriptlight.so.6.4.0 -lm -lz /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_runpath.c: In function 'sharedir_from_runtime_libdir': /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_runpath.c:312:20: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 312 | sharedir = strncpy (sharedir, runtime_libdir, len_base_dir); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_runpath.c:301:30: note: length computed here 301 | len_runtime_libdir = strlen (runtime_libdir); | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'parse', inlined from 'GMT_inset' at /builddir/build/BUILD/gmt-6.4.0/src/inset.c:305:15: /builddir/build/BUILD/gmt-6.4.0/src/inset.c:176:89: warning: 'side' may be used uninitialized [-Wmaybe-uninitialized] 176 | if (strchr ("xy", opt->arg[0])) Ctrl->C.set[side+1] = true; /* Since two margins are set */ | ~~~~^~ /builddir/build/BUILD/gmt-6.4.0/src/inset.c: In function 'GMT_inset': /builddir/build/BUILD/gmt-6.4.0/src/inset.c:120:39: note: 'side' was declared here 120 | unsigned int n_errors = 0, k, side; | ^~~~ [ 20%] Building C object src/CMakeFiles/gmtlib.dir/gmt_gdalcall.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_gdalcall.c.o -MF CMakeFiles/gmtlib.dir/gmt_gdalcall.c.o.d -o CMakeFiles/gmtlib.dir/gmt_gdalcall.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_gdalcall.c /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_runpath.c: In function 'gmt_guess_sharedir': /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_runpath.c:351:20: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 351 | sharedir = strncpy (sharedir, runtime_bindir, len_base_dir); | ^ In function 'sharedir_from_runtime_bindir', inlined from 'gmt_guess_sharedir' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_runpath.c:362:7: /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_runpath.c:340:30: note: length computed here 340 | len_runtime_bindir = strlen (runtime_bindir); | ^~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building C object src/CMakeFiles/gmtlib.dir/gmt_core_glue.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_core_glue.c.o -MF CMakeFiles/gmtlib.dir/gmt_core_glue.c.o.d -o CMakeFiles/gmtlib.dir/gmt_core_glue.c.o -c /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gmt_core_glue.c [ 20%] Building C object src/CMakeFiles/gmtlib.dir/kiss_fft/kiss_fftnd.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/kiss_fft/kiss_fftnd.c.o -MF CMakeFiles/gmtlib.dir/kiss_fft/kiss_fftnd.c.o.d -o CMakeFiles/gmtlib.dir/kiss_fft/kiss_fftnd.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/kiss_fft/kiss_fftnd.c [ 24%] Building C object src/CMakeFiles/gmtlib.dir/kiss_fft/kiss_fft.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/kiss_fft/kiss_fft.c.o -MF CMakeFiles/gmtlib.dir/kiss_fft/kiss_fft.c.o.d -o CMakeFiles/gmtlib.dir/kiss_fft/kiss_fft.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/kiss_fft/kiss_fft.c /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_sighandler.c: In function 'sig_handler_unix': /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_sighandler.c:121:49: error: 'mcontext_t' has no member named 'gregs'; did you mean '__gregs'? 121 | # define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP]) | ^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_sighandler.c:208:29: note: in expansion of macro 'UC_IP' 208 | array [0] = UC_IP (uc); /* caller's address */ | ^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_sighandler.c:121:55: error: 'REG_EIP' undeclared (first use in this function) 121 | # define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP]) | ^~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_sighandler.c:208:29: note: in expansion of macro 'UC_IP' 208 | array [0] = UC_IP (uc); /* caller's address */ | ^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_sighandler.c:121:55: note: each undeclared identifier is reported only once for each function it appears in 121 | # define UC_IP(uc) ((void *) (uc)->uc_mcontext.gregs[REG_EIP]) | ^~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_common_sighandler.c:208:29: note: in expansion of macro 'UC_IP' 208 | array [0] = UC_IP (uc); /* caller's address */ | ^~~~~ [ 24%] Building C object src/CMakeFiles/gmtlib.dir/gmt_mbsystem_glue.c.o gmake[2]: *** [src/CMakeFiles/gmtlib.dir/build.make:677: src/CMakeFiles/gmtlib.dir/gmt_common_sighandler.c.o] Error 1 cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/gmt_mbsystem_glue.c.o -MF CMakeFiles/gmtlib.dir/gmt_mbsystem_glue.c.o.d -o CMakeFiles/gmtlib.dir/gmt_mbsystem_glue.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/gmt_mbsystem_glue.c gmake[2]: *** Waiting for unfinished jobs.... [ 24%] Building C object src/CMakeFiles/gmtlib.dir/batch.c.o cd /builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DLIBRARY_EXPORTS -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src -I/builddir/build/BUILD/gmt-6.4.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.4.0/loongarch64-OpenCloudOS-linux-gnu/src/geodesy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/gshhg -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/img -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/mgd77 -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/potential -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/segy -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/seis -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/spotter -I/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu/src/x2sys -std=gnu99 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fopenmp -DNDEBUG -fPIC -MD -MT src/CMakeFiles/gmtlib.dir/batch.c.o -MF CMakeFiles/gmtlib.dir/batch.c.o.d -o CMakeFiles/gmtlib.dir/batch.c.o -c /builddir/build/BUILD/gmt-6.4.0/src/batch.c /builddir/build/BUILD/gmt-6.4.0/src/subplot.c: In function 'parse': /builddir/build/BUILD/gmt-6.4.0/src/subplot.c:388:57: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation] 388 | strncpy (Ctrl->A.justify, Ctrl->A.placement, 2); | ^ /builddir/build/BUILD/gmt-6.4.0/src/subplot.c:357:41: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 357 | strncpy (Ctrl->A.format, opt->arg, GMT_LEN128); | ^ /builddir/build/BUILD/gmt-6.4.0/src/subplot.c:453:99: warning: 'side' may be used uninitialized [-Wmaybe-uninitialized] 453 | n_errors += gmt_M_repeated_module_option (API, Ctrl->C.set[side]); | ^ /builddir/build/BUILD/gmt-6.4.0/src/subplot.c:281:61: note: 'side' was declared here 281 | unsigned int n_errors = 0, error, k, j, n = 0, pos, side; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_dcw.c: In function 'gmt_DCW_operation': /builddir/build/BUILD/gmt-6.4.0/src/gmt_dcw.c:692:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 692 | strncpy (state, &code[3], GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_dcw.c:362:25: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 3 [-Wstringop-truncation] 362 | strncpy (ISO, clist[k].code, 2); ISO[2] = '\0'; /* Terminate string */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_dcw.c:369:47: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 369 | sprintf (ISO, "%s.%s%c", slist[k].country, slist[k].code, '\0'); | ^ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dcw.c:18: In function 'sprintf', inlined from 'gmtdcw_got_name' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_dcw.c:369:4, inlined from 'gmt_DCW_operation' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_dcw.c:543:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 9 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c: In function 'gmtlib_free_matrix_ptr': /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:9083:13: warning: the comparison will always evaluate as 'true' for the address of 'data' will never be NULL [-Waddress] 9083 | if (&(M->data) && free_matrix) { | ^ In file included from /builddir/build/BUILD/gmt-6.4.0/src/gmt.h:58, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:130, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:157: /builddir/build/BUILD/gmt-6.4.0/src/gmt_resources.h:755:29: note: 'data' declared here 755 | union GMT_UNIVECTOR data; /* Union with pointer to actual matrix of the chosen type */ | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:9079:29: warning: variable 'alloc_mode' set but not used [-Wunused-but-set-variable] 9079 | enum GMT_enum_alloc alloc_mode; | ^~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmtremote_data_load': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:143:9: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 511 [-Wstringop-truncation] 143 | strncpy (text, line, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:247:25: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 247 | strncpy (I[k].tag, I[k].file, len-1); /* Remote trailing slash */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:246:38: note: length computed here 246 | size_t len = strlen (I[k].file); | ^~~~~~~~~~~~~~~~~~ [ 24%] Built target psldemo In file included from /builddir/build/BUILD/gmt-6.4.0/src/gmt_sph.c:56: /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c: In function 'getnp_.constprop.0.isra.0': /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c:2162:5: warning: array subscript -1 is outside array bounds of 'integer[30]' [-Warray-bounds] 2162 | --npts; | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c:2405:20: note: at offset -8 into object 'npts.384' of size 240 2405 | static integer npts[30]; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c:2162:5: warning: array subscript -1 is outside array bounds of 'integer[30]' [-Warray-bounds] 2162 | --npts; | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c:2405:20: note: at offset -8 into object 'npts.384' of size 240 2405 | static integer npts[30]; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c:2162:5: warning: array subscript -1 is outside array bounds of 'integer[30]' [-Warray-bounds] 2162 | --npts; | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c:2405:20: note: at offset -8 into object 'npts.384' of size 240 2405 | static integer npts[30]; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c:2162:5: warning: array subscript -1 is outside array bounds of 'integer[30]' [-Warray-bounds] 2162 | --npts; | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/ssrfpack.c:2405:20: note: at offset -8 into object 'npts.384' of size 240 2405 | static integer npts[30]; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmtplot_draw_dir_rose': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:3540:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3540 | if (angle < 0.0) angle += 360.0; if (angle >= 360.0) angle -= 360.0; | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:3540:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3540 | if (angle < 0.0) angle += 360.0; if (angle >= 360.0) angle -= 360.0; | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c: In function 'gmtnc_get_units': /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c:276:63: warning: ' [' directive output may be truncated writing 2 bytes into a region of size between 1 and 80 [-Wformat-truncation=] 276 | snprintf (name_units, GMT_GRID_UNIT_LEN80, "%s [%s]", name, units); | ^~ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c:65: In function 'snprintf', inlined from 'gmtnc_get_units' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c:276:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 162 bytes into a destination of size 80 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c: In function 'gmtnc_get_units': /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c:278:17: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 278 | strncpy (name_units, name, GMT_GRID_UNIT_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmt_remote_no_resolution_given': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:350:17: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 350 | strncpy (dir, API->remote_info[k].dir, L); /* Make a copy without the trailing slash */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:349:21: note: length computed here 349 | L = strlen (API->remote_info[k].dir) - 1; /* Length of directory without the trailing slash */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmt_remote_resolutions': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:391:17: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 391 | strncpy (dir, API->remote_info[k].dir, L); /* Make a copy without the trailing slash */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:390:21: note: length computed here 390 | L = strlen (API->remote_info[k].dir) - 1; /* Length of directory without the trailing slash */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c: In function 'gmtgrdio_decode_grdcube_info': /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1934:54: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 4095 [-Wstringop-truncation] 1934 | if (word[1]) strncpy (h->y_units, &word[1], GMT_GRID_UNIT_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1926:54: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 4095 [-Wstringop-truncation] 1926 | if (word[1]) strncpy (h->x_units, &word[1], GMT_GRID_UNIT_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1996:54: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 4095 [-Wstringop-truncation] 1996 | if (word[1]) strncpy (HH->varname, &word[1], GMT_GRID_VARNAME_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1977:54: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 4095 [-Wstringop-truncation] 1977 | if (word[1]) strncpy (h->title, &word[1], GMT_GRID_TITLE_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1988:54: warning: 'strncpy' output may be truncated copying 159 bytes from a string of length 4095 [-Wstringop-truncation] 1988 | if (word[1]) strncpy (h->remark, &word[1], GMT_GRID_REMARK_LEN160-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1942:54: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 4095 [-Wstringop-truncation] 1942 | if (word[1]) strncpy (C->units, &word[1], GMT_GRID_UNIT_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1956:54: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 4095 [-Wstringop-truncation] 1956 | if (word[1]) strncpy (h->z_units, &word[1], GMT_GRID_UNIT_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmt_set_unspecified_remote_registration': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:484:9: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 484 | strncpy (dir, API->remote_info[k_data].dir, L); dir[L] = '\0'; /* Duplicate dir without slash */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:483:13: note: length computed here 483 | L = strlen (API->remote_info[k_data].dir) - 1; /* Length of dir minus trailing slash */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtinit_parse_l_option': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9400:45: warning: the comparison will always evaluate as 'true' for the address of 'txt' will never be NULL [-Waddress] 9400 | if (&txt[1]) strncpy (GMT->common.l.item.pen[GMT_LEGEND_PEN_D], &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9394:22: note: 'txt' declared here 9394 | char txt[GMT_LEN128] = {""}; | ^~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9429:45: warning: the comparison will always evaluate as 'true' for the address of 'txt' will never be NULL [-Waddress] 9429 | if (&txt[1]) strncpy (GMT->common.l.item.pen[GMT_LEGEND_PEN_V], &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9394:22: note: 'txt' declared here 9394 | char txt[GMT_LEN128] = {""}; | ^~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9433:45: warning: the comparison will always evaluate as 'true' for the address of 'txt' will never be NULL [-Waddress] 9433 | if (&txt[1]) strncpy (GMT->common.l.item.fill, &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c: In function 'gmtnc_grd_info': /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c:1034:25: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 1034 | strncpy (header->z_units, HH->varname, GMT_GRID_UNIT_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9394:22: note: 'txt' declared here 9394 | char txt[GMT_LEN128] = {""}; | ^~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9437:45: warning: the comparison will always evaluate as 'true' for the address of 'txt' will never be NULL [-Waddress] 9437 | if (&txt[1]) strncpy (GMT->common.l.item.off, &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9394:22: note: 'txt' declared here 9394 | char txt[GMT_LEN128] = {""}; | ^~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9440:45: warning: the comparison will always evaluate as 'true' for the address of 'txt' will never be NULL [-Waddress] 9440 | if (&txt[1]) strncpy (GMT->common.l.item.pen[GMT_LEGEND_PEN_P], &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9394:22: note: 'txt' declared here 9394 | char txt[GMT_LEN128] = {""}; | ^~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmt_get_dataset_tiles': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:1595:45: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1595 | sprintf (coverage_file, "@%s", I->coverage); /* Prepend the remote flag since we may need to download the file */ | ^ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:24: In function 'sprintf', inlined from 'gmt_get_dataset_tiles' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:1595:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 65 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c: In function 'gmt_get_dataset_tiles': /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:1655:57: warning: '%s' directive writing up to 63 bytes into a region of size between 38 and 55 [-Wformat-overflow=] 1655 | sprintf (file, "@%c%2.2d%c%3.3d.%s.%s", YS, abs(clat), XS, abs(lon), tag, GMT_TILE_EXTENSION_LOCAL); | ^~ ~~~ In function 'sprintf', inlined from 'gmt_get_dataset_tiles' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_remote.c:1655:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 13 and 93 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmt_plotinit': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:9274:65: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] 9274 | if ((kk = sscanf (movie_item_arg[k][T], "%c %lg %lg %lg %lg %d %lg %lg %s %s %s %s %*d %*lg %*lg %*s %s %[^\n]", &kind, &plot_x, &plot_y, &t, &width, &justify, &clearance[GMT_X], &clearance[GMT_Y], P1, P2, F1, F2, font, label)) < 13) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:9274:65: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmtplot_latex_eps': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:418:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 418 | system ("rm -f gmt_eq.*"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c: In function 'gmtlib_is_nc_grid': /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c:1522:9: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 1522 | strncpy (varname, HH->varname, GMT_GRID_VARNAME_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c: In function 'gmt_grd_init': /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:2184:17: warning: 'strncpy' output may be truncated copying 319 bytes from a string of length 4095 [-Wstringop-truncation] 2184 | strncpy (header->command, command, GMT_GRID_COMMAND_LEN320-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:2168:64: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 2168 | snprintf (file, GMT_LEN64, "@%s", API->remote_info[k_data].file); | ^ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:86: In function 'snprintf', inlined from 'gmt_grd_init' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:2168:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 65 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c: In function 'gmt_nc_write_cube': /builddir/build/BUILD/gmt-6.4.0/src/gmt_nc.c:2100:17: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 2100 | strncpy (HH->name, file, GMT_GRID_NAME_LEN256); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmt_parse_common_options': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:17794:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 17794 | if (q) args[0] = item[0]; strcat (args, "af"); if (c) strncat (args, c, GMT_LEN256-1); | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:17794:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 17794 | if (q) args[0] = item[0]; strcat (args, "af"); if (c) strncat (args, c, GMT_LEN256-1); | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:17797:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 17797 | if (q) args[0] = item[0]; strcat (args, "xaf"); if (c) strncat (args, c, GMT_LEN256-1); | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:17797:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 17797 | if (q) args[0] = item[0]; strcat (args, "xaf"); if (c) strncat (args, c, GMT_LEN256-1); | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:17800:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 17800 | if (q) args[0] = item[0]; strcat (args, "yaf"); if (c) strncat (args, c, GMT_LEN256-1); | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:17800:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 17800 | if (q) args[0] = item[0]; strcat (args, "yaf"); if (c) strncat (args, c, GMT_LEN256-1); | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:17803:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 17803 | if (q) args[0] = item[0]; strcat (args, "zaf"); if (c) strncat (args, c, GMT_LEN256-1); | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:17803:75: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 17803 | if (q) args[0] = item[0]; strcat (args, "zaf"); if (c) strncat (args, c, GMT_LEN256-1); | ^~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c: In function 'gmt_scanf_float': /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:2577:9: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 2577 | strncpy (scopy, s, j); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:2574:13: note: length computed here 2574 | j = strlen (s); | ^~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c: In function 'gmt_grd_get_format': /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1181:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 511 [-Wstringop-truncation] 1181 | strncpy (HH->name, tmp, GMT_LEN256-1); /* Strip off variable name */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1098:33: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 511 [-Wstringop-truncation] 1098 | strncpy (HH->name, tmp, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:1131:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 511 [-Wstringop-truncation] 1131 | strncpy (HH->name, tmp, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c: In function 'gmtlib_duplicate_cube': /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:3549:9: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 3549 | strncpy (Unew->name, U->name, GMT_GRID_UNIT_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_grdio.c:3550:9: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 3550 | strncpy (Unew->units, U->units, GMT_GRID_UNIT_LEN80-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmt_auto_offsets_for_colorbar': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19828:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 19828 | fgets (file, PATH_MAX, fp); fclose (fp); /* Recycle file to hold the -B arguments */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtinit_read_figures': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:18728:17: warning: 'gmtinit_get_session_name_format' accessing 256 bytes in a region of size 64 [-Wstringop-overflow=] 18728 | gmtinit_get_session_name_format (GMT->parent, fig[0].prefix, fig[0].formats); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:18728:17: note: referencing argument 3 of type 'char[256]' /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:18678:16: note: in a call to function 'gmtinit_get_session_name_format' 18678 | GMT_LOCAL void gmtinit_get_session_name_format (struct GMTAPI_CTRL *API, char prefix[GMT_LEN256], char formats[GMT_LEN256]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'gmtapi_update_txt_item': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:2472:9: warning: 'strncpy' output may be truncated copying between 80 and 320 bytes from a string of length 4095 [-Wstringop-truncation] 2472 | strncpy (string, buffer, length); /* Only copy over max length bytes */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:2472:9: warning: 'strncpy' output may be truncated copying between 80 and 320 bytes from a string of length 4095 [-Wstringop-truncation] In file included from /usr/include/string.h:548, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:110: In function 'strcat', inlined from 'gmtlib_clock_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6820:28: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 65 or more bytes at offsets 50 and 114 may overlap 1 byte at offset 114 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'gmtlib_clock_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6824:29: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 67 or more bytes at offsets 50 and 116 may overlap 1 byte at offset 116 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c: In function 'gmtmap_translate_point_geodesic': /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3329:23: warning: 'cosSigma' may be used uninitialized [-Wmaybe-uninitialized] 3329 | *lat2 = R2D * atan2 (s_U1 * cosSigma + c_U1 * sinSigma * c_alpha1, f1 * sqrt (s_alpha * s_alpha + tmp * tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3307:64: note: 'cosSigma' was declared here 3307 | double uSq, A, B, sigma, sigmaP, deltaSigma, sinSigma, cosSigma, lambda, C, L; | ^~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3329:53: warning: 'sinSigma' may be used uninitialized [-Wmaybe-uninitialized] 3329 | *lat2 = R2D * atan2 (s_U1 * cosSigma + c_U1 * sinSigma * c_alpha1, f1 * sqrt (s_alpha * s_alpha + tmp * tmp)); | ~~~~~^~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3307:54: note: 'sinSigma' was declared here 3307 | double uSq, A, B, sigma, sigmaP, deltaSigma, sinSigma, cosSigma, lambda, C, L; | ^~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3332:84: warning: 'cos2SigmaM' may be used uninitialized [-Wmaybe-uninitialized] 3332 | L = lambda - (1.0 - C) * f * s_alpha * (sigma + C * sinSigma * (cos2SigmaM + C * cosSigma * (-1.0 + 2.0 * cos2SigmaM * cos2SigmaM))); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3306:137: note: 'cos2SigmaM' was declared here 3306 | double b = a * f1, s = distance_m, alpha1 = azimuth * D2R, s_alpha1, c_alpha1, tan_U1, c_U1, s_U1, sigma1, s_alpha, cosSqAlpha, cos2SigmaM, tmp; | ^~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmtplot_z_gridlines': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:1910:17: warning: 'z1' may be used uninitialized [-Wmaybe-uninitialized] 1910 | PSL_plotsegment (PSL, max, z0, max, z1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:1860:42: note: 'z1' was declared here 1860 | double dz, zz, dd, min, max, z0, z1, xx, dummy, value, *z = NULL, *d = NULL; | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:1910:17: warning: 'z0' may be used uninitialized [-Wmaybe-uninitialized] 1910 | PSL_plotsegment (PSL, max, z0, max, z1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:1860:38: note: 'z0' was declared here 1860 | double dz, zz, dd, min, max, z0, z1, xx, dummy, value, *z = NULL, *d = NULL; | ^~ In function 'strcat', inlined from 'gmtlib_date_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6884:28: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 65 or more bytes at offsets 42 and 106 may overlap 1 byte at offset 106 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'gmtlib_date_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6921:28: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 65 or more bytes at offsets 42 and 106 may overlap 1 byte at offset 106 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'gmtlib_geo_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6978:4, inlined from 'gmtlib_geo_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6955:5: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 129 or more bytes at offsets 743650 and 743778 may overlap 1 byte at offset 743778 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'gmtlib_geo_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6979:4, inlined from 'gmtlib_geo_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6955:5: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 65 or more bytes at offsets 743714 and 743778 may overlap 1 byte at offset 743778 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'gmtlib_geo_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6985:4, inlined from 'gmtlib_geo_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6955:5: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 131 or more bytes at offsets 743650 and 743780 may overlap 1 byte at offset 743780 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcat', inlined from 'gmtlib_geo_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6986:4, inlined from 'gmtlib_geo_C_format' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:6955:5: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 67 or more bytes at offsets 743714 and 743780 may overlap 1 byte at offset 743780 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c: In function 'gmt_scanf': /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:2279:17: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 63 [-Wstringop-truncation] 2279 | strncpy (item, s, 2U); if (item[0]) hh = atoi (item), k++; | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:2280:17: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 61 [-Wstringop-truncation] 2280 | strncpy (item, &s[2], 2U); if (item[0]) mm = atoi (item), k++; | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:2281:17: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 59 [-Wstringop-truncation] 2281 | strncpy (item, &s[4], GMT_LEN32); if (item[0]) ss = atof (item), k++; | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:2281:17: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 59 [-Wstringop-truncation] /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:7203:41: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 7203 | strncpy (calstring, s, callen-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:7195:34: note: length computed here 7195 | callen = strlen (s); | ^~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:7201:41: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 7201 | strncpy (calstring, s, callen); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:7195:34: note: length computed here 7195 | callen = strlen (s); | ^~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'gmtapi_update_grd_item': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:2441:17: warning: '__strncpy_chk' output may be truncated copying between 79 and 319 bytes from a string of length 4095 [-Wstringop-truncation] 2441 | strncpy (H->title, buffer, length-1); /* Only copy over max length-1 bytes so last byte is 0 */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:2445:17: warning: 'strncpy' output may be truncated copying between 79 and 319 bytes from a string of length 4095 [-Wstringop-truncation] 2445 | strncpy (H->command, buffer, length-1); /* Only copy over max length-1 bytes so last byte is 0 */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:2449:17: warning: '__strncpy_chk' output may be truncated copying between 79 and 319 bytes from a string of length 4095 [-Wstringop-truncation] 2449 | strncpy (H->remark, buffer, length-1); /* Only copy over max length-1 bytes so last byte is 0 */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmtplot_map_annotate': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:2464:25: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] 2464 | strncpy (GMT->current.setting.format_float_map, tmp, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:2855:33: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] 2855 | strncpy (GMT->current.setting.format_float_map, tmp, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_FFT_Parse': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:11861:51: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 11861 | if (p[1]) strncpy (info->suffix, &p[1], GMT_LEN64-1); | ^ In function 'strncpy', inlined from 'gmt_alloc_dataset' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8509:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' destination unchanged after copying no bytes [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_Call_Module': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:831:52: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 831 | snprintf (format, GMT_LEN128, "%c%s", opt->option, opt->arg); /* Get a local copy so we can mess with it */ | ^ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:186: In function 'snprintf', inlined from 'gmtapi_modern_oneliner' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:831:3, inlined from 'gmtapi_check_for_modern_oneliner' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:859:11, inlined from 'GMT_Call_Module' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:12681:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 129 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'gmt_get_module_group': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:12764:25: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 12764 | strncpy (module, gmt_module, strlen(gmt_module)); /* Rewrite module name to contain prefix of gmt */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:12764:25: note: length computed here 12764 | strncpy (module, gmt_module, strlen(gmt_module)); /* Rewrite module name to contain prefix of gmt */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c: In function 'gmt_realloc_dataset': /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8455:46: warning: 'n_seg' may be used uninitialized [-Wmaybe-uninitialized] 8455 | if ((D->table[tbl] = gmt_create_table (GMT, n_seg, n_row, n_col, mode, false)) == NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8371:33: note: 'n_seg' was declared here 8371 | uint64_t tbl, seg, col, n_seg, n_col, n_row; | ^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8455:46: warning: 'n_row' may be used uninitialized [-Wmaybe-uninitialized] 8455 | if ((D->table[tbl] = gmt_create_table (GMT, n_seg, n_row, n_col, mode, false)) == NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8371:47: note: 'n_row' was declared here 8371 | uint64_t tbl, seg, col, n_seg, n_col, n_row; | ^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8455:46: warning: 'n_col' may be used uninitialized [-Wmaybe-uninitialized] 8455 | if ((D->table[tbl] = gmt_create_table (GMT, n_seg, n_row, n_col, mode, false)) == NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8371:40: note: 'n_col' was declared here 8371 | uint64_t tbl, seg, col, n_seg, n_col, n_row; | ^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8448:33: warning: 'S' may be used uninitialized [-Wmaybe-uninitialized] 8448 | T->n_columns = S->n_columns; /* This has either changed or not */ | ~^~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:8374:33: note: 'S' was declared here 8374 | struct GMT_DATASEGMENT *S; | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmtsupport_crosstracks_cartesian.constprop.0': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:5935:47: warning: 'az_cross' may be used uninitialized [-Wmaybe-uninitialized] 5935 | sincosd (90.0 - az_cross - deviation, &sa, &ca); /* Trig on the direction */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:5877:56: note: 'az_cross' was declared here 5877 | double dist_across_seg, orientation, sign = 1, az_cross, x, y, sa, ca; | ^~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'gmtapi_write_vector.constprop.0': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:7138:67: warning: 'was' may be used uninitialized [-Wmaybe-uninitialized] 7138 | if (V->n_headers) GMT->current.setting.io_header[GMT_OUT] = was; /* Revert to the original setting */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:7049:50: note: 'was' was declared here 7049 | bool close_file = false, append = false, was; | ^~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmt_draw_custom_symbol': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:3691:17: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 511 [-Wstringop-truncation] 3691 | strncpy (pen->style, PSL->current.style, GMT_PEN_LEN-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c: In function 'gmtio_ogr_header_parser': /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:878:44: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 878 | S->proj[k] = strdup (&p[2]); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:776:34: note: 'k' was declared here 776 | unsigned int n_aspatial, k, geometry = 0; | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'gmtapi_write_matrix.constprop.0': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:6979:67: warning: 'was' may be used uninitialized [-Wmaybe-uninitialized] 6979 | if (M->n_headers) GMT->current.setting.io_header[GMT_OUT] = was; /* Revert to the original setting */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:6892:50: note: 'was' was declared here 6892 | bool close_file = false, append = false, was; | ^~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtinit_get_language.isra.0': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6219:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6219 | strncpy (GMT->current.language.cardinal_name[0][i-1], full, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6220:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6220 | strncpy (GMT->current.language.cardinal_name[1][i-1], abbrev, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6221:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6221 | strncpy (GMT->current.language.cardinal_name[2][i-1], c, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6208:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6208 | strncpy (GMT->current.language.week_name[0], full, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6209:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6209 | strncpy (GMT->current.language.week_name[1], abbrev, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6210:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6210 | strncpy (GMT->current.language.week_name[2], c, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6202:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6202 | strncpy (GMT->current.language.day_name[0][i-1], full, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6203:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6203 | strncpy (GMT->current.language.day_name[1][i-1], abbrev, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6204:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6204 | strncpy (GMT->current.language.day_name[2][i-1], c, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6189:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6189 | strncpy (GMT->current.language.month_name[0][i-1], full, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6190:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6190 | strncpy (GMT->current.language.month_name[1][i-1], abbrev, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6191:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6191 | strncpy (GMT->current.language.month_name[2][i-1], c, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6193:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 6193 | strncpy (GMT->current.language.month_name[3][i-1], abbrev, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmtlib_getpenstyle': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:1031:17: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1031 | strncpy (P->style, line, GMT_PEN_LEN); /* We will update style in gmt_set_undefined_defaults. */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c: In function 'gmt_fopen': /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:5094:87: warning: ' current.io.filename[GMT_IN], "%s ", GMT->current.io.tempfile, c); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102: In function 'sprintf', inlined from 'gmt_fopen' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:5094:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 31 or more bytes (assuming 4126) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmt_importproj4': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:7982:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 16 [-Wformat-truncation=] 7982 | snprintf(prjcode, 16, "%s",(token[0] == '+' ? &token[6] : &token[5])); /* PROJ4 projection code. */ | ^~ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:73: In function 'snprintf', inlined from 'gmt_importproj4' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:7982:3: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output between 1 and 256 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmt_importproj4': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8177:33: warning: '__strncat_chk' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 8177 | strncat(opt_J, &token[6], GMT_LEN256-1); strcat (opt_J, "/"); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8149:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8149 | strncat(lat_ts, &token[7], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8145:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8145 | strncat(lat_0, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8141:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8141 | strncat(lon_0, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8111:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8111 | strncat(lat_2, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8107:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8107 | strncat(lat_1, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8103:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8103 | strncat(lat_0, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_Encode_Options': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8099:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8099 | strncat(lon_0, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_locate_custom_symbol': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4860:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 4860 | strncpy (name, in_name, length-4); /* Eliminate extension in name */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:12792:9: warning: '__strncat_chk' output may be truncated copying 28 bytes from a string of length 31 [-Wstringop-truncation] 12792 | strncat (gmt_module, module, GMT_LEN32-4); /* Concatenate gmt and module name to get function name */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4854:18: note: length computed here 4854 | length = strlen (in_name); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4856:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 4856 | strncpy (name, in_name, length-4); /* Eliminate extension in name */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:12796:25: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 12796 | strncpy (module, gmt_module, strlen(gmt_module)); /* Rewrite module name to contain prefix of gmt */ | ^ In function 'gmtapi_retrieve_module_keys', inlined from 'GMT_Encode_Options' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:13059:14: /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4854:18: note: length computed here 4854 | length = strlen (in_name); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8086:37: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 8086 | sprintf(t, "%d/", zone); | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8086:36: note: directive argument in the range [-2147483648, 64] 8086 | sprintf(t, "%d/", zone); | ^~~~~ In function 'sprintf', inlined from 'gmt_importproj4' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8086:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 13 bytes into a destination of size 4 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:12796:25: note: length computed here 12796 | strncpy (module, gmt_module, strlen(gmt_module)); /* Rewrite module name to contain prefix of gmt */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmt_importproj4': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8038:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8038 | strncat(alpha, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8036:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8036 | strncat(lonc, &token[5], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8034:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8034 | strncat(lat_0, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8032:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8032 | strncat(lat_2, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8030:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8030 | strncat(lon_2, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8028:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8028 | strncat(lat_1, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8026:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8026 | strncat(lon_1, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8006:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8006 | strncat(lat_0, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8002:33: warning: '__strncat_chk' output may be truncated copying 31 bytes from a string of length 255 [-Wstringop-truncation] 8002 | strncat(lon_0, &token[6], 31); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8336:78: warning: '%s' directive writing up to 255 bytes into a region of size 32 [-Wformat-overflow=] 8336 | if (gmt_strtok (pch, " \t+", &pos, token)) sprintf(scale_c, "%s", &token[6]); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'gmt_importproj4' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8336:46: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 1 and 256 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmt_importproj4': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8344:78: warning: '%s' directive writing up to 255 bytes into a region of size 32 [-Wformat-overflow=] 8344 | if (gmt_strtok (pch, " \t+", &pos, token)) sprintf(scale_c, "%sW", &token[6]); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'gmt_importproj4' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8344:46: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 257 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtinit_parse4_B_option': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4004:33: warning: 'strncpy' specified bound 63 equals destination size [-Wstringop-truncation] 4004 | strncpy (&workspace[1], GMT->current.map.frame.axis[i].prefix, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4014:33: warning: 'strncpy' specified bound 63 equals destination size [-Wstringop-truncation] 4014 | strncpy (&workspace[1], GMT->current.map.frame.axis[i].unit, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_list_cpt': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7750:17: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 7750 | strncpy (line, GMT_CPT_master[k], GMT_LEN256); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtinit_parse5_B_option': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4306:49: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation] 4306 | strncpy (GMT->current.map.frame.header, &p[1], GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4298:49: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation] 4298 | strncpy (GMT->current.map.frame.sub_header, &p[1], GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4486:9: warning: 'strncpy' output may be truncated copying between 0 and 4095 bytes from a string of length 4095 [-Wstringop-truncation] 4486 | strncpy (orig_string, text, k); /* orig_string now has the interval information */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4598:57: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 4598 | strncpy (GMT->current.map.frame.axis[no].unit, &p[1], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4573:57: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 4573 | strncpy (GMT->current.map.frame.axis[no].prefix, &p[1], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4587:57: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation] 4587 | strncpy (GMT->current.map.frame.axis[no].secondary_label, &p[1], GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:4562:57: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation] 4562 | strncpy (GMT->current.map.frame.axis[no].label, &p[1], GMT_LEN256-1); | ^ In function 'strcat', inlined from 'gmtio_assign_aspatial_cols' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:953:12, inlined from 'gmtio_ascii_input' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_io.c:3758:14: /usr/include/bits/string_fortified.h:130:10: warning: '__strcat_chk' accessing 170042 or more bytes at offsets 353996 and 183955 may overlap 1 byte at offset 353996 [-Wrestrict] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_sample_cpt': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:8944:54: warning: 'scale_low' may be used uninitialized [-Wmaybe-uninitialized] 8944 | x[i] = (z[i] - z[0]) * scale_low; | ~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:8929:24: note: 'scale_low' was declared here 8929 | double scale_low, scale_high, z_hinge = 0.0, hinge = 0.0; | ^~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmt_map_basemap': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:2193:52: warning: 'G_dy' may be used uninitialized [-Wmaybe-uninitialized] 2193 | if (gmt_M_is_zero (fmod (yj, G_dy))) continue; /* Not draw on top of gridlines */ | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:2111:61: note: 'G_dy' was declared here 2111 | double angle, Ca, Sa, L, sgn[2] = {1.0, 0.0}, G_dx, G_dy, dx, dy, ys, yn; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:2172:52: warning: 'G_dx' may be used uninitialized [-Wmaybe-uninitialized] 2172 | if (gmt_M_is_zero (fmod (xi, G_dx))) continue; /* Not draw on top of gridlines */ | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:2111:55: note: 'G_dx' was declared here 2111 | double angle, Ca, Sa, L, sgn[2] = {1.0, 0.0}, G_dx, G_dy, dx, dy, ys, yn; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c: In function 'gmtmap_init_utm.constprop.0': /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3768:37: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 3768 | snprintf (zone, 4, "%d%c", kx, GMT->current.proj.utm_zoney); | ^~ In function 'gmtmap_set_utmzone', inlined from 'gmtmap_init_utm.constprop.0' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3782:39: /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3768:36: note: directive argument in the range [-2147483647, 2147483647] 3768 | snprintf (zone, 4, "%d%c", kx, GMT->current.proj.utm_zoney); | ^~~~~~ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:105: In function 'snprintf', inlined from 'gmtmap_set_utmzone' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3768:3, inlined from 'gmtmap_init_utm.constprop.0' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_map.c:3782:39: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 13 bytes into a destination of size 4 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_Change_Layout': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:15253:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 15253 | strncpy (I->header->mem_layout, code, MIN(strlen(code),4)); | ^ In file included from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:140: In function 'gmtapi_change_imagelayout', inlined from 'GMT_Change_Layout' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:15279:12, inlined from 'GMT_Change_Layout' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:15260:5: /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:15253:59: note: length computed here 15253 | strncpy (I->header->mem_layout, code, MIN(strlen(code),4)); /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtlib_getparameter': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:13264:25: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] 13264 | strncpy (value, GMT->current.setting.time_system.epoch, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:12821:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 12821 | strncpy (value, GMT->current.setting.ps_transpmode, GMT_LEN16-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:12885:53: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 8 [-Wformat-truncation=] 12885 | snprintf (txt, 8U, "%s,", GMT->current.setting.io_head_marker_in); strcat (value, txt); | ^~ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/gmt-6.4.0/src/postscriptlight.h:48, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_dev.h:102, from /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:96: In function 'snprintf', inlined from 'gmtlib_getparameter' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:12885:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 33 bytes into a destination of size 8 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtlib_getparameter': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:13210:25: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] 13210 | strncpy (value, GMT->current.setting.language, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c: In function 'gmt_plotinit': /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8798:17: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 8798 | strncpy (region, label, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8795:37: warning: '%s' directive writing up to 252 bytes into a region of size 62 [-Wformat-overflow=] 8795 | sprintf (region, "-R%s", &label[k]); | ^~ In function 'sprintf', inlined from 'gmtplot_prog_indicator_F' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:8795:3, inlined from 'gmt_plotinit' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_plot.c:9308:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 255 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'gmtapi_expand_index_image.constprop.0': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:4577:17: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 4577 | strncpy (h->mem_layout, "TRP ", 4); /* Fill out red, green, and blue pixels */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:4568:17: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 4568 | strncpy (h->mem_layout, "TRB ", 4); /* Fill out red, green, and blue bands */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_Put_Vector': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:15381:17: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 15381 | strncpy (text, dt[0], GMT_LEN64); /* Since gmt_scanf may try to temporarily change the string... */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:15403:25: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 15403 | strncpy (text, dt[row], GMT_LEN64); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_Put_Strings': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:15576:28: warning: 'code' may be used uninitialized [-Wmaybe-uninitialized] 15576 | if (code == GMT_IS_PALETTE_LABEL) { | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:15509:27: note: 'code' was declared here 15509 | enum GMT_enum_CPT code; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_getpen': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_Read_Data': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7102:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7102 | strncpy (color, width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:7880:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7880 | strncpy (last_color, color, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7103:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7103 | strncpy (width, def_width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:5962:33: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 5962 | strncpy (HH->name, the_file, GMT_GRID_NAME_LEN256); /* Filename minus any specified variable */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:5962:33: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7098:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7098 | strncpy (style, width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7099:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7099 | strncpy (width, def_width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7081:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7081 | strncpy (style, color, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7082:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7082 | strncpy (color, width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7083:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7083 | strncpy (width, def_width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7110:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7110 | strncpy (color, width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7111:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7111 | strncpy (width, def_width, GMT_LEN256-1); | ^ In function 'gmtapi_import_cube', inlined from 'gmtapi_import_data' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:7413:14, inlined from 'gmtapi_get_data' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:7469:17, inlined from 'GMT_Read_Data' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:9521:17: /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7106:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7106 | strncpy (style, width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:6040:46: warning: 'z_max' may be used uninitialized [-Wmaybe-uninitialized] 6040 | U_obj->header->z_max = z_max; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_Read_Data': /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:5887:38: note: 'z_max' was declared here 5887 | double *level = NULL, z_min, z_max, w_range[2] = {0.0, 0.0}; | ^~~~~ In function 'gmtapi_import_cube', inlined from 'gmtapi_import_data' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:7413:14, inlined from 'gmtapi_get_data' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:7469:17, inlined from 'GMT_Read_Data' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:9521:17: /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:6039:46: warning: 'z_min' may be used uninitialized [-Wmaybe-uninitialized] 6039 | U_obj->header->z_min = z_min; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c: In function 'GMT_Read_Data': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7107:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7107 | strncpy (width, def_width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:5887:31: note: 'z_min' was declared here 5887 | double *level = NULL, z_min, z_max, w_range[2] = {0.0, 0.0}; | ^~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7086:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7086 | strncpy (style, color, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:6031:59: warning: 'here' may be used uninitialized [-Wmaybe-uninitialized] 6031 | gmt_M_memcpy (&U_obj->data[here], G->data, U_obj->header->size, gmt_grdfloat); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_api.c:5883:71: note: 'here' was declared here 5883 | uint64_t k0, k1, ij, ij_orig, n_layers = 0, k, n_layers_used, here; | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7089:33: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7089 | strncpy (color, width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:7090:33: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 7090 | strncpy (width, def_width, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:973:9: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 973 | strncpy (Lname, name, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_make_profiles': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:11014:70: warning: 'dcol' may be used uninitialized [-Wmaybe-uninitialized] 11014 | gmt_M_memcpy (S->data[GMT_Z], S->data[dcol], S->n_rows, double); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10826:30: note: 'dcol' was declared here 10826 | unsigned int n_cols, dcol, np = 0, k, s, pos = 0, pos2 = 0, xtype = gmt_M_type (GMT, GMT_IN, GMT_X), ytype = gmt_M_type (GMT, GMT_IN, GMT_Y); | ^~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmt_subplot_info': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:14122:48: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 14122 | if (strcmp (tmp, "@")) strncpy (P->tag, tmp, GMT_LEN128-1); /* Replace auto-tag with manually added tag */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmtlib_decorate_specs': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10582:49: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 10582 | strncpy (G->size, &p[2], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10574:65: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 10574 | strncpy (G->symbol_code, &p[1], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10551:43: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 10551 | if (p[1]) strncpy (G->pen, &p[1], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10532:43: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 10532 | if (p[1]) strncpy (G->fill, &p[1], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtlib_setparameter': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:11985:25: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 11985 | strncpy (GMT->current.setting.time_system.epoch, lower_value, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:10757:25: warning: 'strncpy' output may be truncated copying 5 bytes from a string of length 4095 [-Wstringop-truncation] 10757 | strncpy (GMT->current.setting.map_annot_ortho, lower_value, 5U); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:10736:33: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 10736 | strncpy (GMT->current.setting.map_annot_min_spacing_txt, value, GMT_LEN16); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:11887:25: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 11887 | strncpy (GMT->current.setting.language, lower_value, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_getrose': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4518:46: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 4518 | if (strcmp (p, "-")) strncpy (ms->label[order[k]], p, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_token_check': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:18579:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 18579 | strncpy (record, start, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_getfont': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6847:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6847 | strncpy (name, size, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6843:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6843 | strncpy (fill, size, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6835:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6835 | strncpy (fill, name, GMT_LEN256-1); /* Copy size */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6836:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6836 | strncpy (name, size, GMT_LEN256-1); /* Place name where it belongs */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6837:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6837 | strncpy (size, fill, GMT_LEN256-1); /* Place size where it belongs */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6827:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6827 | strncpy (fill, name, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6830:33: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6830 | strncpy (name, size, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6822:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6822 | strncpy (fill, name, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6823:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6823 | strncpy (name, size, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6855:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6855 | strncpy (name, size, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:6851:25: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 6851 | strncpy (fill, size, GMT_LEN256-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_contlabel_specs': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10328:43: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 10328 | if (p[1]) strncpy (G->unit, &p[1], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10240:33: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 10240 | strncpy (G->label, &p[1], GMT_BUFSIZ-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10324:43: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 10324 | if (p[1]) strncpy (G->label_file, &p[1], PATH_MAX-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10276:49: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 10276 | strncpy (G->label, &p[1], GMT_BUFSIZ-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:10356:43: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 10356 | if (p[1]) strncpy (G->prefix, &p[1], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c: In function 'gmt_getscale': /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:13719:32: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 13719 | if (string[0]) strncpy (ms->label, string, GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4417:49: warning: '__strncat_chk' output may be truncated copying 126 bytes from a string of length 4095 [-Wstringop-truncation] 4417 | strncat (oldshit, p, GMT_LEN128-2); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4424:51: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 4095 [-Wstringop-truncation] 4424 | if (p[1]) strncpy (ms->label, &p[1], GMT_LEN64-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4402:49: warning: '__strncat_chk' output may be truncated copying 126 bytes from a string of length 4095 [-Wstringop-truncation] 4402 | strncat (oldshit, p, GMT_LEN128-2); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_support.c:4393:49: warning: '__strncat_chk' output may be truncated copying 125 bytes from a string of length 4095 [-Wstringop-truncation] 4393 | strncat (oldshit, &p[1], GMT_LEN128-3); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmt_add_legend_item': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19493:17: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 19493 | strncpy (label, item->label, GMT_LEN128-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19515:48: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 19515 | sprintf (scode, "~n1:+s%s%s", S->D.symbol_code, S->D.size); | ^~ In function 'sprintf', inlined from 'gmt_add_legend_item' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19515:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 133 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmt_parse_R_option': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:8768:9: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation] 8768 | strncpy (GMT->common.R.string, item, GMT_LEN256-1); /* Verbatim copy */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:8768:9: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation] /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:8896:17: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 8896 | strncpy (string, &item[1], GMT_BUFSIZ-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:8928:17: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 8928 | strncpy (string, item, GMT_BUFSIZ-1); /* Try to read these as 4 limits in meters */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:8938:17: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 8938 | strncpy (string, item, GMT_BUFSIZ-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:8917:17: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 8917 | strncpy (string, &item[1], GMT_BUFSIZ-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:952:9: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 952 | strncpy (Jstring, GMT->common.J.string, GMT_LEN128-1); /* Make a duplicate in case we must mess around with it */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtinit_parse_J_option': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:5122:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 5122 | strncpy (args_buf, args_in, GMT_LEN128); /* Must duplicate since args_in may be a static string */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:5133:17: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 5133 | strncpy (GMT->common.J.zstring, args, GMT_LEN128-1); /* Verbatim copy of -Jz|Z */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:5135:17: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 5135 | strncpy (GMT->common.J.string, args, GMT_LEN128-1); /* Verbatim copy or map -J */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmt_init_module': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:14527:73: warning: '__strncat_chk' output may be truncated copying 126 bytes from a string of length 255 [-Wstringop-truncation] 14527 | r_opt[0] = '+'; strncat (r_opt, p, GMT_LEN128-2); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:15656:33: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 15656 | strncpy (dir, API->remote_info[k_data].dir, strlen (API->remote_info[k_data].dir)-1); /* Make a copy without the trailing slash */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:15656:77: note: length computed here 15656 | strncpy (dir, API->remote_info[k_data].dir, strlen (API->remote_info[k_data].dir)-1); /* Make a copy without the trailing slash */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmt_parse_symbol_option': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:16526:33: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 16526 | strncpy (t, txt_a, strlen(txt_a) - 1); /* Make a copy of what we found minus the unit char */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:16526:52: note: length computed here 16526 | strncpy (t, txt_a, strlen(txt_a) - 1); /* Make a copy of what we found minus the unit char */ | ^~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:5922:49: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 4095 [-Wstringop-truncation] 5922 | case 't': strncpy (S->string, &p[1], GMT_LEN256-1); break; /* Get the symbol text */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmt_parse_common_options': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9440:54: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 127 [-Wstringop-truncation] 9440 | if (&txt[1]) strncpy (GMT->common.l.item.pen[GMT_LEGEND_PEN_P], &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9437:54: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 127 [-Wstringop-truncation] 9437 | if (&txt[1]) strncpy (GMT->common.l.item.off, &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9433:54: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 127 [-Wstringop-truncation] 9433 | if (&txt[1]) strncpy (GMT->common.l.item.fill, &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9431:43: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 127 [-Wstringop-truncation] 9431 | case 'f': strncpy (GMT->common.l.item.font, &txt[1], GMT_LEN32-1); break; /* Font to use for this -l entry */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9429:54: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 127 [-Wstringop-truncation] 9429 | if (&txt[1]) strncpy (GMT->common.l.item.pen[GMT_LEGEND_PEN_V], &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9412:49: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 9412 | strncpy (GMT->common.l.item.subheader, &txt[1], GMT_LEN128-1); /* Legend label default left justified */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9408:49: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 9408 | strncpy (GMT->common.l.item.subheader, &txt[3], GMT_LEN128-1); /* Legend label */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9402:43: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 9402 | case 'H': strncpy (GMT->common.l.item.header, &txt[1], GMT_LEN128-1); break; /* Legend header */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9397:43: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 127 [-Wstringop-truncation] 9397 | case 'G': strncpy (GMT->common.l.item.gap, &txt[1], GMT_LEN32-1); break; /* Gap before next item */ | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:9400:54: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 127 [-Wstringop-truncation] 9400 | if (&txt[1]) strncpy (GMT->common.l.item.pen[GMT_LEGEND_PEN_D], &txt[1], GMT_LEN32-1); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtinit_new_GMT_ctrl': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:6858:25: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 4095 [-Wstringop-truncation] 6858 | strncpy (GMT->session.font[i].name, fullname, PSL_FONTNAME_LEN); | ^ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtlib_reparse_i_option': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19943:25: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=] 19943 | sprintf (text, "%d", (int)n_columns-1); | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19943:24: note: directive argument in the range [-2147483648, 2147483646] 19943 | sprintf (text, "%d", (int)n_columns-1); | ^~~~ In function 'sprintf', inlined from 'gmtlib_reparse_i_option' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19943:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 12 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c: In function 'gmtlib_reparse_o_option': /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19961:25: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=] 19961 | sprintf (text, "%d", (int)n_columns-1); | ^~ /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19961:24: note: directive argument in the range [-2147483648, 2147483646] 19961 | sprintf (text, "%d", (int)n_columns-1); | ^~~~ In function 'sprintf', inlined from 'gmtlib_reparse_o_option' at /builddir/build/BUILD/gmt-6.4.0/src/gmt_init.c:19961:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 12 bytes into a destination of size 8 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' gmake[1]: Leaving directory '/builddir/build/BUILD/gmt-6.4.0/loongarch64-OpenCloudOS-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:537: src/CMakeFiles/gmtlib.dir/all] Error 2 gmake: *** [Makefile:159: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.4DeJCS (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4DeJCS (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/GMT.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/GMT.spec'