Bug#1037812: osm2pgsql: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:29:48 BST 2023
Package: src:osm2pgsql
Version: 1.8.0+ds-1
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/osm2pgsql_1.8.0+ds-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html
[...]
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/osmdata.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/osmdata.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/osmdata.cpp.o -c /<<PKGBUILDDIR>>/src/osmdata.cpp
[ 37%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/output-gazetteer.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/output-gazetteer.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/output-gazetteer.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/output-gazetteer.cpp.o -c /<<PKGBUILDDIR>>/src/output-gazetteer.cpp
[ 39%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/output-null.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/output-null.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/output-null.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/output-null.cpp.o -c /<<PKGBUILDDIR>>/src/output-null.cpp
[ 41%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/output-pgsql.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/output-pgsql.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/output-pgsql.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/output-pgsql.cpp.o -c /<<PKGBUILDDIR>>/src/output-pgsql.cpp
[ 43%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/output.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/output.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/output.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/output.cpp.o -c /<<PKGBUILDDIR>>/src/output.cpp
[ 45%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/pgsql.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/pgsql.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/pgsql.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/pgsql.cpp.o -c /<<PKGBUILDDIR>>/src/pgsql.cpp
[ 47%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/pgsql-capabilities.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/pgsql-capabilities.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/pgsql-capabilities.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/pgsql-capabilities.cpp.o -c /<<PKGBUILDDIR>>/src/pgsql-capabilities.cpp
[ 49%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/pgsql-helper.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/pgsql-helper.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/pgsql-helper.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/pgsql-helper.cpp.o -c /<<PKGBUILDDIR>>/src/pgsql-helper.cpp
[ 50%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/progress-display.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/progress-display.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/progress-display.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/progress-display.cpp.o -c /<<PKGBUILDDIR>>/src/progress-display.cpp
[ 52%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/reprojection.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/reprojection.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/reprojection.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/reprojection.cpp.o -c /<<PKGBUILDDIR>>/src/reprojection.cpp
[ 54%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/table.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/table.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/table.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/table.cpp.o -c /<<PKGBUILDDIR>>/src/table.cpp
[ 56%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/taginfo.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/taginfo.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/taginfo.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/taginfo.cpp.o -c /<<PKGBUILDDIR>>/src/taginfo.cpp
[ 58%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/tagtransform-c.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/tagtransform-c.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/tagtransform-c.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/tagtransform-c.cpp.o -c /<<PKGBUILDDIR>>/src/tagtransform-c.cpp
[ 60%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/tagtransform.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/tagtransform.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/tagtransform.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/tagtransform.cpp.o -c /<<PKGBUILDDIR>>/src/tagtransform.cpp
[ 62%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/tile.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/tile.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/tile.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/tile.cpp.o -c /<<PKGBUILDDIR>>/src/tile.cpp
[ 64%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/thread-pool.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/thread-pool.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/thread-pool.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/thread-pool.cpp.o -c /<<PKGBUILDDIR>>/src/thread-pool.cpp
[ 66%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/util.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/util.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/util.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/util.cpp.o -c /<<PKGBUILDDIR>>/src/util.cpp
[ 67%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/wildcmp.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/wildcmp.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/wildcmp.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/wildcmp.cpp.o -c /<<PKGBUILDDIR>>/src/wildcmp.cpp
[ 69%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/wkb.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/wkb.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/wkb.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/wkb.cpp.o -c /<<PKGBUILDDIR>>/src/wkb.cpp
[ 71%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/flex-index.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DDEFAULT_STYLE=\"/usr/share/osm2pgsql/default.style\" -DHAVE_GENERIC_PROJ=6 -DHAVE_LUA=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -isystem /<<PKGBUILDDIR>>/contrib/fmt/include -isystem /usr/include/lua5.3 -isystem /usr/include/postgresql -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++17 -MD -MT src/CMakeFiles/osm2pgsql_lib.dir/flex-index.cpp.o -MF CMakeFiles/osm2pgsql_lib.dir/flex-index.cpp.o.d -o CMakeFiles/osm2pgsql_lib.dir/flex-index.cpp.o -c /<<PKGBUILDDIR>>/src/flex-index.cpp
In file included from /<<PKGBUILDDIR>>/src/flex-index.cpp:10:
/<<PKGBUILDDIR>>/src/flex-index.hpp:74:25: error: ‘uint8_t’ has not been declared
74 | void set_fillfactor(uint8_t fillfactor)
| ^~~~~~~
/<<PKGBUILDDIR>>/src/flex-index.hpp:95:5: error: ‘uint8_t’ does not name a type
95 | uint8_t m_fillfactor = 0;
| ^~~~~~~
/<<PKGBUILDDIR>>/src/flex-index.hpp:17:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
16 | #include <vector>
+++ |+#include <cstdint>
17 |
/<<PKGBUILDDIR>>/src/flex-index.hpp: In member function ‘void flex_index_t::set_fillfactor(int)’:
/<<PKGBUILDDIR>>/src/flex-index.hpp:79:9: error: ‘m_fillfactor’ was not declared in this scope; did you mean ‘fillfactor’?
79 | m_fillfactor = fillfactor;
| ^~~~~~~~~~~~
| fillfactor
/<<PKGBUILDDIR>>/src/flex-index.cpp: In member function ‘std::string flex_index_t::create_index(const std::string&) const’:
/<<PKGBUILDDIR>>/src/flex-index.cpp:50:9: error: ‘m_fillfactor’ was not declared in this scope; did you mean ‘set_fillfactor’?
50 | if (m_fillfactor != 0) {
| ^~~~~~~~~~~~
| set_fillfactor
make[3]: *** [src/CMakeFiles/osm2pgsql_lib.dir/build.make:597: src/CMakeFiles/osm2pgsql_lib.dir/flex-index.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:147: src/CMakeFiles/osm2pgsql_lib.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-grass-devel
mailing list