Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spatialite-tools.spec'], chrootPath='/var/lib/mock/f37-build-655567-72898/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spatialite-tools.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/spatialite-tools-5.0.1-3.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spatialite-tools.spec'], chrootPath='/var/lib/mock/f37-build-655567-72898/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spatialite-tools.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VUrDSD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spatialite-tools-5.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/spatialite-tools-5.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd spatialite-tools-5.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/spatialite-tools_lxml2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -f Makefile-static-Linux Makefile-static-MacOsX Makefile-static-MinGW Makefile-static-mingw32 Makefile-static-mingw64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VvNv2h + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd spatialite-tools-5.0.1 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-02-07 11:34:04.000000000 -0500 +++ ./configure 2022-10-20 06:16:04.222516190 -0400 @@ -1922,7 +1922,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-10-20 06:16:04.222516190 -0400 +++ ./configure 2022-10-20 06:16:04.382516608 -0400 @@ -18861,7 +18861,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' + '[' 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/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/spatialite-tools-5.0.1/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/spatialite-tools-5.0.1/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe 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 to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking sqlite3ext.h usability... yes checking sqlite3ext.h presence... yes checking for sqlite3ext.h... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed 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 the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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 riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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... no 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... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking whether lstat correctly handles trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat correctly handles trailing slash... (cached) yes checking for working memcmp... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for memset... yes checking for sqrt... no checking for strcasecmp... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for fdatasync... yes checking for ftruncate... yes checking for getcwd... yes checking for gettimeofday... yes checking for localtime_r... yes checking for memmove... yes checking for strerror... (cached) yes checking for sqlite3_prepare_v2 in -lsqlite3... yes checking for library containing tgetent... -lcurses checking for library containing readline... -lreadline checking for readline... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserCreate in -lexpat... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBSPATIALITE... yes checking for LIBREADOSM... yes checking for library containing readosm_version... -lreadosm checking for LIBXML2... yes checking whether SQLITE_CONFIG_URI is declared... yes checking whether SQLITE_DBSTATUS_LOOKASIDE_USED is declared... yes checking whether SQLITE_DBSTATUS_LOOKASIDE_HIT is declared... yes checking whether SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE is declared... yes checking whether SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL is declared... yes checking whether SQLITE_DBSTATUS_CACHE_USED is declared... yes checking whether SQLITE_DBSTATUS_CACHE_HIT is declared... yes checking whether SQLITE_DBSTATUS_CACHE_MISS is declared... yes checking whether SQLITE_DBSTATUS_CACHE_WRITE is declared... yes checking whether SQLITE_DBSTATUS_SCHEMA_USED is declared... yes checking whether SQLITE_DBSTATUS_STMT_USED is declared... yes checking whether SQLITE_STMTSTATUS_FULLSCAN_STEP is declared... yes checking whether SQLITE_STMTSTATUS_SORT is declared... yes checking whether SQLITE_STMTSTATUS_AUTOINDEX is declared... yes checking whether SQLITE_TESTCTRL_EXPLAIN_STMT is declared... yes checking whether SQLITE_FCNTL_VFSNAME is declared... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_tool.o spatialite_tool.c make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' spatialite_tool.c: In function 'spatialite_autocreate': spatialite_tool.c:96:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 96 | if (count > 0) | ^ spatialite_tool.c:76:9: note: 'count' was declared here 76 | int count; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o shp_doctor.o shp_doctor.c shp_doctor.c: In function 'do_analyze_no_shx': shp_doctor.c:1285:9: warning: pointer 'buf_shp_262' used after 'free' [-Wuse-after-free] 1285 | free (buf_shp); | ^~~~~~~~~~~~~~ shp_doctor.c:1277:9: note: call to 'free' here 1277 | free (buf_shp); | ^~~~~~~~~~~~~~ shp_doctor.c: In function 'do_analyze': shp_doctor.c:686:9: warning: pointer 'buf_shp_276' used after 'free' [-Wuse-after-free] 686 | free (buf_shp); | ^~~~~~~~~~~~~~ shp_doctor.c:678:9: note: call to 'free' here 678 | free (buf_shp); | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_network.o spatialite_network.c spatialite_network.c: In function 'spatialite_autocreate': spatialite_network.c:1109:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 1109 | if (count > 0) | ^ spatialite_network.c:1089:9: note: 'count' was declared here 1089 | int count; | ^~~~~ In file included from /usr/include/stdio.h:906, from spatialite_network.c:33: In function 'sprintf', inlined from 'validate_no_geom' at spatialite_network.c:2457:7: /usr/include/bits/stdio2.h:30:10: warning: 'id_to' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ spatialite_network.c: In function 'validate_no_geom': spatialite_network.c:1945:19: note: 'id_to' was declared here 1945 | sqlite3_int64 id_to; | ^~~~~ In function 'sprintf', inlined from 'validate_no_geom' at spatialite_network.c:2456:7: /usr/include/bits/stdio2.h:30:10: warning: 'id_from' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ spatialite_network.c: In function 'validate_no_geom': spatialite_network.c:1944:19: note: 'id_from' was declared here 1944 | sqlite3_int64 id_from; | ^~~~~~~ spatialite_network.c:2431:32: warning: 'fromto_n' may be used uninitialized [-Wmaybe-uninitialized] 2431 | fromto = sqlite3_column_int (stmt, fromto_n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spatialite_network.c:1941:9: note: 'fromto_n' was declared here 1941 | int fromto_n; | ^~~~~~~~ spatialite_network.c: In function 'validate': spatialite_network.c:1757:20: warning: 'aStarLength' may be used uninitialized [-Wmaybe-uninitialized] 1757 | if (aStarLength) | ^ spatialite_network.c:1193:9: note: 'aStarLength' was declared here 1193 | int aStarLength; | ^~~~~~~~~~~ In function 'sprintf', inlined from 'validate' at spatialite_network.c:1794:7: /usr/include/bits/stdio2.h:30:10: warning: 'id_to' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ spatialite_network.c: In function 'validate': spatialite_network.c:1180:19: note: 'id_to' was declared here 1180 | sqlite3_int64 id_to; | ^~~~~ In function 'sprintf', inlined from 'validate' at spatialite_network.c:1793:7: /usr/include/bits/stdio2.h:30:10: warning: 'id_from' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ spatialite_network.c: In function 'validate': spatialite_network.c:1179:19: note: 'id_from' was declared here 1179 | sqlite3_int64 id_from; | ^~~~~~~ spatialite_network.c:1768:32: warning: 'fromto_n' may be used uninitialized [-Wmaybe-uninitialized] 1768 | fromto = sqlite3_column_int (stmt, fromto_n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spatialite_network.c:1176:9: note: 'fromto_n' was declared here 1176 | int fromto_n; | ^~~~~~~~ spatialite_network.c:1773:32: warning: 'tofrom_n' may be used uninitialized [-Wmaybe-uninitialized] 1773 | tofrom = sqlite3_column_int (stmt, tofrom_n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spatialite_network.c:1177:9: note: 'tofrom_n' was declared here 1177 | int tofrom_n; | ^~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o exif_loader.o exif_loader.c exif_loader.c: In function 'spatialite_autocreate': exif_loader.c:1428:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 1428 | if (count > 0) | ^ exif_loader.c:1408:9: note: 'count' was declared here 1408 | int count; | ^~~~~ exif_loader.c: In function 'updateExifTables': exif_loader.c:584:11: warning: 'latitude' may be used uninitialized [-Wmaybe-uninitialized] 584 | gaiaAddPointToGeomColl (geom, longitude, latitude); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exif_loader.c:527:12: note: 'latitude' was declared here 527 | double latitude; | ^~~~~~~~ exif_loader.c:584:11: warning: 'longitude' may be used uninitialized [-Wmaybe-uninitialized] 584 | gaiaAddPointToGeomColl (geom, longitude, latitude); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exif_loader.c:526:12: note: 'longitude' was declared here 526 | double longitude; | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o shell.o shell.c shell.c: In function 'do_meta_command': shell.c:3619:17: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 3619 | memset (p->colWidth, 0, ArraySize (p->colWidth)); | ^~~~~~ shell.c:4216:24: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 4216 | (void) system (zCmd); | ^~~~~~~~~~~~~ shell.c: In function 'spatialite_autocreate': shell.c:2482:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 2482 | if (count > 0) | ^ shell.c:2462:9: note: 'count' was declared here 2462 | int count; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o shp_sanitize.o shp_sanitize.c shp_sanitize.c: In function 'openShpRead': shp_sanitize.c:321:45: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] 321 | sprintf (errMsg, "unable to open '%s' for reading: %s", xpath, | ^~ ~~~~~ In file included from /usr/include/stdio.h:906, from shp_sanitize.c:37: In function 'sprintf', inlined from 'openShpRead' at shp_sanitize.c:321:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ shp_sanitize.c: In function 'openShpRead': shp_sanitize.c:312:45: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] 312 | sprintf (errMsg, "unable to open '%s' for reading: %s", xpath, | ^~ ~~~~~ In function 'sprintf', inlined from 'openShpRead' at shp_sanitize.c:312:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ shp_sanitize.c: In function 'openShpRead': shp_sanitize.c:303:45: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] 303 | sprintf (errMsg, "unable to open '%s' for reading: %s", xpath, | ^~ ~~~~~ In function 'sprintf', inlined from 'openShpRead' at shp_sanitize.c:303:4: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ shp_sanitize.c: In function 'do_repair_shapefile': shp_sanitize.c:1930:45: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] 1930 | sprintf (errMsg, "unable to open '%s' for writing: %s", xpath, | ^~ ~~~~~ In function 'sprintf', inlined from 'openShpWrite' at shp_sanitize.c:1930:4, inlined from 'do_repair_shapefile' at shp_sanitize.c:3725:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ shp_sanitize.c: In function 'do_repair_shapefile': shp_sanitize.c:1921:45: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] 1921 | sprintf (errMsg, "unable to open '%s' for writing: %s", xpath, | ^~ ~~~~~ In function 'sprintf', inlined from 'openShpWrite' at shp_sanitize.c:1921:4, inlined from 'do_repair_shapefile' at shp_sanitize.c:3725:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ shp_sanitize.c: In function 'do_repair_shapefile': shp_sanitize.c:1912:45: warning: '%s' directive writing up to 1023 bytes into a region of size 1008 [-Wformat-overflow=] 1912 | sprintf (errMsg, "unable to open '%s' for writing: %s", xpath, | ^~ ~~~~~ In function 'sprintf', inlined from 'openShpWrite' at shp_sanitize.c:1912:4, inlined from 'do_repair_shapefile' at shp_sanitize.c:3725:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 32 or more bytes (assuming 1055) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_osm_net.o spatialite_osm_net.c In function 'spatialite_autocreate', inlined from 'open_db' at spatialite_osm_net.c:1559:5: spatialite_osm_net.c:1504:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 1504 | if (count > 0) | ^ spatialite_osm_net.c: In function 'open_db': spatialite_osm_net.c:1487:9: note: 'count' was declared here 1487 | int count; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_osm_map.o spatialite_osm_map.c In file included from /usr/include/stdio.h:906, from spatialite_osm_map.c:33: In function 'fprintf', inlined from 'build_multipolygon' at spatialite_osm_map.c:1729:4: /usr/include/bits/stdio2.h:79:10: warning: 'id' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ spatialite_osm_map.c: In function 'build_multipolygon': spatialite_osm_map.c:1587:19: note: 'id' was declared here 1587 | sqlite3_int64 id; | ^~ In function 'spatialite_autocreate', inlined from 'open_db' at spatialite_osm_map.c:2065:5: spatialite_osm_map.c:2008:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 2008 | if (count > 0) | ^ spatialite_osm_map.c: In function 'open_db': spatialite_osm_map.c:1988:9: note: 'count' was declared here 1988 | int count; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_osm_raw.o spatialite_osm_raw.c In function 'spatialite_autocreate', inlined from 'open_db' at spatialite_osm_raw.c:676:5: spatialite_osm_raw.c:619:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 619 | if (count > 0) | ^ spatialite_osm_raw.c: In function 'open_db': spatialite_osm_raw.c:599:9: note: 'count' was declared here 599 | int count; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_osm_filter.o spatialite_osm_filter.c make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_dxf.o spatialite_dxf.c make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' spatialite_dxf.c: In function 'spatialite_autocreate': spatialite_dxf.c:95:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 95 | if (count > 0) | ^ spatialite_dxf.c:75:9: note: 'count' was declared here 75 | int count; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_gml.o spatialite_gml.c make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' spatialite_gml.c: In function 'check_start_fid': spatialite_gml.c:200:21: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 200 | if (strcasecmp (k, "gml:id") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ spatialite_gml.c:181:17: note: 'k' was declared here 181 | const char *k; | ^ spatialite_gml.c: In function 'set_srid': spatialite_gml.c:395:21: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 395 | if (strcasecmp (k, "srsName") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ spatialite_gml.c:384:17: note: 'k' was declared here 384 | const char *k; | ^ In function 'prepare_parse_coords', inlined from 'start2_tag' at spatialite_gml.c:1073:2: spatialite_gml.c:852:21: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 852 | if (strcasecmp (k, "cs") == 0) | ^~~~~~~~~~~~~~~~~~~~ spatialite_gml.c: In function 'start2_tag': spatialite_gml.c:837:17: note: 'k' was declared here 837 | const char *k; | ^ In function 'spatialite_autocreate', inlined from 'open_db' at spatialite_gml.c:1352:5, inlined from 'main' at spatialite_gml.c:1786:5: spatialite_gml.c:1295:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 1295 | if (count > 0) | ^ spatialite_gml.c: In function 'main': spatialite_gml.c:1275:9: note: 'count' was declared here 1275 | int count; | ^~~~~ In function 'free_columns', inlined from 'main' at spatialite_gml.c:1930:5: spatialite_gml.c:1575:18: warning: pointer 'col_457' used after 'free' [-Wuse-after-free] 1575 | if (col->txt_value) | ~~~^~~~~~~~~~~ spatialite_gml.c:1574:11: note: call to 'free' here 1574 | free (col); | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_xml2utf8.o spatialite_xml2utf8.c make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_xml_validator.o spatialite_xml_validator.c make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_xml_print.o spatialite_xml_print.c make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_osm_overpass.o spatialite_osm_overpass.c make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_xml_collapse.o spatialite_xml_collapse.c spatialite_xml_collapse.c: In function 'test_index': spatialite_xml_collapse.c:1541:62: warning: '%s' directive argument is null [-Wformat-overflow=] 1541 | fprintf (stderr, "SELECT FROM sqlite_master error: %s\n", err_msg); | ^~ spatialite_xml_collapse.c: In function 'open_db': spatialite_xml_collapse.c:1962:67: warning: '%s' directive argument is null [-Wformat-overflow=] 1962 | fprintf (stderr, "PRAGMA xml_metacatalog_columns error: %s\n", | ^~ spatialite_xml_collapse.c:1917:66: warning: '%s' directive argument is null [-Wformat-overflow=] 1917 | fprintf (stderr, "PRAGMA xml_metacatalog_tables error: %s\n", | ^~ In function 'spatialite_autocreate', inlined from 'open_db' at spatialite_xml_collapse.c:2035:5: spatialite_xml_collapse.c:1874:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 1874 | if (count > 0) | ^ spatialite_xml_collapse.c: In function 'open_db': spatialite_xml_collapse.c:1854:9: note: 'count' was declared here 1854 | int count; | ^~~~~ spatialite_xml_collapse.c: In function 'main': spatialite_xml_collapse.c:1487:63: warning: '%s' directive argument is null [-Wformat-overflow=] 1487 | fprintf (stderr, "SELECT xml_referemce error: %s\n", err_msg); | ^~ spatialite_xml_collapse.c:1730:50: warning: '%s' directive argument is null [-Wformat-overflow=] 1730 | fprintf (stderr, "SELECT multi-values: %s\n", err_msg); | ^~ spatialite_xml_collapse.c:1813:60: warning: '%s' directive argument is null [-Wformat-overflow=] 1813 | fprintf (stderr, "PRAGMA foreign_key_list error: %s\n", err_msg); | ^~ spatialite_xml_collapse.c:1773:54: warning: '%s' directive argument is null [-Wformat-overflow=] 1773 | fprintf (stderr, "PRAGMA table_info error: %s\n", err_msg); | ^~ spatialite_xml_collapse.c:2377:72: warning: '%s' directive argument is null [-Wformat-overflow=] 2377 | fprintf (stderr, "SELECT FROM xml_metacatalog_columns error: %s\n", | ^~ spatialite_xml_collapse.c:2285:71: warning: '%s' directive argument is null [-Wformat-overflow=] 2285 | fprintf (stderr, "SELECT FROM xml_metacatalog_tables error: %s\n", | ^~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_xml_load.o spatialite_xml_load.c spatialite_xml_load.c: In function 'start_tag_1': spatialite_xml_load.c:922:17: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 922 | split_namespace (k, &ns, &name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spatialite_xml_load.c:862:17: note: 'k' was declared here 862 | const char *k; | ^ spatialite_xml_load.c: In function 'start_tag_2': spatialite_xml_load.c:2112:17: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 2112 | split_namespace (k, &ns, &name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spatialite_xml_load.c:2024:17: note: 'k' was declared here 2024 | const char *k; | ^ spatialite_xml_load.c: In function 'main': spatialite_xml_load.c:1231:66: warning: '%s' directive argument is null [-Wformat-overflow=] 1231 | fprintf (stderr, "PRAGMA foreign_key_list error: %s\n", | ^~ spatialite_xml_load.c:1151:54: warning: '%s' directive argument is null [-Wformat-overflow=] 1151 | fprintf (stderr, "PRAGMA table_info error: %s\n", err_msg); | ^~ In function 'spatialite_autocreate', inlined from 'open_db' at spatialite_xml_load.c:2254:5, inlined from 'main' at spatialite_xml_load.c:2584:5: spatialite_xml_load.c:2216:8: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 2216 | if (count > 0) | ^ spatialite_xml_load.c: In function 'main': spatialite_xml_load.c:2196:9: note: 'count' was declared here 2196 | int count; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite_tool spatialite_tool.o -lspatialite -lreadosm -lexpat -lsqlite3 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite_tool spatialite_tool.o -lspatialite -lreadosm -lexpat -lsqlite3 make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_dem.o spatialite_dem.c In function 'spatialite_autocreate', inlined from 'create_dem_db' at spatialite_dem.c:2335:2, inlined from 'command_dem_create' at spatialite_dem.c:3056:8, inlined from 'main' at spatialite_dem.c:3556:7: spatialite_dem.c:1820:5: warning: 'count' may be used uninitialized [-Wmaybe-uninitialized] 1820 | if (count > 0) | ^ spatialite_dem.c: In function 'main': spatialite_dem.c:1800:6: note: 'count' was declared here 1800 | int count; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite_network spatialite_network.o -lspatialite -lreadosm -lexpat -lsqlite3 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite_network spatialite_network.o -lspatialite -lreadosm -lexpat -lsqlite3 make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o shp_doctor shp_doctor.o -lspatialite -lreadosm -lexpat -lsqlite3 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o shp_doctor shp_doctor.o -lspatialite -lreadosm -lexpat -lsqlite3 make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' gcc -DHAVE_CONFIG_H -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libxml2 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spatialite_convert.o spatialite_convert.c spatialite_convert.c: In function 'copy_geometry_columns_4_2': spatialite_convert.c:5326:60: warning: 'txt_value' may be used uninitialized [-Wmaybe-uninitialized] 5326 | sqlite3_bind_text (stmt_out, 3, txt_value, strlen (txt_value), | ^~~~~~~~~~~~~~~~~~ spatialite_convert.c:5243:17: note: 'txt_value' was declared here 5243 | const char *txt_value; | ^~~~~~~~~ In function 'update_triggers', inlined from 'cvt_triggers' at spatialite_convert.c:1481:8: spatialite_convert.c:699:27: warning: 'txt_dims' may be used uninitialized [-Wmaybe-uninitialized] 699 | sqlite3_mprintf | ^~~~~~~~~~~~~~~ 700 | ("CREATE TRIGGER \"%s\" BEFORE UPDATE ON \"%s\"\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 701 | "FOR EACH ROW BEGIN\n" | ~~~~~~~~~~~~~~~~~~~~~~ 702 | "SELECT RAISE(ROLLBACK, '%q.%q violates Geometry constraint [geom-type or SRID not allowed]')\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 703 | "WHERE (SELECT type FROM geometry_columns\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 704 | "WHERE f_table_name = %Q AND f_geometry_column = %Q\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 705 | "AND GeometryConstraints(NEW.\"%s\", type, srid, %Q) = 1) IS NULL;\nEND", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 706 | quoted_trigger, quoted_table, p_table, p_column, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 707 | p_table, p_column, quoted_column, txt_dims); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spatialite_convert.c: In function 'cvt_triggers': spatialite_convert.c:440:11: note: 'txt_dims' was declared here 440 | char *txt_dims; | ^~~~~~~~ In function 'cvt_views_geometry_columns', inlined from 'main' at spatialite_convert.c:7160:10: spatialite_convert.c:2216:20: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 2216 | if (!ret) | ^ spatialite_convert.c: In function 'main': spatialite_convert.c:2193:9: note: 'ret' was declared here 2193 | int ret; | ^~~ make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite shell.o -lspatialite -lreadline -lcurses -lreadosm -lexpat -lsqlite3 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite shell.o -lspatialite -lreadline -lcurses -lreadosm -lexpat -lsqlite3 make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o exif_loader exif_loader.o -lspatialite -lreadosm -lexpat -lsqlite3 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o exif_loader exif_loader.o -lspatialite -lreadosm -lexpat -lsqlite3 make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /usr/bin/ld: /tmp/ccOlDnvF.ltrans0.ltrans.o: undefined reference to symbol 'floor@@GLIBC_2.27' /usr/bin/ld: /usr/lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Makefile:628: exif_loader] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite_osm_map spatialite_osm_map.o -lspatialite -lreadosm -lz -lexpat -lreadosm -lexpat -lsqlite3 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite_osm_map spatialite_osm_map.o -lspatialite -lz -lreadosm -lexpat -lsqlite3 make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite_osm_net spatialite_osm_net.o -lspatialite -lreadosm -lz -lexpat -lreadosm -lexpat -lsqlite3 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spatialite_osm_net spatialite_osm_net.o -lspatialite -lz -lreadosm -lexpat -lsqlite3 make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make[1]: Entering directory '/builddir/build/BUILD/spatialite-tools-5.0.1' /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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o shp_sanitize shp_sanitize.o -lspatialite -lreadosm -lexpat -lsqlite3 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o shp_sanitize shp_sanitize.o -lspatialite -lreadosm -lexpat -lsqlite3 make[1]: Leaving directory '/builddir/build/BUILD/spatialite-tools-5.0.1' make: *** [Makefile:524: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.VvNv2h (%build) Bad exit status from /var/tmp/rpm-tmp.VvNv2h (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spatialite-tools.spec