D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/roadmap-1.2.1-23.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AHVcpK sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QAj1tA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build + rm -rf roadmap-1.2.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/roadmap-1.2.1-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd roadmap-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/roadmap-1.2.1-mdv-fix-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/roadmap-1.2.1-mga-use-gpsd3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9RMF42 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd roadmap-1.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp' + export 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -C src DESKTOP=GTK2 SHAPEFILES=yes make: Entering directory '/home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build/roadmap-1.2.1/src' Note: run 'make depends' to create dependency files make -C unix all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build/roadmap-1.2.1/src/unix' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_file.o roadmap_file.c roadmap_file.c: In function 'roadmap_file_save': roadmap_file.c:169:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | write (fd, data, (size_t)length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_file.c: In function 'roadmap_file_append': roadmap_file.c:210:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | write (fd, data, (size_t)length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from roadmap_file.c:40: roadmap_file.c: In function 'roadmap_file_backup': ../roadmap.h:58:13: warning: 'newname' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_file.c:250:5: note: in expansion of macro 'roadmap_check_allocated' 250 | roadmap_check_allocated(newname); | ^~~~~~~~~~~~~~~~~~~~~~~ ../roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_file.c: In function 'roadmap_file_map': ../roadmap.h:58:13: warning: '' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_file.c:317:4: note: in expansion of macro 'roadmap_check_allocated' 317 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ ../roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_path.o roadmap_path.c roadmap_path.c: In function 'roadmap_path_create': roadmap_path.c:560:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 560 | system (command); | ^~~~~~~~~~~~~~~~ In file included from roadmap_path.c:40: roadmap_path.c: In function 'roadmap_path_cat': ../roadmap.h:58:13: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_path.c:239:5: note: in expansion of macro 'roadmap_check_allocated' 239 | roadmap_check_allocated (result); | ^~~~~~~~~~~~~~~~~~~~~~~ ../roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_path.c: In function 'roadmap_path_addlist': ../roadmap.h:58:13: warning: 'pathitem' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_path.c:413:7: note: in expansion of macro 'roadmap_check_allocated' 413 | roadmap_check_allocated(pathitem); | ^~~~~~~~~~~~~~~~~~~~~~~ ../roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_path.c: In function 'roadmap_path_ftw_cb': ../roadmap.h:58:13: warning: 'pathitem' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_path.c:394:4: note: in expansion of macro 'roadmap_check_allocated' 394 | roadmap_check_allocated(pathitem); | ^~~~~~~~~~~~~~~~~~~~~~~ ../roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_path.c: In function 'roadmap_path_list_create': ../roadmap.h:58:13: warning: 'new_path' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_path.c:175:4: note: in expansion of macro 'roadmap_check_allocated' 175 | roadmap_check_allocated(new_path); | ^~~~~~~~~~~~~~~~~~~~~~~ ../roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_library.o roadmap_library.c In file included from roadmap_library.c:33: roadmap_library.c: In function 'roadmap_library_name': ../roadmap.h:58:13: warning: 'filename' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_library.c:47:4: note: in expansion of macro 'roadmap_check_allocated' 47 | roadmap_check_allocated(filename); | ^~~~~~~~~~~~~~~~~~~~~~~ ../roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_net.o roadmap_net.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_serial.o roadmap_serial.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_spawn.o roadmap_spawn.c roadmap_spawn.c: In function 'roadmap_spawn_child': roadmap_spawn.c:198:7: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 198 | pipe (reading); | ^~~~~~~~~~~~~~ roadmap_spawn.c:199:7: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 199 | pipe (writing); | ^~~~~~~~~~~~~~ roadmap_spawn.c: In function 'roadmap_spawn_command': roadmap_spawn.c:356:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 356 | system (command); | ^~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_time.o roadmap_time.c ar "rf" libosroadmap.a roadmap_file.o roadmap_path.o roadmap_library.o roadmap_net.o roadmap_serial.o roadmap_spawn.o roadmap_time.o ar: creating libosroadmap.a ranlib libosroadmap.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build/roadmap-1.2.1/src/unix' make -C gpx all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build/roadmap-1.2.1/src/gpx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o gpx.o gpx.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o xmltag.o xmltag.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o waypt.o waypt.c waypt.c: In function 'waypt_add': waypt.c:101:58: warning: '%03d' directive output may be truncated writing between 3 and 11 bytes into a region of size 7 [-Wformat-truncation=] 101 | snprintf(cbuf, sizeof(cbuf), "WPT%03d", waypt_index); | ^~~~ waypt.c:101:54: note: directive argument in the range [-2147483647, 2147483647] 101 | snprintf(cbuf, sizeof(cbuf), "WPT%03d", waypt_index); | ^~~~~~~~~ In file included from /usr/include/stdio.h:970, from waypt.c:24: In function 'snprintf', inlined from 'waypt_add' at waypt.c:101:25: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 15 bytes into a destination of size 10 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ waypt.c: In function 'weept_add': waypt.c:123:50: warning: '%03d' directive output may be truncated writing between 3 and 11 bytes into a region of size 7 [-Wformat-truncation=] 123 | snprintf(cbuf, sizeof(cbuf), "WPT%03d", waypt_index); | ^~~~ waypt.c:123:46: note: directive argument in the range [-2147483647, 2147483647] 123 | snprintf(cbuf, sizeof(cbuf), "WPT%03d", waypt_index); | ^~~~~~~~~ In function 'snprintf', inlined from 'weept_add' at waypt.c:123:17: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 15 bytes into a destination of size 10 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o route.o route.c route.c: In function 'route_add_wpt': route.c:78:54: warning: '%03d' directive output may be truncated writing between 3 and 11 bytes into a region of size 7 [-Wformat-truncation=] 78 | snprintf(tmpnam, sizeof(tmpnam), "RPT%03d",rte_waypt_index); | ^~~~ route.c:78:50: note: directive argument in the range [-2147483647, 2147483647] 78 | snprintf(tmpnam, sizeof(tmpnam), "RPT%03d",rte_waypt_index); | ^~~~~~~~~ In file included from /usr/include/stdio.h:970, from route.c:22: In function 'snprintf', inlined from 'route_add_wpt' at route.c:78:17: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 15 bytes into a destination of size 10 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o util.o util.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o mkshort.o mkshort.c mkshort.c: In function 'mkshort': mkshort.c:339:19: warning: variable 'nlen' set but not used [-Wunused-but-set-variable] 339 | int i, l, nlen, replaced; | ^~~~ mkshort.c: In function 'mkshort_add_to_list': mkshort.c:140:38: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] 140 | dl = sprintf(tbuf, ".%d", s->conflictctr); | ^~ mkshort.c:140:36: note: directive argument in the range [-2147483647, 2147483647] 140 | dl = sprintf(tbuf, ".%d", s->conflictctr); | ^~~~~ In file included from /usr/include/stdio.h:970, from defs.h:26, from mkshort.c:28: In function 'sprintf', inlined from 'mkshort_add_to_list' at mkshort.c:140:22: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 13 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o formspec.o formspec.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I.. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o vmem.o vmem.c ar "rf" libgpx.a gpx.o xmltag.o waypt.o route.o util.o mkshort.o formspec.o vmem.o ar: creating libgpx.a ranlib libgpx.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build/roadmap-1.2.1/src/gpx' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_log.o roadmap_log.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_message.o roadmap_message.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_string.o roadmap_string.c In file included from roadmap_string.c:27: roadmap_string.c: In function 'roadmap_string_new': roadmap.h:58:13: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_string.c:82:7: note: in expansion of macro 'roadmap_check_allocated' 82 | roadmap_check_allocated(item); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_voice.o roadmap_voice.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_scan.o roadmap_scan.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_list.o roadmap_list.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_config.o roadmap_config.c In file included from roadmap_config.c:32: roadmap_config.c: In function 'roadmap_config_add_enumeration_value': roadmap.h:58:13: warning: 'new_value' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_config.c:249:4: note: in expansion of macro 'roadmap_check_allocated' 249 | roadmap_check_allocated(new_value); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_config.c: In function 'roadmap_config_new_file': roadmap.h:58:13: warning: 'new_config' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_config.c:619:4: note: in expansion of macro 'roadmap_check_allocated' 619 | roadmap_check_allocated (new_config = malloc (sizeof(RoadMapConfig))); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_option.o roadmap_option.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_metadata.o roadmap_metadata.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_index.o roadmap_index.c In file included from roadmap_index.c:49: roadmap_index.c: In function 'roadmap_index_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_index.c:107:4: note: in expansion of macro 'roadmap_check_allocated' 107 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_county.o roadmap_county.c In file included from roadmap_county.c:35: roadmap_county.c: In function 'roadmap_county_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_county.c:91:4: note: in expansion of macro 'roadmap_check_allocated' 91 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_osm.o roadmap_osm.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_locator.o roadmap_locator.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_math.o roadmap_math.c roadmap_math.c: In function 'roadmap_math_project': roadmap_math.c:557:26: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 557 | (abs(DistFromCenterY) + VisibleRange) ; | ^~~ roadmap_math.c: In function 'roadmap_math_screen_intersect': roadmap_math.c:1849:8: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 1849 | if (abs(a1) < abs(a2)) { | ^~~ roadmap_math.c:1849:18: warning: absolute value function 'abs' given an argument of type 'long int' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 1849 | if (abs(a1) < abs(a2)) { | ^~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_hash.o roadmap_hash.c In file included from roadmap_hash.c:44: roadmap_hash.c: In function 'roadmap_hash_new': roadmap.h:58:13: warning: 'hash' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_hash.c:66:4: note: in expansion of macro 'roadmap_check_allocated' 66 | roadmap_check_allocated(hash); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_dbread.o roadmap_dbread.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_dictionary.o roadmap_dictionary.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_square.o roadmap_square.c In file included from roadmap_square.c:37: roadmap_square.c: In function 'roadmap_square_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_square.c:73:4: note: in expansion of macro 'roadmap_check_allocated' 73 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_point.o roadmap_point.c In file included from roadmap_point.c:36: roadmap_point.c: In function 'roadmap_point_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_point.c:73:4: note: in expansion of macro 'roadmap_check_allocated' 73 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_line.o roadmap_line.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_shape.o roadmap_shape.c In file included from roadmap_shape.c:38: roadmap_shape.c: In function 'roadmap_shape_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_shape.c:88:4: note: in expansion of macro 'roadmap_check_allocated' 88 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_place.o roadmap_place.c In file included from roadmap_place.c:47: roadmap_place.h:24: warning: header guard '_ROADMAP_PLACE__H_' followed by '#define' of a different macro [-Wheader-guard] 24 | #ifndef _ROADMAP_PLACE__H_ roadmap_place.h:25: note: '_ROADMAP_PLACW__H_' is defined here; did you mean '_ROADMAP_PLACE__H_'? 25 | #define _ROADMAP_PLACW__H_ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_polygon.o roadmap_polygon.c In file included from roadmap_polygon.c:38: roadmap_polygon.c: In function 'roadmap_polygon_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_polygon.c:71:4: note: in expansion of macro 'roadmap_check_allocated' 71 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_street.o roadmap_street.c In file included from roadmap_street.c:35: roadmap_street.c: In function 'roadmap_street_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_street.c:118:4: note: in expansion of macro 'roadmap_check_allocated' 118 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_street.c: In function 'roadmap_street_zip_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_street.c:182:4: note: in expansion of macro 'roadmap_check_allocated' 182 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_street.c: In function 'roadmap_street_range_map': roadmap.h:58:13: warning: 'context' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_street.c:235:4: note: in expansion of macro 'roadmap_check_allocated' 235 | roadmap_check_allocated(context); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_plugin.o roadmap_plugin.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_geocode.o roadmap_geocode.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_history.o roadmap_history.c In file included from roadmap_history.c:31: roadmap_history.c: In function 'roadmap_history_add_entry': roadmap.h:58:13: warning: 'entry' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_history.c:115:8: note: in expansion of macro 'roadmap_check_allocated' 115 | roadmap_check_allocated(entry); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_input.o roadmap_input.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_nmea.o roadmap_nmea.c In file included from roadmap_nmea.c:37: roadmap_nmea.c: In function 'roadmap_nmea_create': roadmap.h:58:13: warning: 'account' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_nmea.c:697:4: note: in expansion of macro 'roadmap_check_allocated' 697 | roadmap_check_allocated(account); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_gpsd2.o roadmap_gpsd2.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_io.o roadmap_io.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_gps.o roadmap_gps.c roadmap_gps.c: In function 'roadmap_gps_gga': roadmap_gps.c:343:9: warning: variable 'status' set but not used [-Wunused-but-set-variable] 343 | char status; | ^~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_vii.o roadmap_vii.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_object.o roadmap_object.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_driver.o roadmap_driver.c roadmap_driver.c: In function 'roadmap_driver_configure': roadmap_driver.c:629:10: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 629 | fgets (buffer, sizeof(buffer), file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_driver.c: In function 'roadmap_driver_publish_satellites': roadmap_driver.c:208:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 208 | snprintf (id, sizeof(id), ",%02d", satellites[i].id); | ^ In file included from /usr/include/stdio.h:970, from roadmap_config.h:27, from roadmap_driver.c:35: In function 'snprintf', inlined from 'roadmap_driver_publish_satellites' at roadmap_driver.c:208:10: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 4 and 5 bytes into a destination of size 4 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_adjust.o roadmap_adjust.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_sunrise.o roadmap_sunrise.c roadmap_sunrise.c: In function 'roadmap_moonposition': roadmap_sunrise.c:212:59: warning: variable 'E_ErrorBefore' set but not used [-Wunused-but-set-variable] 212 | double xh,yh,zh,Iterations,E_error,Ebeforeit,Eafterit,E_ErrorBefore; | ^~~~~~~~~~~~~ roadmap_sunrise.c:212:50: warning: variable 'Eafterit' set but not used [-Wunused-but-set-variable] 212 | double xh,yh,zh,Iterations,E_error,Ebeforeit,Eafterit,E_ErrorBefore; | ^~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_state.o roadmap_state.c In file included from roadmap_state.c:33: roadmap_state.c: In function 'roadmap_state_add': roadmap.h:58:13: warning: 'object' may be used uninitialized [-Wmaybe-uninitialized] 58 | roadmap_check_allocated_with_source_line(__FILE__,__LINE__,p) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_state.c:59:4: note: in expansion of macro 'roadmap_check_allocated' 59 | roadmap_check_allocated(object); | ^~~~~~~~~~~~~~~~~~~~~~~ roadmap.h:98:6: note: by argument 3 of type 'const void *' to 'roadmap_check_allocated_with_source_line' declared here 98 | void roadmap_check_allocated_with_source_line | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_gpx.o roadmap_gpx.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_linefont.o roadmap_linefont.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_lang.o roadmap_lang.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_iso.o roadmap_iso.c ar "rf" libroadmap.a roadmap_log.o roadmap_message.o roadmap_string.o roadmap_voice.o roadmap_scan.o roadmap_list.o roadmap_config.o roadmap_option.o roadmap_metadata.o roadmap_index.o roadmap_county.o roadmap_osm.o roadmap_locator.o roadmap_math.o roadmap_hash.o roadmap_dbread.o roadmap_dictionary.o roadmap_square.o roadmap_point.o roadmap_line.o roadmap_shape.o roadmap_place.o roadmap_polygon.o roadmap_street.o roadmap_plugin.o roadmap_geocode.o roadmap_history.o roadmap_input.o roadmap_nmea.o roadmap_gpsd2.o roadmap_io.o roadmap_gps.o roadmap_vii.o roadmap_object.o roadmap_driver.o roadmap_adjust.o roadmap_sunrise.o roadmap_state.o roadmap_gpx.o roadmap_linefont.o roadmap_lang.o roadmap_iso.o ar: creating libroadmap.a ranlib libroadmap.a gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_sprite.o roadmap_sprite.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_trip.o roadmap_trip.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_track.o roadmap_track.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_landmark.o roadmap_landmark.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_features.o roadmap_features.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -ffast-math -I/usr/include/libshp -O -DNDEBUG -fomit-frame-pointer -W -Wall -Wno-unused-parameter -Wcast-align -Wreturn-type -Wsign-compare -DROADMAP_USES_EXPAT -DROADMAP_USE_SHAPEFILES -I. -I/usr/local/include -D_TXT=\"\" -D_EXE=\"\" -c -o roadmap_layer.o roadmap_layer.c roadmap_layer.c:164:51: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const char *)' [-Wincompatible-pointer-types] 164 | {"Color", ROADMAP_STYLE_TYPE_STRING, "#000000", roadmap_canvas_set_foreground}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_layer.c:164:51: note: (near initialization for 'RoadMapLayerPenSetupTable[0].callback') In file included from roadmap_layer.c:36: roadmap_canvas.h:93:6: note: 'roadmap_canvas_set_foreground' declared here 93 | void roadmap_canvas_set_foreground (const char *color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_layer.c:165:44: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const char *)' [-Wincompatible-pointer-types] 165 | {"Style", ROADMAP_STYLE_TYPE_STRING, "", roadmap_canvas_set_linestyle}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_layer.c:165:44: note: (near initialization for 'RoadMapLayerPenSetupTable[1].callback') roadmap_canvas.h:97:6: note: 'roadmap_canvas_set_linestyle' declared here 97 | void roadmap_canvas_set_linestyle (const char *style); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_layer.c: In function 'roadmap_layer_load_file': roadmap_layer.c:851:20: error: too many arguments to function 'RoadMapLayerPenSetupTable[j].callback'; expected 0, have 1 851 | RoadMapLayerPenSetupTable[j].callback(ivalues[pen_index][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ In file included from roadmap_layer.c:40: roadmap_layer.h:72:11: note: declared here 72 | void (*callback) (); | ^~~~~~~~ roadmap_layer.c:856:20: error: too many arguments to function 'RoadMapLayerPenSetupTable[j].callback'; expected 0, have 1 856 | RoadMapLayerPenSetupTable[j].callback((const char *)svalues[pen_index][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roadmap_layer.h:72:11: note: declared here 72 | void (*callback) (); | ^~~~~~~~ make: *** [: roadmap_layer.o] Error 1 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/roadmap-1.2.1-build/roadmap-1.2.1/src' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9RMF42 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9RMF42 (%build) I: [iurt_root_command] ERROR: chroot