Skip to contentSkip to conversation

package/osm2pgsql: only supports 64 bits

PATCH Applied Fabrice Fontaine 3 participants 4 messages Mar 17, 2024 – Mar 23, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/osm2pgsql: only supports 64 bits

osm2pgsql only supports 64 bits architectures since bump to version 1.10.0 in commit e056aeeca9cf8c00c6da62c39979ce6c55c92791 and
https://github.com/osm2pgsql-dev/osm2pgsql/commit/389904269a1b1f246641d203abadfcd5cebb97cc
resulting in the following build failure with arm:

CMake Error at CMakeLists.txt:20 (message):
osm2pgsql needs a 64 bit architecture

Fixes e056aeeca9cf8c00c6da62c39979ce6c55c92791

- http://autobuild.buildroot.org/results/30c2675a732fd810c68dffbb6483f9cf8e4fcbf3

---
Changes v1 -> v2 (after review of Arnout Vandecappelle):
- Use BR2_ARCH_IS_64

 package/osm2pgsql/Config.in | 3 +++
 1 file changed, 3 insertions(+)
package/osm2pgsql/Config.in +3 -0
index c6a38f3180..439309df95 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_OSM2PGSQL
 	bool "osm2pgsql"
+	depends on BR2_ARCH_IS_64
 	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
@@ -24,9 +25,11 @@ config BR2_PACKAGE_OSM2PGSQL
 	  https://osm2pgsql.org
 
 comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+	depends on BR2_ARCH_IS_64
 	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_ARCH_IS_64
 	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by Maxim Kochetkov on v2 1/1
#1 lore raw

18.03.2024 01:00, Fabrice Fontaine пишет:

Quoted 5 lines

osm2pgsql only supports 64 bits architectures since bump to version 1.10.0 in commit e056aeeca9cf8c00c6da62c39979ce6c55c92791 and
https://github.com/osm2pgsql-dev/osm2pgsql/commit/389904269a1b1f246641d203abadfcd5cebb97cc
resulting in the following build failure with arm:

Quoted 7 lines

CMake Error at CMakeLists.txt:20 (message):
osm2pgsql needs a 64 bit architecture

Fixes e056aeeca9cf8c00c6da62c39979ce6c55c92791

- http://autobuild.buildroot.org/results/30c2675a732fd810c68dffbb6483f9cf8e4fcbf3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Fabrice Fontaine
Quoted 5 lines · Fabrice Fontaine

osm2pgsql only supports 64 bits architectures since bump to version 1.10.0 in commit e056aeeca9cf8c00c6da62c39979ce6c55c92791 and
https://github.com/osm2pgsql-dev/osm2pgsql/commit/389904269a1b1f246641d203abadfcd5cebb97cc
resulting in the following build failure with arm:

Quoted 7 lines

CMake Error at CMakeLists.txt:20 (message):
osm2pgsql needs a 64 bit architecture

Fixes e056aeeca9cf8c00c6da62c39979ce6c55c92791

- http://autobuild.buildroot.org/results/30c2675a732fd810c68dffbb6483f9cf8e4fcbf3

Applied to master, thanks.

Regards,
Arnout

Quoted 20 lines

---
Changes v1 -> v2 (after review of Arnout Vandecappelle):
- Use BR2_ARCH_IS_64

  package/osm2pgsql/Config.in | 3 +++
  1 file changed, 3 insertions(+)
package/osm2pgsql/Config.in +1 -0
index c6a38f3180..439309df95 100644
@@ -1,5 +1,6 @@
  config BR2_PACKAGE_OSM2PGSQL
  	bool "osm2pgsql"
+	depends on BR2_ARCH_IS_64
  	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
@@ -24,9 +25,11 @@ config BR2_PACKAGE_OSM2PGSQL
  	  https://osm2pgsql.org

package/osm2pgsql/Config.in config BR2_PACKAGE_OSM2PGSQL · line 35

Quoted 10 lines
package/osm2pgsql/Config.in +2 -0
 
  comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+	depends on BR2_ARCH_IS_64
  	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_ARCH_IS_64
  	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Fabrice Fontaine
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

osm2pgsql only supports 64 bits architectures since bump to version 1.10.0 in commit e056aeeca9cf8c00c6da62c39979ce6c55c92791 and
https://github.com/osm2pgsql-dev/osm2pgsql/commit/389904269a1b1f246641d203abadfcd5cebb97cc
resulting in the following build failure with arm:

CMake Error at CMakeLists.txt:20 (message):
osm2pgsql needs a 64 bit architecture

Quoted 7 lines
Fixes e056aeeca9cf8c00c6da62c39979ce6c55c92791

- http://autobuild.buildroot.org/results/30c2675a732fd810c68dffbb6483f9cf8e4fcbf3

---
Changes v1 -> v2 (after review of Arnout Vandecappelle):
- Use BR2_ARCH_IS_64

Committed to 2024.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot