Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/shapelib.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-224882-16804/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/shapelib.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/shapelib-1.5.0-3.ocs23.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/shapelib.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-224882-16804/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/shapelib.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.mxRuEd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shapelib-1.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/shapelib-1.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd shapelib-1.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/df1e996c541b3dc3f6bc8d589a140fdc8c544373.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6hmNcL + 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 shapelib-1.5.0 + autoreconf -ifv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:16: installing './compile' configure.ac:12: installing './missing' Makefile.am: installing './depcomp' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + mkdir build_native + pushd build_native ~/build/BUILD/shapelib-1.5.0/build_native ~/build/BUILD/shapelib-1.5.0 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname ../configure ++ find .. -name config.guess -o -name config.sub + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ../config.sub ++ basename ../config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ../config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> '../config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ../config.guess ++ basename ../config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ../config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> '../config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ../configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for loongarch64-opencloudos-linux-gnu-ar... no checking for loongarch64-opencloudos-linux-gnu-lib... no checking for loongarch64-opencloudos-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for loongarch64-opencloudos-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for floor in -lm... yes checking for some Win32 platform... no Configuration summary for shapelib 1.5.0: - Host: loongarch64-opencloudos-linux-gnu checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating shapelib.pc config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 Making all in . make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shprewind.o ../shprewind.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shpcreate.o ../shpcreate.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o dbfadd.o ../dbfadd.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o dbfcreate.o ../dbfcreate.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shpadd.o ../shpadd.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shpdump.o ../shpdump.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o dbfdump.o ../dbfdump.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shptest.o ../shptest.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' In file included from /usr/include/stdio.h:964, from ../shapefil.h:178, from ../dbfdump.c:82: In function 'printf', inlined from 'main' at ../dbfdump.c:167:13: /usr/include/bits/stdio2.h:86:10: warning: 'pszTypeName' may be used uninitialized [-Wmaybe-uninitialized] 86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../dbfdump.c: In function 'main': ../dbfdump.c:152:34: note: 'pszTypeName' was declared here 152 | const char *pszTypeName; | ^~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o safileio.lo ../safileio.c libtool: compile: gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" "-DPACKAGE_STRING=\"shapelib 1.5.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c ../safileio.c -fPIC -DPIC -o .libs/safileio.o make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shptreedump.o ../shptreedump.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o sbnsearch.lo ../sbnsearch.c libtool: compile: gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" "-DPACKAGE_STRING=\"shapelib 1.5.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c ../sbnsearch.c -fPIC -DPIC -o .libs/sbnsearch.o make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shputils.o ../shputils.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' ../shputils.c: In function 'main': ../shputils.c:396:17: warning: enumeration value 'FTDate' not handled in switch [-Wswitch] 396 | switch( DBFGetFieldInfo( hDBF, i, NULL, &iWidth, &iDecimals ) ) | ^~~~~~ ../shputils.c: In function 'showitems': ../shputils.c:675:9: warning: enumeration value 'FTDate' not handled in switch [-Wswitch] 675 | switch( DBFGetFieldInfo( hDBF, i, iszTitle, &iWidth, &iDecimals ) ) | ^~~~~~ ../shputils.c: In function 'findunit': ../shputils.c:946:21: warning: missing braces around initializer [-Wmissing-braces] 946 | } unitkeytab[] = { | ^ 947 | "CM", 39.37, | { } 948 | "CENTIMETER", 39.37, | { } 949 | "CENTIMETERS", 39.37, /** # of inches * 100 in unit **/ | { } 950 | "METER", 3937, | { } 951 | "METERS", 3937, | { } 952 | "KM", 3937000, | { } 953 | "KILOMETER", 3937000, | { } 954 | "KILOMETERS", 3937000, | { } 955 | "INCH", 100, | { } 956 | "INCHES", 100, | { } 957 | "FEET", 1200, | { } 958 | "FOOT", 1200, | { } 959 | "YARD", 3600, | { } 960 | "YARDS", 3600, | { } 961 | "MILE", 6336000, | { } 962 | "MILES", 6336000 | { 963 | }; | } ../shputils.c: In function 'clip_boundary': ../shputils.c:905:1: warning: control reaches end of non-void function [-Wreturn-type] 905 | } | ^ ../shputils.c: In function 'showitems': ../shputils.c:685:57: warning: 'strncpy' output may be truncated copying 39 bytes from a string of length 39 [-Wstringop-truncation] 685 | if (strncasecmp2(stmp,slow,0) < 0) strncpy(slow, stmp,39); | ^ ../shputils.c:686:57: warning: 'strncpy' output may be truncated copying 39 bytes from a string of length 39 [-Wstringop-truncation] 686 | if (strncasecmp2(stmp,shigh,0) > 0) strncpy(shigh,stmp,39); | ^ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shptree.lo ../shptree.c libtool: compile: gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" "-DPACKAGE_STRING=\"shapelib 1.5.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c ../shptree.c -fPIC -DPIC -o .libs/shptree.o make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o dbfopen.lo ../dbfopen.c libtool: compile: gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" "-DPACKAGE_STRING=\"shapelib 1.5.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c ../dbfopen.c -fPIC -DPIC -o .libs/dbfopen.o make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' ../dbfopen.c: In function 'DBFWriteAttribute': ../dbfopen.c:1531:9: warning: 'strncpy' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 1531 | strncpy(REINTERPRET_CAST(char *, pabyRec+psDBF->panFieldOffset[iField]), | ^ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c -o shpopen.lo ../shpopen.c libtool: compile: gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" "-DPACKAGE_STRING=\"shapelib 1.5.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -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 -c ../shpopen.c -fPIC -DPIC -o .libs/shpopen.o make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' ../shpopen.c: In function 'SHPReadObject': ../shpopen.c:2433:21: warning: '. Probably broken SHP file' directive output may be truncated writing 26 bytes into a region of size between 25 and 48 [-Wformat-truncation=] 2433 | "Not enough memory to allocate requested memory (nPoints=%u, nParts=%u) for shape %d. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../shpopen.c:2433:105: note: format string is defined here 2433 | "Not enough memory to allocate requested memory (nPoints=%u, nParts=%u) for shape %d. " | ^~~ 2434 | "Probably broken SHP file", nPoints, nParts, hEntity ); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from ../shapefil.h:178, from ../shpopen.c:307: In function 'snprintf', inlined from 'SHPReadObject' at ../shpopen.c:2432:13: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 107 and 130 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 ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -version-info 3:0:1 -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libshp.la -rpath /usr/lib64 shpopen.lo dbfopen.lo safileio.lo shptree.lo sbnsearch.lo libtool: link: gcc -shared -fPIC -DPIC .libs/shpopen.o .libs/dbfopen.o .libs/safileio.o .libs/shptree.o .libs/sbnsearch.o -lm -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,libshp.so.2 -o .libs/libshp.so.2.1.0 libtool: link: (cd ".libs" && rm -f "libshp.so.2" && ln -s "libshp.so.2.1.0" "libshp.so.2") libtool: link: (cd ".libs" && rm -f "libshp.so" && ln -s "libshp.so.2.1.0" "libshp.so") libtool: link: ( cd ".libs" && rm -f "libshp.la" && ln -s "../libshp.la" "libshp.la" ) make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shprewind shprewind.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shprewind shprewind.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o dbfadd dbfadd.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/dbfadd dbfadd.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o dbfcreate dbfcreate.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/dbfcreate dbfcreate.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o dbfdump dbfdump.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/dbfdump dbfdump.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpadd shpadd.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpadd shpadd.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpdump shpdump.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpdump shpdump.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpcreate shpcreate.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpcreate shpcreate.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shptest shptest.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shptest shptest.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shptreedump shptreedump.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shptreedump shptreedump.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /bin/sh ./libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shputils shputils.o ./libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shputils shputils.o ./.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' Making all in contrib make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpcat-shpcat.o `test -f 'shpcat.c' || echo '../../contrib/'`shpcat.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o dbfinfo-dbfinfo.o `test -f 'dbfinfo.c' || echo '../../contrib/'`dbfinfo.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpfix-shpfix.o `test -f 'shpfix.c' || echo '../../contrib/'`shpfix.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpcentrd-shpcentrd.o `test -f 'shpcentrd.c' || echo '../../contrib/'`shpcentrd.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/dbfinfo.c: In function 'main': ../../contrib/dbfinfo.c:81:25: warning: unused variable 'eType' [-Wunused-variable] 81 | DBFFieldType eType; | ^~~~~ ../../contrib/dbfinfo.c:42:21: warning: unused variable 'ciRecord' [-Wunused-variable] 42 | int ci, ciRecord; | ^~~~~~~~ ../../contrib/dbfinfo.c:42:17: warning: unused variable 'ci' [-Wunused-variable] 42 | int ci, ciRecord; | ^~ ../../contrib/dbfinfo.c:41:31: warning: unused variable 'cType' [-Wunused-variable] 41 | DBFFieldType hType,cType; | ^~~~~ ../../contrib/dbfinfo.c:41:25: warning: unused variable 'hType' [-Wunused-variable] 41 | DBFFieldType hType,cType; | ^~~~~ ../../contrib/dbfinfo.c:40:17: warning: unused variable 'cDBF' [-Wunused-variable] 40 | DBFHandle cDBF; | ^~~~ ../../contrib/dbfinfo.c:39:26: warning: unused variable 'cnDecimals' [-Wunused-variable] 39 | int cnWidth, cnDecimals; | ^~~~~~~~~~ ../../contrib/dbfinfo.c:39:17: warning: unused variable 'cnWidth' [-Wunused-variable] 39 | int cnWidth, cnDecimals; | ^~~~~~~ ../../contrib/dbfinfo.c:37:40: warning: unused variable 'nTitle' [-Wunused-variable] 37 | char ftype[32], cTitle[32], nTitle[32]; | ^~~~~~ ../../contrib/dbfinfo.c:37:28: warning: unused variable 'cTitle' [-Wunused-variable] 37 | char ftype[32], cTitle[32], nTitle[32]; | ^~~~~~ ../../contrib/dbfinfo.c:36:31: warning: unused variable 'szField' [-Wunused-variable] 36 | char szFormat[32], szField[1024]; | ^~~~~~~ ../../contrib/dbfinfo.c:36:17: warning: unused variable 'szFormat' [-Wunused-variable] 36 | char szFormat[32], szField[1024]; | ^~~~~~~~ ../../contrib/dbfinfo.c:35:31: warning: unused variable 'iRecord' [-Wunused-variable] 35 | int *panWidth, i, iRecord; | ^~~~~~~ ../../contrib/dbfinfo.c:35:18: warning: variable 'panWidth' set but not used [-Wunused-but-set-variable] 35 | int *panWidth, i, iRecord; | ^~~~~~~~ ../../contrib/shpcentrd.c: In function 'main': ../../contrib/shpcentrd.c:110:25: warning: unused variable 'res' [-Wunused-variable] 110 | int res ; | ^~~ ../../contrib/shpcentrd.c:71:17: warning: unused variable 'Cpan' [-Wunused-variable] 71 | int Cpan[2] = { 0,0 }; | ^~~~ ../../contrib/shpcentrd.c:69:17: warning: unused variable 'apeture' [-Wunused-variable] 69 | double apeture[4]; | ^~~~~~~ ../../contrib/shpcentrd.c:68:17: warning: unused variable 'dbfFileName' [-Wunused-variable] 68 | char dbfFileName[120] = ""; | ^~~~~~~~~~~ ../../contrib/shpcentrd.c:67:17: warning: unused variable 'shpFileName' [-Wunused-variable] 67 | char shpFileName[120] = ""; | ^~~~~~~~~~~ ../../contrib/shpcentrd.c:66:17: warning: unused variable 'fldName' [-Wunused-variable] 66 | char fldName[120] = ""; | ^~~~~~~ ../../contrib/shpcentrd.c:65:17: warning: unused variable 'idfldName' [-Wunused-variable] 65 | char idfldName[120] = ""; | ^~~~~~~~~ ../../contrib/shpcentrd.c:64:17: warning: unused variable 'kv' [-Wunused-variable] 64 | char kv[257] = ""; | ^~ ../../contrib/shpcentrd.c:63:24: warning: unused variable 'nflds' [-Wunused-variable] 63 | int idfld, nflds; | ^~~~~ ../../contrib/shpcentrd.c:63:17: warning: unused variable 'idfld' [-Wunused-variable] 63 | int idfld, nflds; | ^~~~~ ../../contrib/shpcentrd.c:62:19: warning: unused variable 'idfld_type' [-Wunused-variable] 62 | DBFFieldType idfld_type; | ^~~~~~~~~~ ../../contrib/shpcentrd.c:61:18: warning: unused variable 'pszPlus' [-Wunused-variable] 61 | const char *pszPlus; | ^~~~~~~ ../../contrib/shpcentrd.c:60:31: warning: unused variable 'adBounds' [-Wunused-variable] 60 | double *padVertices, adBounds[4]; | ^~~~~~~~ ../../contrib/shpcentrd.c:60:18: warning: unused variable 'padVertices' [-Wunused-variable] 60 | double *padVertices, adBounds[4]; | ^~~~~~~~~~~ ../../contrib/shpcentrd.c:59:73: warning: unused variable 'iPart' [-Wunused-variable] 59 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~ ../../contrib/shpcentrd.c:59:60: warning: unused variable 'panParts' [-Wunused-variable] 59 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~~~ ../../contrib/shpcentrd.c:59:51: warning: unused variable 'nParts' [-Wunused-variable] 59 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~ ../../contrib/shpcentrd.c:59:40: warning: unused variable 'nVertices' [-Wunused-variable] 59 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~~~~ ../../contrib/shpdata.c: In function 'main': ../../contrib/shpdata.c:95:25: warning: unused variable 'j' [-Wunused-variable] 95 | int j, numVtx, rStart; | ^ ../../contrib/shpdata.c:89:26: warning: variable 'prevStart' set but not used [-Wunused-but-set-variable] 89 | int ring, prevStart, ringDir; | ^~~~~~~~~ ../../contrib/shpdata.c:84:25: warning: unused variable 'res' [-Wunused-variable] 84 | int res ; | ^~~ ../../contrib/shpdata.c:64:29: warning: unused variable 'cent_pt' [-Wunused-variable] 64 | SHPObject *psCShape, *cent_pt; | ^~~~~~~ ../../contrib/shpdata.c:61:17: warning: unused variable 'Cpan' [-Wunused-variable] 61 | int Cpan[2] = { 0,0 }; | ^~~~ ../../contrib/shpdata.c:60:18: warning: unused variable 'DBFRow' [-Wunused-variable] 60 | char *DBFRow = NULL; | ^~~~~~ ../../contrib/shpdata.c:59:17: warning: unused variable 'dbfFileName' [-Wunused-variable] 59 | char dbfFileName[120] = ""; | ^~~~~~~~~~~ ../../contrib/shpdata.c:58:17: warning: unused variable 'shpFileName' [-Wunused-variable] 58 | char shpFileName[120] = ""; | ^~~~~~~~~~~ ../../contrib/shpdata.c:57:17: warning: unused variable 'fldName' [-Wunused-variable] 57 | char fldName[120] = ""; | ^~~~~~~ ../../contrib/shpdata.c:56:17: warning: unused variable 'idfldName' [-Wunused-variable] 56 | char idfldName[120] = ""; | ^~~~~~~~~ ../../contrib/shpdata.c:55:17: warning: unused variable 'kv' [-Wunused-variable] 55 | char kv[257] = ""; | ^~ ../../contrib/shpdata.c:54:24: warning: unused variable 'nflds' [-Wunused-variable] 54 | int idfld, nflds; | ^~~~~ ../../contrib/shpdata.c:54:17: warning: unused variable 'idfld' [-Wunused-variable] 54 | int idfld, nflds; | ^~~~~ ../../contrib/shpdata.c:53:19: warning: unused variable 'idfld_type' [-Wunused-variable] 53 | DBFFieldType idfld_type; | ^~~~~~~~~~ ../../contrib/shpdata.c:52:18: warning: unused variable 'pszPlus' [-Wunused-variable] 52 | const char *pszPlus; | ^~~~~~~ ../../contrib/shpdata.c:51:31: warning: unused variable 'adBounds' [-Wunused-variable] 51 | double *padVertices, adBounds[4]; | ^~~~~~~~ ../../contrib/shpdata.c:51:18: warning: unused variable 'padVertices' [-Wunused-variable] 51 | double *padVertices, adBounds[4]; | ^~~~~~~~~~~ ../../contrib/shpdata.c:50:73: warning: unused variable 'iPart' [-Wunused-variable] 50 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~ ../../contrib/shpdata.c:50:60: warning: unused variable 'panParts' [-Wunused-variable] 50 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~~~ ../../contrib/shpdata.c:50:51: warning: unused variable 'nParts' [-Wunused-variable] 50 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~ ../../contrib/shpdata.c:50:40: warning: unused variable 'nVertices' [-Wunused-variable] 50 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~~~~ ../../contrib/shpdata.c:49:26: warning: unused variable 'new_DBF' [-Wunused-variable] 49 | DBFHandle old_DBF, new_DBF; | ^~~~~~~ ../../contrib/shpdata.c:48:26: warning: unused variable 'new_SHP' [-Wunused-variable] 48 | SHPHandle old_SHP, new_SHP; | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpdata-shpdata.o `test -f 'shpdata.c' || echo '../../contrib/'`shpdata.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpinfo-shpinfo.o `test -f 'shpinfo.c' || echo '../../contrib/'`shpinfo.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpwkb-shpwkb.o `test -f 'shpwkb.c' || echo '../../contrib/'`shpwkb.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o dbfcat-dbfcat.o `test -f 'dbfcat.c' || echo '../../contrib/'`dbfcat.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/shpinfo.c: In function 'main': ../../contrib/shpinfo.c:63:18: warning: unused variable 'cpszPlus' [-Wunused-variable] 63 | const char *cpszPlus; | ^~~~~~~~ ../../contrib/shpinfo.c:62:32: warning: unused variable 'cadBounds' [-Wunused-variable] 62 | double *cpadVertices, cadBounds[4]; | ^~~~~~~~~ ../../contrib/shpinfo.c:62:18: warning: unused variable 'cpadVertices' [-Wunused-variable] 62 | double *cpadVertices, cadBounds[4]; | ^~~~~~~~~~~~ ../../contrib/shpinfo.c:61:75: warning: unused variable 'cPart' [-Wunused-variable] 61 | int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; | ^~~~~ ../../contrib/shpinfo.c:61:71: warning: unused variable 'ci' [-Wunused-variable] 61 | int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; | ^~ ../../contrib/shpinfo.c:61:60: warning: unused variable 'cpanParts' [-Wunused-variable] 61 | int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; | ^~~~~~~~~ ../../contrib/shpinfo.c:61:51: warning: unused variable 'cParts' [-Wunused-variable] 61 | int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; | ^~~~~~ ../../contrib/shpinfo.c:61:40: warning: unused variable 'cVertices' [-Wunused-variable] 61 | int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; | ^~~~~~~~~ ../../contrib/shpinfo.c:61:29: warning: unused variable 'cEntities' [-Wunused-variable] 61 | int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; | ^~~~~~~~~ ../../contrib/shpinfo.c:61:17: warning: unused variable 'cShapeType' [-Wunused-variable] 61 | int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; | ^~~~~~~~~~ ../../contrib/shpinfo.c:60:18: warning: unused variable 'pszPlus' [-Wunused-variable] 60 | const char *pszPlus; | ^~~~~~~ ../../contrib/shpinfo.c:59:18: warning: unused variable 'padVertices' [-Wunused-variable] 59 | double *padVertices, adfBndsMin[4], adfBndsMax[4]; | ^~~~~~~~~~~ ../../contrib/shpinfo.c:58:73: warning: unused variable 'iPart' [-Wunused-variable] 58 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~ ../../contrib/shpinfo.c:58:70: warning: unused variable 'i' [-Wunused-variable] 58 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^ ../../contrib/shpinfo.c:58:60: warning: unused variable 'panParts' [-Wunused-variable] 58 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~~~ ../../contrib/shpinfo.c:58:51: warning: unused variable 'nParts' [-Wunused-variable] 58 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~ ../../contrib/shpinfo.c:58:40: warning: unused variable 'nVertices' [-Wunused-variable] 58 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~~~~ ../../contrib/shpinfo.c:57:23: warning: unused variable 'cSHP' [-Wunused-variable] 57 | SHPHandle hSHP, cSHP; | ^~~~ ../../contrib/shpwkb.c: In function 'main': ../../contrib/shpwkb.c:99:25: warning: unused variable 'j' [-Wunused-variable] 99 | int j, numVtx, rStart; | ^ ../../contrib/shpwkb.c:94:20: warning: unused variable 'ringArea' [-Wunused-variable] 94 | double ringArea; | ^~~~~~~~ ../../contrib/shpwkb.c:93:37: warning: unused variable 'ringDir' [-Wunused-variable] 93 | int ring, prevStart, ringDir; | ^~~~~~~ ../../contrib/shpwkb.c:93:26: warning: variable 'prevStart' set but not used [-Wunused-but-set-variable] 93 | int ring, prevStart, ringDir; | ^~~~~~~~~ ../../contrib/shpwkb.c:88:25: warning: variable 'res' set but not used [-Wunused-but-set-variable] 88 | int res ; | ^~~ ../../contrib/shpwkb.c:64:30: warning: unused variable 'oLen' [-Wunused-variable] 64 | double oArea = 0.0, oLen = 0.0; | ^~~~ ../../contrib/shpwkb.c:64:17: warning: unused variable 'oArea' [-Wunused-variable] 64 | double oArea = 0.0, oLen = 0.0; | ^~~~~ ../../contrib/shpwkb.c:63:29: warning: unused variable 'cent_pt' [-Wunused-variable] 63 | SHPObject *psCShape, *cent_pt; | ^~~~~~~ ../../contrib/shpwkb.c:62:26: warning: unused variable 'ringCentrd' [-Wunused-variable] 62 | PT oCentrd, ringCentrd; | ^~~~~~~~~~ ../../contrib/shpwkb.c:62:17: warning: unused variable 'oCentrd' [-Wunused-variable] 62 | PT oCentrd, ringCentrd; | ^~~~~~~ ../../contrib/shpwkb.c:60:17: warning: unused variable 'Cpan' [-Wunused-variable] 60 | int Cpan[2] = { 0,0 }; | ^~~~ ../../contrib/shpwkb.c:59:18: warning: unused variable 'DBFRow' [-Wunused-variable] 59 | char *DBFRow = NULL; | ^~~~~~ ../../contrib/shpwkb.c:58:17: warning: unused variable 'dbfFileName' [-Wunused-variable] 58 | char dbfFileName[120] = ""; | ^~~~~~~~~~~ ../../contrib/shpwkb.c:57:17: warning: unused variable 'shpFileName' [-Wunused-variable] 57 | char shpFileName[120] = ""; | ^~~~~~~~~~~ ../../contrib/shpwkb.c:56:17: warning: unused variable 'fldName' [-Wunused-variable] 56 | char fldName[120] = ""; | ^~~~~~~ ../../contrib/shpwkb.c:55:17: warning: unused variable 'idfldName' [-Wunused-variable] 55 | char idfldName[120] = ""; | ^~~~~~~~~ ../../contrib/shpwkb.c:54:17: warning: unused variable 'kv' [-Wunused-variable] 54 | char kv[257] = ""; | ^~ ../../contrib/shpwkb.c:53:24: warning: unused variable 'nflds' [-Wunused-variable] 53 | int idfld, nflds; | ^~~~~ ../../contrib/shpwkb.c:53:17: warning: unused variable 'idfld' [-Wunused-variable] 53 | int idfld, nflds; | ^~~~~ ../../contrib/shpwkb.c:52:19: warning: unused variable 'idfld_type' [-Wunused-variable] 52 | DBFFieldType idfld_type; | ^~~~~~~~~~ ../../contrib/shpwkb.c:51:18: warning: unused variable 'pszPlus' [-Wunused-variable] 51 | const char *pszPlus; | ^~~~~~~ ../../contrib/shpwkb.c:50:31: warning: unused variable 'adBounds' [-Wunused-variable] 50 | double *padVertices, adBounds[4]; | ^~~~~~~~ ../../contrib/shpwkb.c:50:18: warning: unused variable 'padVertices' [-Wunused-variable] 50 | double *padVertices, adBounds[4]; | ^~~~~~~~~~~ ../../contrib/shpwkb.c:49:73: warning: unused variable 'iPart' [-Wunused-variable] 49 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~ ../../contrib/shpwkb.c:49:60: warning: unused variable 'panParts' [-Wunused-variable] 49 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~~~ ../../contrib/shpwkb.c:49:51: warning: unused variable 'nParts' [-Wunused-variable] 49 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~ ../../contrib/shpwkb.c:49:40: warning: unused variable 'nVertices' [-Wunused-variable] 49 | int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; | ^~~~~~~~~ ../../contrib/shpwkb.c:48:26: warning: unused variable 'new_DBF' [-Wunused-variable] 48 | DBFHandle old_DBF, new_DBF; | ^~~~~~~ ../../contrib/shpwkb.c:47:26: warning: unused variable 'new_SHP' [-Wunused-variable] 47 | SHPHandle old_SHP, new_SHP; | ^~~~~~~ ../../contrib/shpwkb.c:118:72: warning: array subscript 'struct WKBStreamObj[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds] 118 | printf ("gonna write a wkb that is %d bytes long \n", wkbObj->StreamPos ); | ^~ ../../contrib/shpwkb.c:83:14: note: object of size 12 allocated by 'calloc' 83 | wkbObj = calloc ( 3, sizeof (int) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpwkb.c:119:35: warning: array subscript 'struct WKBStreamObj[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds] 119 | fwrite ( (void*) wkbObj->wStream, 1, wkbObj->StreamPos, wkb_file ); | ^~ ../../contrib/shpwkb.c:83:14: note: object of size 12 allocated by 'calloc' 83 | wkbObj = calloc ( 3, sizeof (int) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpwkb.c:119:55: warning: array subscript 'struct WKBStreamObj[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds] 119 | fwrite ( (void*) wkbObj->wStream, 1, wkbObj->StreamPos, wkb_file ); | ^~ ../../contrib/shpwkb.c:83:14: note: object of size 12 allocated by 'calloc' 83 | wkbObj = calloc ( 3, sizeof (int) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/dbfcat.c: In function 'main': ../../contrib/dbfcat.c:137:13: warning: enumeration value 'FTLogical' not handled in switch [-Wswitch] 137 | switch( cType ) | ^~~~~~ ../../contrib/dbfcat.c:137:13: warning: enumeration value 'FTDate' not handled in switch [-Wswitch] ../../contrib/dbfcat.c:137:13: warning: enumeration value 'FTInvalid' not handled in switch [-Wswitch] ../../contrib/dbfcat.c:130:17: warning: unused variable 'cf' [-Wunused-variable] 130 | double cf; | ^~ ../../contrib/dbfcat.c:41:24: warning: unused variable 'j' [-Wunused-variable] 41 | int hflds, j, cflds; | ^ ../../contrib/dbfcat.c:33:31: warning: unused variable 'szField' [-Wunused-variable] 33 | char szFormat[32], szField[1024]; | ^~~~~~~ ../../contrib/dbfcat.c:33:17: warning: unused variable 'szFormat' [-Wunused-variable] 33 | char szFormat[32], szField[1024]; | ^~~~~~~~ ../../contrib/dbfcat.c:32:18: warning: unused variable 'panWidth' [-Wunused-variable] 32 | int *panWidth, i, iRecord; | ^~~~~~~~ ../../contrib/dbfcat.c: At top level: ../../contrib/dbfcat.c:21:13: warning: 'rcsid' defined but not used [-Wunused-variable] 21 | static char rcsid[] = | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpdxf-shpdxf.o `test -f 'shpdxf.c' || echo '../../contrib/'`shpdxf.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/shpdxf.c: In function 'main': ../../contrib/shpdxf.c:208:29: warning: variable 'nParts' set but not used [-Wunused-but-set-variable] 208 | int parts, *panParts, nParts, nVertices; | ^~~~~~ ../../contrib/shpdxf.c:208:11: warning: unused variable 'parts' [-Wunused-variable] 208 | int parts, *panParts, nParts, nVertices; | ^~~~~ ../../contrib/shpdxf.c:223:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 223 | strncpy (dbfFileName, shpFileName, strlen(shpFileName)-3); | ^ ../../contrib/shpdxf.c:223:40: note: length computed here 223 | strncpy (dbfFileName, shpFileName, strlen(shpFileName)-3); | ^~~~~~~~~~~~~~~~~~~ ../../contrib/shpdxf.c:226:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 226 | strncpy (dxfFileName, shpFileName,strlen(shpFileName)-3); | ^ ../../contrib/shpdxf.c:226:39: note: length computed here 226 | strncpy (dxfFileName, shpFileName,strlen(shpFileName)-3); | ^~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpsort-shpsort.o `test -f 'shpsort.c' || echo '../../contrib/'`shpsort.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/shpsort.c: In function 'split.constprop.0': ../../contrib/shpsort.c:297:7: warning: pointer 'dst_65' may be used after 'free' [-Wuse-after-free] 297 | free(copy); | ^~~~~~~~~~ ../../contrib/shpsort.c:288:3: note: call to 'free' here 288 | free(copy); | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpcat shpcat-shpcat.o ../libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpcat shpcat-shpcat.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o dbfinfo dbfinfo-dbfinfo.o ../libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/dbfinfo dbfinfo-dbfinfo.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpfix shpfix-shpfix.o ../libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpfix shpfix-shpfix.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o dbfcat dbfcat-dbfcat.o ../libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/dbfcat dbfcat-dbfcat.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' g++ -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o Shape_PointInPoly-Shape_PointInPoly.o `test -f 'Shape_PointInPoly.cpp' || echo '../../contrib/'`Shape_PointInPoly.cpp make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/Shape_PointInPoly.cpp:48:13: warning: 'rcsid' defined but not used [-Wunused-variable] 48 | static char rcsid[] = | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpdxf shpdxf-shpdxf.o ../libshp.la libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpdxf shpdxf-shpdxf.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpdata-shpgeo.o `test -f 'shpgeo.c' || echo '../../contrib/'`shpgeo.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/shpgeo.c:53:9: warning: "/*" within comment [-Wcomment] 53 | * * web/*: use a local .css file to avoid a privacy breach issue reported | ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:236:9: warning: unused variable 'obj_storage' [-Wunused-variable] 236 | int obj_storage; | ^~~~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteSHPStream': ../../contrib/shpgeo.c:295:34: warning: unused variable 'GeoType' [-Wunused-variable] 295 | int need_swap = 0, my_order, GeoType; | ^~~~~~~ ../../contrib/shpgeo.c:295:24: warning: unused variable 'my_order' [-Wunused-variable] 295 | int need_swap = 0, my_order, GeoType; | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadOGisWKB': ../../contrib/shpgeo.c:376:28: warning: unused variable 'use_M' [-Wunused-variable] 376 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:376:17: warning: unused variable 'use_Z' [-Wunused-variable] 376 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:375:17: warning: unused variable 'need_swap' [-Wunused-variable] 375 | int need_swap = 0, my_order, GeoType = 0; | ^~~~~~~~~ ../../contrib/shpgeo.c:373:18: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] 373 | SHPObject *psCShape; | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteOGisWKB': ../../contrib/shpgeo.c:422:3: warning: "/*" within comment [-Wcomment] 422 | /* rather have it predicatable system-to-system */ | ../../contrib/shpgeo.c:417:28: warning: unused variable 'use_M' [-Wunused-variable] 417 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:417:17: warning: unused variable 'use_Z' [-Wunused-variable] 417 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:416:17: warning: unused variable 'need_swap' [-Wunused-variable] 416 | int need_swap = 0, my_order, GeoType, thisDim; | ^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteOGisPolygon': ../../contrib/shpgeo.c:498:74: warning: unused variable 'i' [-Wunused-variable] 498 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c: In function 'SHPReadOGisPolygon': ../../contrib/shpgeo.c:603:74: warning: unused variable 'i' [-Wunused-variable] 603 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c:603:64: warning: unused variable 'nextring' [-Wunused-variable] 603 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^~~~~~~~ ../../contrib/shpgeo.c:601:27: warning: unused variable 'ppsC' [-Wunused-variable] 601 | SHPObject **ppsC; | ^~~~ ../../contrib/shpgeo.c: In function 'SHPReadOGisLine': ../../contrib/shpgeo.c:670:74: warning: unused variable 'i' [-Wunused-variable] 670 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c:670:64: warning: unused variable 'nextring' [-Wunused-variable] 670 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^~~~~~~~ ../../contrib/shpgeo.c:668:27: warning: unused variable 'ppsC' [-Wunused-variable] 668 | SHPObject **ppsC; | ^~~~ ../../contrib/shpgeo.c: In function 'SHPPointsinPoly_2d': ../../contrib/shpgeo.c:867:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 867 | while ( psO = SHPUnCompound (psCShape, &cRing)) { | ^~~ ../../contrib/shpgeo.c: In function 'RingCentroid_2d': ../../contrib/shpgeo.c:1009:17: warning: unused variable 'dy_Area' [-Wunused-variable] 1009 | double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; | ^~~~~~~ ../../contrib/shpgeo.c:1008:25: warning: unused variable 'sign_y' [-Wunused-variable] 1008 | int sign_x, sign_y; | ^~~~~~ ../../contrib/shpgeo.c:1008:17: warning: unused variable 'sign_x' [-Wunused-variable] 1008 | int sign_x, sign_y; | ^~~~~~ ../../contrib/shpgeo.c:1007:20: warning: unused variable 'jv' [-Wunused-variable] 1007 | int iv,jv; | ^~ ../../contrib/shpgeo.c: In function 'SHPRingDir_2d': ../../contrib/shpgeo.c:1112:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 1112 | if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpgeo.c:1082:41: warning: unused variable 'v2' [-Wunused-variable] 1082 | double dx0, dx1, dy0, dy1, v1, v2 ,v3; | ^~ ../../contrib/shpgeo.c:1082:37: warning: unused variable 'v1' [-Wunused-variable] 1082 | double dx0, dx1, dy0, dy1, v1, v2 ,v3; | ^~ ../../contrib/shpgeo.c: In function 'SHPArea_2d': ../../contrib/shpgeo.c:1151:33: warning: unused variable 'ringDir' [-Wunused-variable] 1151 | int ring, ring_vtx, ringDir, ring_nVertices; | ^~~~~~~ ../../contrib/shpgeo.c: In function 'RingLength_2d': ../../contrib/shpgeo.c:1229:20: warning: variable 'j' set but not used [-Wunused-but-set-variable] 1229 | int i, j; | ^ ../../contrib/shpgeo.c: In function 'RingArea_2d': ../../contrib/shpgeo.c:1252:20: warning: unused variable 'jv' [-Wunused-variable] 1252 | int iv,jv; | ^~ ../../contrib/shpgeo.c: In function 'SHPClone': ../../contrib/shpgeo.c:1442:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1442 | if ( highPart = psCShape->nParts ) | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SwapG': ../../contrib/shpgeo.c:1499:25: warning: unused variable 'temp' [-Wunused-variable] 1499 | unsigned char temp; | ^~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: array subscript 4 is outside array bounds of 'int[1]' [-Warray-bounds] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: at offset 4 into object 'GeoType' of size 4 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In file included from /usr/include/string.h:548, from ../../contrib/shpgeo.c:105: In function 'memcpy', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:249:6: /usr/include/bits/string_fortified.h:29:10: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ ../../contrib/shpgeo.c: In function 'SHPRingDir_2d': ../../contrib/shpgeo.c:1106:82: warning: 'ti' may be used uninitialized [-Wmaybe-uninitialized] 1106 | printf ("(shpgeo:SHPRingDir) highest Rightmost Pt is vtx %d (%f, %f)\n", ti, a[ti], b[ti]); | ^ ../../contrib/shpgeo.c:1079:20: note: 'ti' was declared here 1079 | int i, ti, last_vtx; | ^~ ../../contrib/shpgeo.c: In function 'SHPPointsinPoly_2d': ../../contrib/shpgeo.c:861:32: warning: 'nPIP' may be used uninitialized [-Wmaybe-uninitialized] 861 | int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; | ^~~~ ../../contrib/shpgeo.c:905:11: warning: 'rLenMax' may be used uninitialized [-Wmaybe-uninitialized] 905 | if ( rLen > rLenMax ) | ^ ../../contrib/shpgeo.c:862:23: note: 'rLenMax' was declared here 862 | double rLen, rLenMax; | ^~~~~~~ ../../contrib/shpgeo.c:901:13: warning: 'rLen' may be used uninitialized [-Wmaybe-uninitialized] 901 | rLen += RingLength_2d ( ring_nVertices, | ^~ ../../contrib/shpgeo.c:862:17: note: 'rLen' was declared here 862 | double rLen, rLenMax; | ^~~~ ../../contrib/shpgeo.c:916:35: warning: 'rMpart' may be used uninitialized [-Wmaybe-uninitialized] 916 | PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; | ^ ../../contrib/shpgeo.c:861:44: note: 'rMpart' was declared here 861 | int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpwkb-shpgeo.o `test -f 'shpgeo.c' || echo '../../contrib/'`shpgeo.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/shpgeo.c:53:9: warning: "/*" within comment [-Wcomment] 53 | * * web/*: use a local .css file to avoid a privacy breach issue reported | ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:236:9: warning: unused variable 'obj_storage' [-Wunused-variable] 236 | int obj_storage; | ^~~~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteSHPStream': ../../contrib/shpgeo.c:295:34: warning: unused variable 'GeoType' [-Wunused-variable] 295 | int need_swap = 0, my_order, GeoType; | ^~~~~~~ ../../contrib/shpgeo.c:295:24: warning: unused variable 'my_order' [-Wunused-variable] 295 | int need_swap = 0, my_order, GeoType; | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadOGisWKB': ../../contrib/shpgeo.c:376:28: warning: unused variable 'use_M' [-Wunused-variable] 376 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:376:17: warning: unused variable 'use_Z' [-Wunused-variable] 376 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:375:17: warning: unused variable 'need_swap' [-Wunused-variable] 375 | int need_swap = 0, my_order, GeoType = 0; | ^~~~~~~~~ ../../contrib/shpgeo.c:373:18: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] 373 | SHPObject *psCShape; | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteOGisWKB': ../../contrib/shpgeo.c:422:3: warning: "/*" within comment [-Wcomment] 422 | /* rather have it predicatable system-to-system */ | ../../contrib/shpgeo.c:417:28: warning: unused variable 'use_M' [-Wunused-variable] 417 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:417:17: warning: unused variable 'use_Z' [-Wunused-variable] 417 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:416:17: warning: unused variable 'need_swap' [-Wunused-variable] 416 | int need_swap = 0, my_order, GeoType, thisDim; | ^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteOGisPolygon': ../../contrib/shpgeo.c:498:74: warning: unused variable 'i' [-Wunused-variable] 498 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c: In function 'SHPReadOGisPolygon': ../../contrib/shpgeo.c:603:74: warning: unused variable 'i' [-Wunused-variable] 603 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c:603:64: warning: unused variable 'nextring' [-Wunused-variable] 603 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^~~~~~~~ ../../contrib/shpgeo.c:601:27: warning: unused variable 'ppsC' [-Wunused-variable] 601 | SHPObject **ppsC; | ^~~~ ../../contrib/shpgeo.c: In function 'SHPReadOGisLine': ../../contrib/shpgeo.c:670:74: warning: unused variable 'i' [-Wunused-variable] 670 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c:670:64: warning: unused variable 'nextring' [-Wunused-variable] 670 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^~~~~~~~ ../../contrib/shpgeo.c:668:27: warning: unused variable 'ppsC' [-Wunused-variable] 668 | SHPObject **ppsC; | ^~~~ ../../contrib/shpgeo.c: In function 'SHPPointsinPoly_2d': ../../contrib/shpgeo.c:867:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 867 | while ( psO = SHPUnCompound (psCShape, &cRing)) { | ^~~ ../../contrib/shpgeo.c: In function 'RingCentroid_2d': ../../contrib/shpgeo.c:1009:17: warning: unused variable 'dy_Area' [-Wunused-variable] 1009 | double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; | ^~~~~~~ ../../contrib/shpgeo.c:1008:25: warning: unused variable 'sign_y' [-Wunused-variable] 1008 | int sign_x, sign_y; | ^~~~~~ ../../contrib/shpgeo.c:1008:17: warning: unused variable 'sign_x' [-Wunused-variable] 1008 | int sign_x, sign_y; | ^~~~~~ ../../contrib/shpgeo.c:1007:20: warning: unused variable 'jv' [-Wunused-variable] 1007 | int iv,jv; | ^~ ../../contrib/shpgeo.c: In function 'SHPRingDir_2d': ../../contrib/shpgeo.c:1112:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 1112 | if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpgeo.c:1082:41: warning: unused variable 'v2' [-Wunused-variable] 1082 | double dx0, dx1, dy0, dy1, v1, v2 ,v3; | ^~ ../../contrib/shpgeo.c:1082:37: warning: unused variable 'v1' [-Wunused-variable] 1082 | double dx0, dx1, dy0, dy1, v1, v2 ,v3; | ^~ ../../contrib/shpgeo.c: In function 'SHPArea_2d': ../../contrib/shpgeo.c:1151:33: warning: unused variable 'ringDir' [-Wunused-variable] 1151 | int ring, ring_vtx, ringDir, ring_nVertices; | ^~~~~~~ ../../contrib/shpgeo.c: In function 'RingLength_2d': ../../contrib/shpgeo.c:1229:20: warning: variable 'j' set but not used [-Wunused-but-set-variable] 1229 | int i, j; | ^ ../../contrib/shpgeo.c: In function 'RingArea_2d': ../../contrib/shpgeo.c:1252:20: warning: unused variable 'jv' [-Wunused-variable] 1252 | int iv,jv; | ^~ ../../contrib/shpgeo.c: In function 'SHPClone': ../../contrib/shpgeo.c:1442:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1442 | if ( highPart = psCShape->nParts ) | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SwapG': ../../contrib/shpgeo.c:1499:25: warning: unused variable 'temp' [-Wunused-variable] 1499 | unsigned char temp; | ^~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: array subscript 4 is outside array bounds of 'int[1]' [-Warray-bounds] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: at offset 4 into object 'GeoType' of size 4 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In file included from /usr/include/string.h:548, from ../../contrib/shpgeo.c:105: In function 'memcpy', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:249:6: /usr/include/bits/string_fortified.h:29:10: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ ../../contrib/shpgeo.c: In function 'SHPRingDir_2d': ../../contrib/shpgeo.c:1106:82: warning: 'ti' may be used uninitialized [-Wmaybe-uninitialized] 1106 | printf ("(shpgeo:SHPRingDir) highest Rightmost Pt is vtx %d (%f, %f)\n", ti, a[ti], b[ti]); | ^ ../../contrib/shpgeo.c:1079:20: note: 'ti' was declared here 1079 | int i, ti, last_vtx; | ^~ ../../contrib/shpgeo.c: In function 'SHPPointsinPoly_2d': ../../contrib/shpgeo.c:861:32: warning: 'nPIP' may be used uninitialized [-Wmaybe-uninitialized] 861 | int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; | ^~~~ ../../contrib/shpgeo.c:905:11: warning: 'rLenMax' may be used uninitialized [-Wmaybe-uninitialized] 905 | if ( rLen > rLenMax ) | ^ ../../contrib/shpgeo.c:862:23: note: 'rLenMax' was declared here 862 | double rLen, rLenMax; | ^~~~~~~ ../../contrib/shpgeo.c:901:13: warning: 'rLen' may be used uninitialized [-Wmaybe-uninitialized] 901 | rLen += RingLength_2d ( ring_nVertices, | ^~ ../../contrib/shpgeo.c:862:17: note: 'rLen' was declared here 862 | double rLen, rLenMax; | ^~~~ ../../contrib/shpgeo.c:916:35: warning: 'rMpart' may be used uninitialized [-Wmaybe-uninitialized] 916 | PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; | ^ ../../contrib/shpgeo.c:861:44: note: 'rMpart' was declared here 861 | int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpcentrd-shpgeo.o `test -f 'shpgeo.c' || echo '../../contrib/'`shpgeo.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/shpgeo.c:53:9: warning: "/*" within comment [-Wcomment] 53 | * * web/*: use a local .css file to avoid a privacy breach issue reported | ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:236:9: warning: unused variable 'obj_storage' [-Wunused-variable] 236 | int obj_storage; | ^~~~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteSHPStream': ../../contrib/shpgeo.c:295:34: warning: unused variable 'GeoType' [-Wunused-variable] 295 | int need_swap = 0, my_order, GeoType; | ^~~~~~~ ../../contrib/shpgeo.c:295:24: warning: unused variable 'my_order' [-Wunused-variable] 295 | int need_swap = 0, my_order, GeoType; | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadOGisWKB': ../../contrib/shpgeo.c:376:28: warning: unused variable 'use_M' [-Wunused-variable] 376 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:376:17: warning: unused variable 'use_Z' [-Wunused-variable] 376 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:375:17: warning: unused variable 'need_swap' [-Wunused-variable] 375 | int need_swap = 0, my_order, GeoType = 0; | ^~~~~~~~~ ../../contrib/shpgeo.c:373:18: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] 373 | SHPObject *psCShape; | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteOGisWKB': ../../contrib/shpgeo.c:422:3: warning: "/*" within comment [-Wcomment] 422 | /* rather have it predicatable system-to-system */ | ../../contrib/shpgeo.c:417:28: warning: unused variable 'use_M' [-Wunused-variable] 417 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:417:17: warning: unused variable 'use_Z' [-Wunused-variable] 417 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:416:17: warning: unused variable 'need_swap' [-Wunused-variable] 416 | int need_swap = 0, my_order, GeoType, thisDim; | ^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteOGisPolygon': ../../contrib/shpgeo.c:498:74: warning: unused variable 'i' [-Wunused-variable] 498 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c: In function 'SHPReadOGisPolygon': ../../contrib/shpgeo.c:603:74: warning: unused variable 'i' [-Wunused-variable] 603 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c:603:64: warning: unused variable 'nextring' [-Wunused-variable] 603 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^~~~~~~~ ../../contrib/shpgeo.c:601:27: warning: unused variable 'ppsC' [-Wunused-variable] 601 | SHPObject **ppsC; | ^~~~ ../../contrib/shpgeo.c: In function 'SHPReadOGisLine': ../../contrib/shpgeo.c:670:74: warning: unused variable 'i' [-Wunused-variable] 670 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c:670:64: warning: unused variable 'nextring' [-Wunused-variable] 670 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^~~~~~~~ ../../contrib/shpgeo.c:668:27: warning: unused variable 'ppsC' [-Wunused-variable] 668 | SHPObject **ppsC; | ^~~~ ../../contrib/shpgeo.c: In function 'SHPPointsinPoly_2d': ../../contrib/shpgeo.c:867:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 867 | while ( psO = SHPUnCompound (psCShape, &cRing)) { | ^~~ ../../contrib/shpgeo.c: In function 'RingCentroid_2d': ../../contrib/shpgeo.c:1009:17: warning: unused variable 'dy_Area' [-Wunused-variable] 1009 | double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; | ^~~~~~~ ../../contrib/shpgeo.c:1008:25: warning: unused variable 'sign_y' [-Wunused-variable] 1008 | int sign_x, sign_y; | ^~~~~~ ../../contrib/shpgeo.c:1008:17: warning: unused variable 'sign_x' [-Wunused-variable] 1008 | int sign_x, sign_y; | ^~~~~~ ../../contrib/shpgeo.c:1007:20: warning: unused variable 'jv' [-Wunused-variable] 1007 | int iv,jv; | ^~ ../../contrib/shpgeo.c: In function 'SHPRingDir_2d': ../../contrib/shpgeo.c:1112:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 1112 | if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpgeo.c:1082:41: warning: unused variable 'v2' [-Wunused-variable] 1082 | double dx0, dx1, dy0, dy1, v1, v2 ,v3; | ^~ ../../contrib/shpgeo.c:1082:37: warning: unused variable 'v1' [-Wunused-variable] 1082 | double dx0, dx1, dy0, dy1, v1, v2 ,v3; | ^~ ../../contrib/shpgeo.c: In function 'SHPArea_2d': ../../contrib/shpgeo.c:1151:33: warning: unused variable 'ringDir' [-Wunused-variable] 1151 | int ring, ring_vtx, ringDir, ring_nVertices; | ^~~~~~~ ../../contrib/shpgeo.c: In function 'RingLength_2d': ../../contrib/shpgeo.c:1229:20: warning: variable 'j' set but not used [-Wunused-but-set-variable] 1229 | int i, j; | ^ ../../contrib/shpgeo.c: In function 'RingArea_2d': ../../contrib/shpgeo.c:1252:20: warning: unused variable 'jv' [-Wunused-variable] 1252 | int iv,jv; | ^~ ../../contrib/shpgeo.c: In function 'SHPClone': ../../contrib/shpgeo.c:1442:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1442 | if ( highPart = psCShape->nParts ) | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SwapG': ../../contrib/shpgeo.c:1499:25: warning: unused variable 'temp' [-Wunused-variable] 1499 | unsigned char temp; | ^~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: array subscript 4 is outside array bounds of 'int[1]' [-Warray-bounds] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: at offset 4 into object 'GeoType' of size 4 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In file included from /usr/include/string.h:548, from ../../contrib/shpgeo.c:105: In function 'memcpy', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:249:6: /usr/include/bits/string_fortified.h:29:10: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ ../../contrib/shpgeo.c: In function 'SHPRingDir_2d': ../../contrib/shpgeo.c:1106:82: warning: 'ti' may be used uninitialized [-Wmaybe-uninitialized] 1106 | printf ("(shpgeo:SHPRingDir) highest Rightmost Pt is vtx %d (%f, %f)\n", ti, a[ti], b[ti]); | ^ ../../contrib/shpgeo.c:1079:20: note: 'ti' was declared here 1079 | int i, ti, last_vtx; | ^~ ../../contrib/shpgeo.c: In function 'SHPPointsinPoly_2d': ../../contrib/shpgeo.c:861:32: warning: 'nPIP' may be used uninitialized [-Wmaybe-uninitialized] 861 | int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; | ^~~~ ../../contrib/shpgeo.c:905:11: warning: 'rLenMax' may be used uninitialized [-Wmaybe-uninitialized] 905 | if ( rLen > rLenMax ) | ^ ../../contrib/shpgeo.c:862:23: note: 'rLenMax' was declared here 862 | double rLen, rLenMax; | ^~~~~~~ ../../contrib/shpgeo.c:901:13: warning: 'rLen' may be used uninitialized [-Wmaybe-uninitialized] 901 | rLen += RingLength_2d ( ring_nVertices, | ^~ ../../contrib/shpgeo.c:862:17: note: 'rLen' was declared here 862 | double rLen, rLenMax; | ^~~~ ../../contrib/shpgeo.c:916:35: warning: 'rMpart' may be used uninitialized [-Wmaybe-uninitialized] 916 | PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; | ^ ../../contrib/shpgeo.c:861:44: note: 'rMpart' was declared here 861 | int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' gcc -DPACKAGE_NAME=\"shapelib\" -DPACKAGE_TARNAME=\"shapelib\" -DPACKAGE_VERSION=\"1.5.0\" -DPACKAGE_STRING=\"shapelib\ 1.5.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"shapelib\" -DVERSION=\"1.5.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../contrib -I../.. -DDEBUG -DDEBUG2 -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 -c -o shpinfo-shpgeo.o `test -f 'shpgeo.c' || echo '../../contrib/'`shpgeo.c make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' ../../contrib/shpgeo.c:53:9: warning: "/*" within comment [-Wcomment] 53 | * * web/*: use a local .css file to avoid a privacy breach issue reported | ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:236:9: warning: unused variable 'obj_storage' [-Wunused-variable] 236 | int obj_storage; | ^~~~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteSHPStream': ../../contrib/shpgeo.c:295:34: warning: unused variable 'GeoType' [-Wunused-variable] 295 | int need_swap = 0, my_order, GeoType; | ^~~~~~~ ../../contrib/shpgeo.c:295:24: warning: unused variable 'my_order' [-Wunused-variable] 295 | int need_swap = 0, my_order, GeoType; | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadOGisWKB': ../../contrib/shpgeo.c:376:28: warning: unused variable 'use_M' [-Wunused-variable] 376 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:376:17: warning: unused variable 'use_Z' [-Wunused-variable] 376 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:375:17: warning: unused variable 'need_swap' [-Wunused-variable] 375 | int need_swap = 0, my_order, GeoType = 0; | ^~~~~~~~~ ../../contrib/shpgeo.c:373:18: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] 373 | SHPObject *psCShape; | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteOGisWKB': ../../contrib/shpgeo.c:422:3: warning: "/*" within comment [-Wcomment] 422 | /* rather have it predicatable system-to-system */ | ../../contrib/shpgeo.c:417:28: warning: unused variable 'use_M' [-Wunused-variable] 417 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:417:17: warning: unused variable 'use_Z' [-Wunused-variable] 417 | int use_Z = 0, use_M = 0; | ^~~~~ ../../contrib/shpgeo.c:416:17: warning: unused variable 'need_swap' [-Wunused-variable] 416 | int need_swap = 0, my_order, GeoType, thisDim; | ^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPWriteOGisPolygon': ../../contrib/shpgeo.c:498:74: warning: unused variable 'i' [-Wunused-variable] 498 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c: In function 'SHPReadOGisPolygon': ../../contrib/shpgeo.c:603:74: warning: unused variable 'i' [-Wunused-variable] 603 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c:603:64: warning: unused variable 'nextring' [-Wunused-variable] 603 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^~~~~~~~ ../../contrib/shpgeo.c:601:27: warning: unused variable 'ppsC' [-Wunused-variable] 601 | SHPObject **ppsC; | ^~~~ ../../contrib/shpgeo.c: In function 'SHPReadOGisLine': ../../contrib/shpgeo.c:670:74: warning: unused variable 'i' [-Wunused-variable] 670 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^ ../../contrib/shpgeo.c:670:64: warning: unused variable 'nextring' [-Wunused-variable] 670 | int rPart, ring, rVertices, cpart, cParts, nextring, i, j; | ^~~~~~~~ ../../contrib/shpgeo.c:668:27: warning: unused variable 'ppsC' [-Wunused-variable] 668 | SHPObject **ppsC; | ^~~~ ../../contrib/shpgeo.c: In function 'SHPPointsinPoly_2d': ../../contrib/shpgeo.c:867:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 867 | while ( psO = SHPUnCompound (psCShape, &cRing)) { | ^~~ ../../contrib/shpgeo.c: In function 'RingCentroid_2d': ../../contrib/shpgeo.c:1009:17: warning: unused variable 'dy_Area' [-Wunused-variable] 1009 | double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; | ^~~~~~~ ../../contrib/shpgeo.c:1008:25: warning: unused variable 'sign_y' [-Wunused-variable] 1008 | int sign_x, sign_y; | ^~~~~~ ../../contrib/shpgeo.c:1008:17: warning: unused variable 'sign_x' [-Wunused-variable] 1008 | int sign_x, sign_y; | ^~~~~~ ../../contrib/shpgeo.c:1007:20: warning: unused variable 'jv' [-Wunused-variable] 1007 | int iv,jv; | ^~ ../../contrib/shpgeo.c: In function 'SHPRingDir_2d': ../../contrib/shpgeo.c:1112:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 1112 | if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpgeo.c:1082:41: warning: unused variable 'v2' [-Wunused-variable] 1082 | double dx0, dx1, dy0, dy1, v1, v2 ,v3; | ^~ ../../contrib/shpgeo.c:1082:37: warning: unused variable 'v1' [-Wunused-variable] 1082 | double dx0, dx1, dy0, dy1, v1, v2 ,v3; | ^~ ../../contrib/shpgeo.c: In function 'SHPArea_2d': ../../contrib/shpgeo.c:1151:33: warning: unused variable 'ringDir' [-Wunused-variable] 1151 | int ring, ring_vtx, ringDir, ring_nVertices; | ^~~~~~~ ../../contrib/shpgeo.c: In function 'RingLength_2d': ../../contrib/shpgeo.c:1229:20: warning: variable 'j' set but not used [-Wunused-but-set-variable] 1229 | int i, j; | ^ ../../contrib/shpgeo.c: In function 'RingArea_2d': ../../contrib/shpgeo.c:1252:20: warning: unused variable 'jv' [-Wunused-variable] 1252 | int iv,jv; | ^~ ../../contrib/shpgeo.c: In function 'SHPClone': ../../contrib/shpgeo.c:1442:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1442 | if ( highPart = psCShape->nParts ) | ^~~~~~~~ ../../contrib/shpgeo.c: In function 'SwapG': ../../contrib/shpgeo.c:1499:25: warning: unused variable 'temp' [-Wunused-variable] 1499 | unsigned char temp; | ^~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: array subscript 4 is outside array bounds of 'int[1]' [-Warray-bounds] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: at offset 4 into object 'GeoType' of size 4 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In function 'swapW', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:247:6: ../../contrib/shpgeo.c:1530:29: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 1530 | out[(i*4)+map[j]] = in[(i*4)+j]; | ~~^~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ In file included from /usr/include/string.h:548, from ../../contrib/shpgeo.c:105: In function 'memcpy', inlined from 'SHPReadSHPStream' at ../../contrib/shpgeo.c:249:6: /usr/include/bits/string_fortified.h:29:10: warning: 'GeoType' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../contrib/shpgeo.c: In function 'SHPReadSHPStream': ../../contrib/shpgeo.c:237:33: note: 'GeoType' declared here 237 | int my_order, need_swap =0, GeoType ; | ^~~~~~~ ../../contrib/shpgeo.c: In function 'SHPRingDir_2d': ../../contrib/shpgeo.c:1106:82: warning: 'ti' may be used uninitialized [-Wmaybe-uninitialized] 1106 | printf ("(shpgeo:SHPRingDir) highest Rightmost Pt is vtx %d (%f, %f)\n", ti, a[ti], b[ti]); | ^ ../../contrib/shpgeo.c:1079:20: note: 'ti' was declared here 1079 | int i, ti, last_vtx; | ^~ ../../contrib/shpgeo.c: In function 'SHPPointsinPoly_2d': ../../contrib/shpgeo.c:861:32: warning: 'nPIP' may be used uninitialized [-Wmaybe-uninitialized] 861 | int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; | ^~~~ ../../contrib/shpgeo.c:905:11: warning: 'rLenMax' may be used uninitialized [-Wmaybe-uninitialized] 905 | if ( rLen > rLenMax ) | ^ ../../contrib/shpgeo.c:862:23: note: 'rLenMax' was declared here 862 | double rLen, rLenMax; | ^~~~~~~ ../../contrib/shpgeo.c:901:13: warning: 'rLen' may be used uninitialized [-Wmaybe-uninitialized] 901 | rLen += RingLength_2d ( ring_nVertices, | ^~ ../../contrib/shpgeo.c:862:17: note: 'rLen' was declared here 862 | double rLen, rLenMax; | ^~~~ ../../contrib/shpgeo.c:916:35: warning: 'rMpart' may be used uninitialized [-Wmaybe-uninitialized] 916 | PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; | ^ ../../contrib/shpgeo.c:861:44: note: 'rMpart' was declared here 861 | int *CLstt, *CLst, nPIP, ring, rMpart, ring_vtx, ring_nVertices; | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o Shape_PointInPoly Shape_PointInPoly-Shape_PointInPoly.o ../libshp.la libtool: link: g++ -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/Shape_PointInPoly Shape_PointInPoly-Shape_PointInPoly.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpsort shpsort-shpsort.o ../libshp.la -lm libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpsort shpsort-shpsort.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpinfo shpinfo-shpinfo.o shpinfo-shpgeo.o ../libshp.la -lm libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpinfo shpinfo-shpinfo.o shpinfo-shpgeo.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpcentrd shpcentrd-shpcentrd.o shpcentrd-shpgeo.o ../libshp.la -lm libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpcentrd shpcentrd-shpcentrd.o shpcentrd-shpgeo.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpwkb shpwkb-shpwkb.o shpwkb-shpgeo.o ../libshp.la -lm libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpwkb shpwkb-shpwkb.o shpwkb-shpgeo.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /bin/sh ../libtool --tag=CC --mode=link gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o shpdata shpdata-shpdata.o shpdata-shpgeo.o ../libshp.la -lm libtool: link: gcc -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 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/shpdata shpdata-shpdata.o shpdata-shpgeo.o ../.libs/libshp.so -lm make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' + popd ~/build/BUILD/shapelib-1.5.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.x1wl03 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64 + cd shapelib-1.5.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' -C build_native make: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' Making install in . make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[2]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p libshp.la '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libshp.so.2.1.0 /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64/libshp.so.2.1.0 libtool: install: (cd /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64 && { ln -s -f libshp.so.2.1.0 libshp.so.2 || { rm -f libshp.so.2 && ln -s libshp.so.2.1.0 libshp.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64 && { ln -s -f libshp.so.2.1.0 libshp.so || { rm -f libshp.so && ln -s libshp.so.2.1.0 libshp.so; }; }) libtool: install: /usr/bin/install -p .libs/libshp.lai /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64/libshp.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p dbfadd dbfcreate dbfdump shpadd shpcreate shpdump shprewind shptreedump shputils '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin' libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/dbfadd /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfadd libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/dbfcreate /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfcreate libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/dbfdump /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfdump libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpadd /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpadd libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpcreate /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpcreate libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpdump /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpdump libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shprewind /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shprewind libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shptreedump /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shptreedump libtool: warning: './libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shputils /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shputils /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/include' /usr/bin/install -p -m 644 ../shapefil.h '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 shapelib.pc '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' Making install in contrib make[1]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[2]: Entering directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p dbfcat dbfinfo shpcat shpdxf shpfix shpsort Shape_PointInPoly shpcentrd shpdata shpinfo shpwkb '/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin' libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/dbfcat /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfcat libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/dbfinfo /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfinfo libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpcat /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpcat libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpdxf /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpdxf libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpfix /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpfix libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpsort /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpsort libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/Shape_PointInPoly /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/Shape_PointInPoly libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpcentrd /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpcentrd libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpdata /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpdata libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpinfo /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpinfo libtool: warning: '../libshp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/shpwkb /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpwkb make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make[1]: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native/contrib' make: Leaving directory '/builddir/build/BUILD/shapelib-1.5.0/build_native' + find /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64 -name '*.la' -exec rm -f '{}' ';' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.5.0-3.ocs23 --unique-debug-suffix -1.5.0-3.ocs23.loongarch64 --unique-debug-src-base shapelib-1.5.0-3.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/shapelib-1.5.0 extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfadd extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfcreate extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/Shape_PointInPoly extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpadd extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfdump extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfcat extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpcentrd extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpcreate extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpcat extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/dbfinfo extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpdata extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpdump extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpdxf extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shputils extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpsort extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shptreedump extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpfix extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpinfo extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shprewind extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/lib64/libshp.so.2.1.0 extracting debug info from /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/bin/shpwkb 1080 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: shapelib-1.5.0-3.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GGfg1p + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.5.0 + DOCDIR=/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib + cp -pr README /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib + cp -pr README.tree /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib + cp -pr ChangeLog /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib + cp -pr web/codepage.html web/dbf_api.html web/index.html web/license.html web/manifest.html web/release.html web/shapelib-tools.html web/shp_api.html /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Xqt1m1 + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/licenses/shapelib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/licenses/shapelib + cp -pr COPYING /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/licenses/shapelib + RPM_EC=0 ++ jobs -p + exit 0 Provides: libshp.so.2()(64bit) shapelib = 1.5.0-3.ocs23 shapelib(loongarch-64) = 1.5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: shapelib-devel-1.5.0-3.ocs23.loongarch64 Provides: pkgconfig(shapelib) = 1.5.0 shapelib-devel = 1.5.0-3.ocs23 shapelib-devel(loongarch-64) = 1.5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libshp.so.2()(64bit) Processing files: shapelib-tools-1.5.0-3.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kfIyHf + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.5.0 + DOCDIR=/builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib-tools + cp -pr contrib/doc/ /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64/usr/share/doc/shapelib-tools + RPM_EC=0 ++ jobs -p + exit 0 Provides: shapelib-tools = 1.5.0-3.ocs23 shapelib-tools(loongarch-64) = 1.5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) libshp.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: shapelib-debugsource-1.5.0-3.ocs23.loongarch64 Provides: shapelib-debugsource = 1.5.0-3.ocs23 shapelib-debugsource(loongarch-64) = 1.5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: shapelib-debuginfo-1.5.0-3.ocs23.loongarch64 Provides: debuginfo(build-id) = ed24bbcec343a12aac6f6b4aff3fcae29e7957a9 libshp.so.2.1.0-1.5.0-3.ocs23.loongarch64.debug()(64bit) shapelib-debuginfo = 1.5.0-3.ocs23 shapelib-debuginfo(loongarch-64) = 1.5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: shapelib-debugsource(loongarch-64) = 1.5.0-3.ocs23 Processing files: shapelib-tools-debuginfo-1.5.0-3.ocs23.loongarch64 Provides: debuginfo(build-id) = 017012e4f673b207df96c107021a3926452b348c debuginfo(build-id) = 1da31b946949c49a362afca3bb1685d9ebc0a9c3 debuginfo(build-id) = 20185b4f0efaccd4ed46e69f3808d7f60f66e097 debuginfo(build-id) = 441622440502563da82197134a776a56dc935923 debuginfo(build-id) = 50df0a645ddf36658ad53ebea5dcc431059e3005 debuginfo(build-id) = 50ea9505789bec108265cb959f5229cbcdeb0892 debuginfo(build-id) = 52ed41c33216589a9f51efcebaf5716b4e7fddb4 debuginfo(build-id) = 64b5f405eed8c7290a51b2fc5a324410c0638472 debuginfo(build-id) = 67f4acf03a4786dbcf623eaba45f07feac5802cb debuginfo(build-id) = 6925f28b6984642b24078497368238a2d6a8d539 debuginfo(build-id) = 73ff50c77abb92a444daaf09ef131736a46e6fb1 debuginfo(build-id) = 77f5cc053765e53ee9c2913c365915ba9d23de59 debuginfo(build-id) = 7d3c5c0a105bcaf104fd856e57047c7bb2b5ccfc debuginfo(build-id) = 91c6e7212bd347b6f73286ad4dcfd9212f4a4121 debuginfo(build-id) = 94485297cc1964244c231508a0442f858d2fa85b debuginfo(build-id) = a8c202e3fdba33c7d2372f3775ebe87e86d5fa34 debuginfo(build-id) = b92ec740c4f9f910975ae18f89d6f06130ddb506 debuginfo(build-id) = bd4497a4947e8afda73b19aac2e3cdc203743d8d debuginfo(build-id) = cef81451d1a50c2c95ded7f132ea32109a3b590d debuginfo(build-id) = eb38d761301b17bbbdb7418841330d6466f83bea shapelib-tools-debuginfo = 1.5.0-3.ocs23 shapelib-tools-debuginfo(loongarch-64) = 1.5.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: shapelib-debugsource(loongarch-64) = 1.5.0-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/shapelib-1.5.0-3.ocs23.loongarch64 Wrote: /builddir/build/RPMS/shapelib-devel-1.5.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/shapelib-1.5.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/shapelib-tools-1.5.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/shapelib-debuginfo-1.5.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/shapelib-debugsource-1.5.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/shapelib-tools-debuginfo-1.5.0-3.ocs23.loongarch64.rpm Child return code was: 0