Bug#972911: qgis FTBFS on mips64el: Error: branch out of range

Adrian Bunk bunk at debian.org
Mon Oct 26 08:39:43 GMT 2020


Source: qgis
Version: 3.10.10+dfsg-2
Severity: important
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=qgis&arch=mips64el&ver=3.10.10%2Bdfsg-2&stamp=1601904954&raw=0

...
/tmp/ccLkxCZE.s: Assembler messages:
/tmp/ccLkxCZE.s:245345: Error: branch out of range
/tmp/ccLkxCZE.s:245576: Error: branch out of range
/tmp/ccLkxCZE.s:245806: Error: branch out of range
/tmp/ccLkxCZE.s:246049: Error: branch out of range
...


Fix:

--- debian/rules.old	2020-10-25 16:02:03.055562251 +0000
+++ debian/rules	2020-10-25 16:03:48.705244204 +0000
@@ -191,6 +191,10 @@
 	CXXFLAGS += -DNDEBUG
 endif
 
+ifeq ($(DEB_BUILD_ARCH),mips64el)
+	CXXFLAGS += -mxgot
+endif
+
 %:
 	dh $@ --with pkgkde_symbolshelper,python3 --builddirectory=$(QGIS_BUILDDIR)
 



More information about the Pkg-grass-devel mailing list