D: [iurt_root_command] chroot warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/ogdi-4.1.0-4.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UHslxA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ogdi-4.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ogdi-4.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ogdi-4.1.0 + rm -rf /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ogdi-3.2.0.beta2-fix-str-fmt.patch):' Patch #1 (ogdi-3.2.0.beta2-fix-str-fmt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file contrib/gdal/gdalbridge.c + echo 'Patch #20 (ogdi-4.0.0-sincos.patch):' Patch #20 (ogdi-4.0.0-sincos.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file ogdi/driver/adrg/makefile + echo 'Patch #21 (ogdi-4.0.0-dl.patch):' Patch #21 (ogdi-4.0.0-dl.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file contrib/gdal/makefile + cp -f /home/pterjan/rpmbuild/SOURCES/ogdi.pdf . + rm -rf proj + rm -rf external/expat external/rpc_win32 external/zlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e8joOl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ogdi-4.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ pwd + TOPDIR=/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0 + TARGET=Linux + export TOPDIR TARGET + INST_LIB=/usr/lib64/ + export INST_LIB + export CFG=debug + CFG=debug + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --with-binconfigs --with-expat --with-zlib configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-mageia-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 for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for dlopen in -ldl... yes checking for iconv_open in -lc... yes checking for g++ -shared ... yes 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 rpc/rpc.h usability... no checking rpc/rpc.h presence... no checking for rpc/rpc.h... no checking for RPC... yes checking rpc/pmap_clnt.h usability... yes checking rpc/pmap_clnt.h presence... yes checking for rpc/pmap_clnt.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether byte ordering is bigendian... no checking for deflateInit_ in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for XML_ParserCreate in -lexpat... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes configure: pkgconfig directory is ${libdir}/pkgconfig configure: creating ./config.status config.status: creating config/common.mak config.status: creating ogdi.pc config.status: creating ogdi-config config.status: creating config/generic.mak configure: WARNING: unrecognized options: --disable-dependency-tracking + cp -af config/linux.mak config/linux.mak.old + cp -af config/Linux.mak config/linux.mak + /usr/bin/make making install dirs using /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static mkdir /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux mkdir /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux mkdir /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin mkdir /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux cd external; /usr/bin/make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/external' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/external' cd vpflib; /usr/bin/make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static/libvpf.a make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -Dunix -DSYS_BIG_ENDIAN=0 -DHAVE_ICONV -c -o vpfselec.o ../vpfselec.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -Dunix -DSYS_BIG_ENDIAN=0 -DHAVE_ICONV -c -o vpftidx.o ../vpftidx.c ../vpftidx.c: In function 'create_gazetteer_index': ../vpftidx.c:1855:5: warning: '__builtin_strncpy' specified bound 13 equals destination size [-Wstringop-truncation] 1855 | strncpy ( gi.vpf_table_name, &tablename[i+1], 13 ) ; | ^ ../vpftidx.c:1863:3: warning: '__builtin_strncpy' specified bound 25 equals destination size [-Wstringop-truncation] 1863 | strncpy(gi.vpf_column_name, columnname,25); | ^ ../vpftidx.c: In function 'create_thematic_index': ../vpftidx.c:790:5: warning: '__builtin_strncpy' specified bound 13 equals destination size [-Wstringop-truncation] 790 | strncpy ( h.vpf_table_name, &tablename[i+1], 13 ) ; | ^ gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -Dunix -DSYS_BIG_ENDIAN=0 -DHAVE_ICONV -c -o vpfwrite.o ../vpfwrite.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -Dunix -DSYS_BIG_ENDIAN=0 -DHAVE_ICONV -c -o vpftable.o ../vpftable.c ../vpftable.c: In function 'vpf_open_table': ../vpftable.c:827:3: warning: '__builtin_strncpy' output may be truncated copying 12 bytes from a string of length 254 [-Wstringop-truncation] 827 | strncpy(table.name,&(tablepath[j+1]),12); | ^ gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -Dunix -DSYS_BIG_ENDIAN=0 -DHAVE_ICONV -c -o vpfrelat.o ../vpfrelat.c ../vpfrelat.c: In function 'related_rows': ../vpfrelat.c:611:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 611 | for (i=start;i COMPARETOLERANCE) || ((dy/oy) > COMPARETOLERANCE)) { | ^~ gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -DMODULES_PATH="\"/usr/lib64/ogdi/\"" -c -o ecs_capabilities.o ../ecs_capabilities.c Making shared library: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libogdi.so.4.1 gcc -shared -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -Wl,-soname,libogdi.so.4 -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libogdi.so.4.1 ecs_dyna.o ecssplit.o ecsassoc.o ecstile.o server.o ecsdist.o ecslist.o ecsinfo.o ecsgeo.o ecs_xdr.o ecs_xdrz.o matrix.o client.o ecs_capabilities.o -ldl -ltirpc -lz -lexpat -lm cd /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux; ln -s libogdi.so.4.1 libogdi.so; \ ln -s libogdi.so.4.1 libogdi.so.4; cd /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/c-api/OBJ.Linux /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libogdi.so.4.1 made successfully ... make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/c-api/OBJ.Linux' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/c-api' cd glutil; /usr/bin/make make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static/libglutil.a make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o getglenv.o ../getglenv.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o iofile.o ../iofile.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o dirent.o ../dirent.c Making archive file: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static/libglutil.a ar cr /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static/libglutil.a getglenv.o iofile.o dirent.o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static/libglutil.a made successfully ... make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil/OBJ.Linux' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil' cd attr_driver; /usr/bin/make make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/attr_driver' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/attr_driver' cd driver; /usr/bin/make make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver' cd adrg; /usr/bin/make make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/adrg' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libadrg.so make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/adrg/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o adrg.o ../adrg.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o utils.o ../utils.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o object.o ../object.c Making dynamic library: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libadrg.so gcc -shared -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libadrg.so adrg.o utils.o object.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static -lglutil -lm /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libadrg.so made successfully ... make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/adrg/OBJ.Linux' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/adrg' cd network; /usr/bin/make make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/network' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libremote.so make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/network/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o remote.o ../remote.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o ecs_clnt.o ../ecs_clnt.c Making dynamic library: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libremote.so gcc -shared -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libremote.so remote.o ecs_clnt.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -ldl -ltirpc /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libremote.so made successfully ... make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/network/OBJ.Linux' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/network' cd rpf; /usr/bin/make make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/rpf' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/librpf.so make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/rpf/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o rpf.o ../rpf.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o utils.o ../utils.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o object.o ../object.c Making dynamic library: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/librpf.so gcc -shared -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/librpf.so rpf.o utils.o object.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static -lvpf -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static -lglutil -lm /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/librpf.so made successfully ... make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/rpf/OBJ.Linux' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/rpf' cd vrf; /usr/bin/make make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/vrf' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libvrf.so make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/vrf/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o vrf.o ../vrf.c ../vrf.c: In function 'dyn_CreateServer': ../vrf.c:205:21: warning: '/lat' directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 205 | sprintf(buffer,"%s/lat",spriv->database); | ^~~~ In file included from /usr/include/stdio.h:980, from /usr/include/tirpc/rpc/xdr.h:43, from /usr/include/tirpc/rpc/rpc.h:43, from /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include/ecs.h:9, from ../vrf.c:108: In function 'sprintf', inlined from 'dyn_CreateServer' at ../vrf.c:205:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 260 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../vrf.c: In function 'dyn_CreateServer': ../vrf.c:207:23: warning: '/LAT' directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 207 | sprintf(buffer,"%s/LAT",spriv->database); | ^~~~ In function 'sprintf', inlined from 'dyn_CreateServer' at ../vrf.c:207:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 260 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../vrf.c: In function 'dyn_SelectLayer': ../vrf.c:490:24: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 490 | sprintf(buffer,"%s/%s/%s",spriv->library,lpriv->coverage,lpriv->featureTableName); | ^ In function 'sprintf', inlined from 'dyn_SelectLayer' at ../vrf.c:490:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../vrf.c: In function 'dyn_SelectLayer': ../vrf.c:505:28: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 505 | sprintf(buffer,"%s/%s/%s",spriv->library,lpriv->coverage,lpriv->joinTableName); | ^ In function 'sprintf', inlined from 'dyn_SelectLayer' at ../vrf.c:505:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o utils.o ../utils.c ../utils.c: In function 'vrf_build_coverage_capabilities': ../utils.c:2042:26: warning: '/fcs' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 2042 | sprintf(buffer,"%s/%s/fcs",spriv->library,coverage); | ^~~~ In file included from /usr/include/stdio.h:980, from /usr/include/tirpc/rpc/xdr.h:43, from /usr/include/tirpc/rpc/rpc.h:43, from /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include/ecs.h:9, from ../utils.c:114: In function 'sprintf', inlined from 'vrf_build_coverage_capabilities' at ../utils.c:2042:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_build_coverage_capabilities': ../utils.c:2044:30: warning: '/FCS' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 2044 | sprintf(buffer,"%s/%s/FCS",spriv->library,coverage); | ^~~~ In function 'sprintf', inlined from 'vrf_build_coverage_capabilities' at ../utils.c:2044:9: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_GetMetadata': ../utils.c:634:23: warning: 'dht' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 634 | sprintf(buffer,"%s%sdht",spriv->database,separator); | ^~~ In function 'sprintf', inlined from 'vrf_GetMetadata' at ../utils.c:634:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_GetMetadata': ../utils.c:762:23: warning: 'lht' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 762 | sprintf(buffer,"%s%slht",spriv->library,separator); | ^~~ In function 'sprintf', inlined from 'vrf_GetMetadata' at ../utils.c:762:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_GetMetadata': ../utils.c:887:23: warning: 'grt' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 887 | sprintf(buffer,"%s%sgrt",spriv->library,separator); | ^~~ In function 'sprintf', inlined from 'vrf_GetMetadata' at ../utils.c:887:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_GetMetadata': ../utils.c:986:23: warning: 'dqt' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 986 | sprintf(buffer,"%s%sdqt",spriv->library,separator); | ^~~ In function 'sprintf', inlined from 'vrf_GetMetadata' at ../utils.c:986:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_GetMetadata': ../utils.c:1210:26: warning: '/fcs' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1210 | sprintf(buffer,"%s/%s/fcs",spriv->library,covname); | ^~~~ In function 'sprintf', inlined from 'vrf_GetMetadata' at ../utils.c:1210:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_GetMetadata': ../utils.c:1217:26: warning: '/fca' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1217 | sprintf(buffer,"%s/%s/fca",spriv->library,covname); | ^~~~ In function 'sprintf', inlined from 'vrf_GetMetadata' at ../utils.c:1217:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_GetMetadata': ../utils.c:1312:33: warning: '%s' directive writing up to 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1312 | sprintf(buffer,"%s%s%s%s%s.vdt",spriv->library,separator,covname,separator,tab[j]); | ^~ In function 'sprintf', inlined from 'vrf_GetMetadata' at ../utils.c:1312:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 280) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_initTiling': ../utils.c:1489:21: warning: '/tileref/tileref.aft' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1489 | sprintf(buffer,"%s/tileref/tileref.aft",spriv->library); | ^~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'vrf_initTiling' at ../utils.c:1489:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 276 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_initTiling': ../utils.c:1491:23: warning: '/TILEREF/TILEREF.AFT' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1491 | sprintf(buffer,"%s/TILEREF/TILEREF.AFT",spriv->library); | ^~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'vrf_initTiling' at ../utils.c:1491:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 276 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_initTiling': ../utils.c:1526:21: warning: '/tileref/fbr' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1526 | sprintf(buffer,"%s/tileref/fbr",spriv->library); | ^~~~~~~~~~~~ In function 'sprintf', inlined from 'vrf_initTiling' at ../utils.c:1526:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_initTiling': ../utils.c:1528:23: warning: '/TILEREF/FBR' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1528 | sprintf(buffer,"%s/TILEREF/FBR",spriv->library); | ^~~~~~~~~~~~ In function 'sprintf', inlined from 'vrf_initTiling' at ../utils.c:1528:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_AllFClass': ../utils.c:1612:24: warning: '/fcs' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1612 | sprintf(buffer,"%s/%s/fcs",spriv->library,coverage); | ^~~~ In function 'sprintf', inlined from 'vrf_AllFClass' at ../utils.c:1612:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_AllFClass': ../utils.c:1614:26: warning: '/FCS' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1614 | sprintf(buffer,"%s/%s/FCS",spriv->library,coverage); | ^~~~ In function 'sprintf', inlined from 'vrf_AllFClass' at ../utils.c:1614:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_feature_class_dictionary': ../utils.c:1762:19: warning: '%s' directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 1762 | sprintf(buffer,"%s/%s/fcs",spriv->library,coverage); | ^~ In function 'sprintf', inlined from 'vrf_feature_class_dictionary' at ../utils.c:1762:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_feature_class_dictionary': ../utils.c:1764:21: warning: '%s' directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 1764 | sprintf(buffer,"%s/%s/FCS",spriv->library,coverage); | ^~ In function 'sprintf', inlined from 'vrf_feature_class_dictionary' at ../utils.c:1764:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_feature_class_dictionary': ../utils.c:1790:23: warning: '%s' directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 1790 | sprintf(buffer,"%s/%s/%s",spriv->library,coverage,featureTableName); | ^~ In function 'sprintf', inlined from 'vrf_feature_class_dictionary' at ../utils.c:1790:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../utils.c: In function 'vrf_feature_class_dictionary': ../utils.c:1827:23: warning: '%s' directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 1827 | sprintf(temp,"%s\\%s",spriv->library,coverage); | ^~ In function 'sprintf', inlined from 'vrf_feature_class_dictionary' at ../utils.c:1827:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o feature.o ../feature.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o object.o ../object.c ../object.c: In function '_closeLayerTable': ../object.c:1872:36: warning: the comparison will always evaluate as 'true' for the address of 'faceTable' will never be NULL [-Waddress] 1872 | if (&(lpriv->l.area.faceTable) != NULL) | ^~ In file included from ../object.c:92: ../vrf.h:138:18: note: 'faceTable' declared here 138 | vpf_table_type faceTable; | ^~~~~~~~~ ../object.c:1874:35: warning: the comparison will always evaluate as 'true' for the address of 'mbrTable' will never be NULL [-Waddress] 1874 | if (&(lpriv->l.area.mbrTable) != NULL) | ^~ ../vrf.h:139:18: note: 'mbrTable' declared here 139 | vpf_table_type mbrTable; | ^~~~~~~~ ../object.c:1876:36: warning: the comparison will always evaluate as 'true' for the address of 'ringTable' will never be NULL [-Waddress] 1876 | if (&(lpriv->l.area.ringTable) != NULL) | ^~ ../vrf.h:140:18: note: 'ringTable' declared here 140 | vpf_table_type ringTable; | ^~~~~~~~~ ../object.c:1878:36: warning: the comparison will always evaluate as 'true' for the address of 'edgeTable' will never be NULL [-Waddress] 1878 | if (&(lpriv->l.area.edgeTable) != NULL) | ^~ ../vrf.h:141:18: note: 'edgeTable' declared here 141 | vpf_table_type edgeTable; | ^~~~~~~~~ ../object.c:1887:36: warning: the comparison will always evaluate as 'true' for the address of 'edgeTable' will never be NULL [-Waddress] 1887 | if (&(lpriv->l.line.edgeTable) != NULL) | ^~ ../vrf.h:127:18: note: 'edgeTable' declared here 127 | vpf_table_type edgeTable; | ^~~~~~~~~ ../object.c:1889:35: warning: the comparison will always evaluate as 'true' for the address of 'mbrTable' will never be NULL [-Waddress] 1889 | if (&(lpriv->l.line.mbrTable) != NULL) | ^~ ../vrf.h:128:18: note: 'mbrTable' declared here 128 | vpf_table_type mbrTable; | ^~~~~~~~ ../object.c:1896:37: warning: the comparison will always evaluate as 'true' for the address of 'primTable' will never be NULL [-Waddress] 1896 | if (&(lpriv->l.point.primTable) != NULL) | ^~ ../vrf.h:151:18: note: 'primTable' declared here 151 | vpf_table_type primTable; | ^~~~~~~~~ ../object.c:1903:36: warning: the comparison will always evaluate as 'true' for the address of 'textTable' will never be NULL [-Waddress] 1903 | if (&(lpriv->l.text.textTable) != NULL) | ^~ ../vrf.h:161:18: note: 'textTable' declared here 161 | vpf_table_type textTable; | ^~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:865:28: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 865 | sprintf(buffer,"%s/%s/%s",spriv->library,lpriv->coverage,lpriv->primitiveTableName); | ^ In file included from /usr/include/stdio.h:980, from /usr/include/tirpc/rpc/xdr.h:43, from /usr/include/tirpc/rpc/rpc.h:43, from /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include/ecs.h:9, from ../object.c:91: In function 'sprintf', inlined from '_selectTileArea' at ../object.c:865:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:867:28: warning: '/edg' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 867 | sprintf(buffer,"%s/%s/edg",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:867:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:869:30: warning: '/EDG' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 869 | sprintf(buffer,"%s/%s/EDG",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:869:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:872:28: warning: '/rng' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 872 | sprintf(buffer,"%s/%s/rng",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:872:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:874:30: warning: '/RNG' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 874 | sprintf(buffer,"%s/%s/RNG",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:874:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:877:28: warning: '/fbr' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 877 | sprintf(buffer,"%s/%s/fbr",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:877:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:879:30: warning: '/FBR' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 879 | sprintf(buffer,"%s/%s/FBR",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:879:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:832:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 832 | sprintf(buffer,"%s/%s/%s",spriv->library,lpriv->coverage,lpriv->primitiveTableName); | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:832:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:834:30: warning: '/edg' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 834 | sprintf(buffer,"%s/%s/edg",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:834:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:836:32: warning: '/EDG' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 836 | sprintf(buffer,"%s/%s/EDG",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:836:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:839:30: warning: '/rng' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 839 | sprintf(buffer,"%s/%s/rng",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:839:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:841:32: warning: '/RNG' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 841 | sprintf(buffer,"%s/%s/RNG",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:841:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:844:30: warning: '/fbr' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 844 | sprintf(buffer,"%s/%s/fbr",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:844:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:846:32: warning: '/FBR' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 846 | sprintf(buffer,"%s/%s/FBR",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:846:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:803:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 803 | sprintf(buffer,"%s/%s/%s/fac",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:803:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:806:32: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 806 | sprintf(buffer,"%s/%s/%s/FAC",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:806:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:810:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 810 | sprintf(buffer,"%s/%s/%s/edg",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:810:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:813:32: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 813 | sprintf(buffer,"%s/%s/%s/EDG",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:813:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:817:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 817 | sprintf(buffer,"%s/%s/%s/rng",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:817:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:820:32: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 820 | sprintf(buffer,"%s/%s/%s/RNG",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:820:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:824:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 824 | sprintf(buffer,"%s/%s/%s/fbr",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:824:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileArea': ../object.c:827:32: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 827 | sprintf(buffer,"%s/%s/%s/FBR",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileArea' at ../object.c:827:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileLineWithRet': ../object.c:1215:28: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1215 | sprintf(buffer,"%s/%s/%s",spriv->library,lpriv->coverage,lpriv->primitiveTableName); | ^ In function 'sprintf', inlined from '_selectTileLineWithRet' at ../object.c:1215:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileLineWithRet': ../object.c:1217:28: warning: '/ebr' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1217 | sprintf(buffer,"%s/%s/ebr",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileLineWithRet' at ../object.c:1217:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileLineWithRet': ../object.c:1219:30: warning: '/EBR' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1219 | sprintf(buffer,"%s/%s/EBR",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileLineWithRet' at ../object.c:1219:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileLineWithRet': ../object.c:1181:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1181 | sprintf(buffer,"%s/%s/%s/%s",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileLineWithRet' at ../object.c:1181:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileLineWithRet': ../object.c:1184:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1184 | sprintf(buffer,"%s/%s/%s/ebr",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileLineWithRet' at ../object.c:1184:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileLineWithRet': ../object.c:1187:32: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1187 | sprintf(buffer,"%s/%s/%s/EBR",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTileLineWithRet' at ../object.c:1187:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTilePoint': ../object.c:1529:28: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1529 | sprintf(buffer,"%s/%s/%s",spriv->library, | ^ In function 'sprintf', inlined from '_selectTilePoint' at ../object.c:1529:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTilePoint': ../object.c:1514:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1514 | sprintf(buffer,"%s/%s/%s",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTilePoint' at ../object.c:1514:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTilePoint': ../object.c:1510:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1510 | sprintf(buffer,"%s/%s/%s/%s",spriv->library,lpriv->coverage, | ^ In function 'sprintf', inlined from '_selectTilePoint' at ../object.c:1510:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileText': ../object.c:1841:28: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1841 | sprintf(buffer,"%s/%s/%s",spriv->library,lpriv->coverage,lpriv->primitiveTableName); | ^ In function 'sprintf', inlined from '_selectTileText' at ../object.c:1841:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 258) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileText': ../object.c:1821:30: warning: '/txt' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1821 | sprintf(buffer,"%s/%s/txt",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileText' at ../object.c:1821:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileText': ../object.c:1823:32: warning: '/TXT' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1823 | sprintf(buffer,"%s/%s/TXT",spriv->library,lpriv->coverage); | ^~~~ In function 'sprintf', inlined from '_selectTileText' at ../object.c:1823:4: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 261) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_selectTileText': ../object.c:1819:30: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 1819 | sprintf(buffer,"%s/%s/%s/%s",spriv->library,lpriv->coverage,spriv->tile[tile_id-1].path,lpriv->primitiveTableName); | ^ In function 'sprintf', inlined from '_selectTileText' at ../object.c:1819:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o open.o ../open.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o swq.o ../swq.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/vpflib -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o vrfswq.o ../vrfswq.c Making dynamic library: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libvrf.so gcc -shared -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libvrf.so vrf.o utils.o feature.o object.o open.o swq.o vrfswq.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static -lvpf -lm /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libvrf.so made successfully ... make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/vrf/OBJ.Linux' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/vrf' cd skeleton; /usr/bin/make make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/skeleton' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libskeleton.so make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/skeleton/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o skeleton.o ../skeleton.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o open.o ../open.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o object.o ../object.c ../object.c: In function '_getObjectArea': ../object.c:292:19: warning: '%d' directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow=] 292 | sprintf(buffer,"%d",index); | ^~ ../object.c:292:18: note: directive argument in the range [0, 2147483646] 292 | sprintf(buffer,"%d",index); | ^~~~ In file included from /usr/include/stdio.h:980, from /usr/include/tirpc/rpc/xdr.h:43, from /usr/include/tirpc/rpc/rpc.h:43, from /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include/ecs.h:9, from ../skeleton.h:76, from ../object.c:27: In function 'sprintf', inlined from '_getObjectArea' at ../object.c:292:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_getObjectLine': ../object.c:608:19: warning: '%d' directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow=] 608 | sprintf(buffer,"%d",index); | ^~ ../object.c:608:18: note: directive argument in the range [0, 2147483646] 608 | sprintf(buffer,"%d",index); | ^~~~ In function 'sprintf', inlined from '_getObjectLine' at ../object.c:608:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_getObjectPoint': ../object.c:870:19: warning: '%d' directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow=] 870 | sprintf(buffer,"%d",index); | ^~ ../object.c:870:18: note: directive argument in the range [0, 2147483646] 870 | sprintf(buffer,"%d",index); | ^~~~ In function 'sprintf', inlined from '_getObjectPoint' at ../object.c:870:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_getNextObjectText': ../object.c:1057:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] 1057 | sprintf(buffer,"%d",l->index); | ^~ ../object.c:1057:18: note: directive argument in the range [-2147483648, 2147483646] 1057 | sprintf(buffer,"%d",l->index); | ^~~~ In function 'sprintf', inlined from '_getNextObjectText' at ../object.c:1057:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../object.c: In function '_getObjectText': ../object.c:1117:19: warning: '%d' directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow=] 1117 | sprintf(buffer,"%d",index); | ^~ ../object.c:1117:18: note: directive argument in the range [0, 2147483646] 1117 | sprintf(buffer,"%d",index); | ^~~~ In function 'sprintf', inlined from '_getObjectText' at ../object.c:1117:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/glutil -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o utils.o ../utils.c Making dynamic library: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libskeleton.so gcc -shared -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libskeleton.so skeleton.o open.o object.o utils.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/lib/Linux/static -lglutil /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libskeleton.so made successfully ... make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/skeleton/OBJ.Linux' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver/skeleton' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/driver' cd gltpd; /usr/bin/make make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/gltpd' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/gltpd make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/gltpd/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -DHAVE_STD_RPC_INCLUDES -c -o asyncsvr.o ../asyncsvr.c ../asyncsvr.c: In function 'dispatchno_1': ../asyncsvr.c:457:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 457 | while (waitpid(-1, NULL, WNOHANG) > 0); | ^~~~~ In file included from ../asyncsvr.c:53: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux/ogdi_macro.h:42:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 42 | #define ogdi_system(fp) { \ | ^ ../asyncsvr.c:458:5: note: in expansion of macro 'ogdi_system' 458 | ogdi_system(temp); | ^~~~~~~~~~~ gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -DHAVE_STD_RPC_INCLUDES -c -o ecs_sif.o ../ecs_sif.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -DHAVE_STD_RPC_INCLUDES -c -o ecs_svc.o ../ecs_svc.c Making executable: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/gltpd gcc -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/gltpd asyncsvr.o ecs_sif.o ecs_svc.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -lz -ldl -ltirpc -lm -lc /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/gltpd made successfully ... make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/gltpd/OBJ.Linux' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/gltpd' cd examples; /usr/bin/make make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples' cd example1; /usr/bin/make make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples/example1' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/example1 make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples/example1/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o example1.o ../example1.c Making executable: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/example1 gcc -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/example1 example1.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/example1 made successfully ... make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples/example1/OBJ.Linux' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples/example1' cd example2; /usr/bin/make make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples/example2' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/example2 make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples/example2/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o example2.o ../example2.c Making executable: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/example2 gcc -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/example2 example2.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/example2 made successfully ... make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples/example2/OBJ.Linux' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples/example2' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/examples' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi' cd contrib; /usr/bin/make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib' cd ogdi_import; /usr/bin/make make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/ogdi_import' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/ogdi_import make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/ogdi_import/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o ogdi_import.o ../ogdi_import.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o shpopen.o ../shpopen.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o dbfopen.o ../dbfopen.c ../dbfopen.c: In function 'DBFWriteAttribute': ../dbfopen.c:915:13: warning: '__builtin_strncpy' output may be truncated copying between 0 and 399 bytes from a string of length 399 [-Wstringop-truncation] 915 | strncpy((char *) (pabyRec+psDBF->panFieldOffset[iField]), | ^ ../dbfopen.c:900:13: warning: '__builtin_strncpy' output may be truncated copying between 0 and 399 bytes from a string of length 399 [-Wstringop-truncation] 900 | strncpy((char *) (pabyRec+psDBF->panFieldOffset[iField]), | ^ ../dbfopen.c: In function 'DBFAddField': ../dbfopen.c:573:9: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 573 | strncpy( pszFInfo, pszFieldName, strlen(pszFieldName)); | ^ ../dbfopen.c:572:15: note: length computed here 572 | if( (int) strlen(pszFieldName) < 10 ) | ^~~~~~~~~~~~~~~~~~~~ Making executable: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/ogdi_import gcc -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/ogdi_import ogdi_import.o shpopen.o dbfopen.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -lz -ldl -ltirpc -lm -lc /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/ogdi_import made successfully ... make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/ogdi_import/OBJ.Linux' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/ogdi_import' cd ogdi_info; /usr/bin/make make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/ogdi_info' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/ogdi_info make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/ogdi_info/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o ogdi_info.o ../ogdi_info.c Making executable: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/ogdi_info gcc -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/ogdi_info ogdi_info.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -lz -ldl -ltirpc -lm -lc /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/ogdi_info made successfully ... make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/ogdi_info/OBJ.Linux' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/ogdi_info' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib' + /usr/bin/make -C ogdi/tcl_interface TCL_LINKLIB=-ltcl make: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/tcl_interface' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libecs_tcl.so make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/tcl_interface/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/usr/include/tcl8.3 -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o ecs_tcl.o ../ecs_tcl.c Making dynamic library: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libecs_tcl.so gcc -shared -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libecs_tcl.so ecs_tcl.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -ltcl -lm /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libecs_tcl.so made successfully ... make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/tcl_interface/OBJ.Linux' make: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/tcl_interface' + /usr/bin/make -C contrib/gdal make: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/gdal' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libgdal.so make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/gdal/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o gdal_serv.o ../gdal_serv.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o gdalbridge.o ../gdalbridge.c gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o gbgetsymbol.o ../gbgetsymbol.c Making dynamic library: /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libgdal.so gcc -shared -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -o /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libgdal.so gdal_serv.o gdalbridge.o gbgetsymbol.o -L/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux -logdi -ldl -lm /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/libgdal.so made successfully ... make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/gdal/OBJ.Linux' make: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/contrib/gdal' + /usr/bin/make -C ogdi/attr_driver/odbc ODBC_LINKLIB=-lodbc make: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/attr_driver/odbc' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/config/mkinstalldirs OBJ.Linux mkdir OBJ.Linux /usr/bin/make --directory OBJ.Linux -f ../makefile PASS='depend' /home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/bin/Linux/liblodbc.so make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/attr_driver/odbc/OBJ.Linux' gcc -I.. -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/include/Linux -I/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/include -g -O2 -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -DUNIX=1 -fPIC -I/usr/include/tirpc -c -o odbc.o ../odbc.c ../odbc.c: In function 'dyn_InitializeDBLink': ../odbc.c:237:39: error: passing argument 7 of 'SQLColAttributes' from incompatible pointer type [-Wincompatible-pointer-types] 237 | buffer,255,&length,(SQLINTEGER *)&(apriv->nb_field)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} In file included from ../odbc.h:32, from ../odbc.c:27: /usr/include/sqlext.h:1922:32: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 1922 | SQLLEN *pfDesc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../odbc.c: In function 'dyn_GetColumnsInfo': ../odbc.c:397:38: error: passing argument 7 of 'SQLColAttributes' from incompatible pointer type [-Wincompatible-pointer-types] 397 | name,32,&length,&count); | ^~~~~~ | | | SDWORD * {aka int *} /usr/include/sqlext.h:1922:32: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 1922 | SQLLEN *pfDesc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../odbc.c:399:41: error: passing argument 7 of 'SQLColAttributes' from incompatible pointer type [-Wincompatible-pointer-types] 399 | buffer,513,&length,(SQLINTEGER *)&(type)); | ^~~~~~~~~~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sqlext.h:1922:32: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 1922 | SQLLEN *pfDesc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../odbc.c:401:41: error: passing argument 7 of 'SQLColAttributes' from incompatible pointer type [-Wincompatible-pointer-types] 401 | buffer,513,&length,(SQLINTEGER *)&(readlength)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sqlext.h:1922:32: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 1922 | SQLLEN *pfDesc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../odbc.c:403:41: error: passing argument 7 of 'SQLColAttributes' from incompatible pointer type [-Wincompatible-pointer-types] 403 | buffer,513,&length,(SQLINTEGER *)&(precision)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sqlext.h:1922:32: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 1922 | SQLLEN *pfDesc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../odbc.c:405:41: error: passing argument 7 of 'SQLColAttributes' from incompatible pointer type [-Wincompatible-pointer-types] 405 | buffer,513,&length,(SQLINTEGER *)&(nullable)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sqlext.h:1922:32: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 1922 | SQLLEN *pfDesc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../odbc.c: In function 'dyn_SelectAttributes': ../odbc.c:528:63: error: passing argument 10 of 'SQLBindParameter' from incompatible pointer type [-Wincompatible-pointer-types] 528 | (SQLPOINTER) theKey, (SQLINTEGER) 0, (SQLINTEGER *) &length) != SQL_SUCCESS) { | ^~~~~~~~~~~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sqlext.h:2049:32: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 2049 | SQLLEN *pcbValue); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../odbc.c:580:32: error: passing argument 6 of 'SQLGetData' from incompatible pointer type [-Wincompatible-pointer-types] 580 | buffer2, 255, &length); | ^~~~~~~ | | | SDWORD * {aka int *} In file included from ../odbc.h:31: /usr/include/sql.h:706:43: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SDWORD *' {aka 'int *'} 706 | SQLLEN *StrLen_or_Ind); | ~~~~~~~~^~~~~~~~~~~~~ ../odbc.c:582:45: error: passing argument 7 of 'SQLColAttributes' from incompatible pointer type [-Wincompatible-pointer-types] 582 | buffer,32,&collength,(SQLINTEGER *)&(type)); | ^~~~~~~~~~~~~~~~~~~~~ | | | SQLINTEGER * {aka int *} /usr/include/sqlext.h:1922:32: note: expected 'SQLLEN *' {aka 'long int *'} but argument is of type 'SQLINTEGER *' {aka 'int *'} 1922 | SQLLEN *pfDesc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ make[1]: *** [: odbc.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/attr_driver/odbc/OBJ.Linux' make: *** [makefile:28: all] Error 2 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/ogdi-4.1.0/ogdi/attr_driver/odbc' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.e8joOl (%build) RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.e8joOl (%build) I: [iurt_root_command] ERROR: chroot