d4811802ac
osm2pgsql doesn't support fmt > 8.0 yet resulting in the following build
failure since bump of fmt to version 8.1.1 in commit
ec7fd50d08
:
/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/fmt/core.h:1728:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
1728 | formattable,
| ^~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/5af1a0ea176559a5dc787ba945a3a83823f5b1bb
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_OSM2PGSQL
|
|
bool "osm2pgsql"
|
|
depends on BR2_INSTALL_LIBSTDCPP # boost, libosmium, protozero
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium
|
|
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
|
|
depends on BR2_USE_WCHAR # boost, libosmium
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
|
|
select BR2_PACKAGE_BOOST
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
select BR2_PACKAGE_BOOST_FILESYSTEM
|
|
select BR2_PACKAGE_BZIP2
|
|
select BR2_PACKAGE_EXPAT
|
|
select BR2_PACKAGE_LIBOSMIUM
|
|
select BR2_PACKAGE_PROTOZERO
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
osm2pgsql is a tool for loading OpenStreetMap data into a
|
|
PostgreSQL / PostGIS database suitable for applications like
|
|
rendering into a map, geocoding with Nominatim,
|
|
or general analysis.
|
|
|
|
https://osm2pgsql.org
|
|
|
|
comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
|
|
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
comment "osm2pgsql needs a toolchain not affected by GCC bug 64735"
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|