Bug#949025: sfcgal: please use -O2 on ppc64el
Gianfranco Costamagna
locutusofborg at debian.org
Thu Jan 16 08:22:58 GMT 2020
Source: sfcgal
Version: 1.3.7-4
Severity: important
Tags: patch
Hello, looks like on ppc64el the package is FTBFS when built with -O3.
Forcing -O2 fixes the build
this is what might be a trivial patch
diff -Nru sfcgal-1.3.7/debian/rules sfcgal-1.3.7/debian/rules
--- sfcgal-1.3.7/debian/rules 2019-12-06 10:25:08.000000000 +0100
+++ sfcgal-1.3.7/debian/rules 2020-01-15 10:24:59.000000000 +0100
@@ -13,7 +13,7 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# reduce debug info to fix FTBFS on archs with few address space
-ifneq (,$(filter $(DEB_HOST_ARCH),arm64 mips mipsel))
+ifneq (,$(filter $(DEB_HOST_ARCH),arm64 armhf mips mipsel ppc64el))
CMAKECXXFLAGS="-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=' -O2 -g1 -DNDEBUG'"
endif
thanks for considering it!
Gianfranco
More information about the Pkg-grass-devel
mailing list