Re: Fwd: Bug#1111952: goffice: fails to build from source on ppc64

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <684e39310f40d9e51a07279b4c0f733a480a499a.camel@physik.fu-berlin.de>
Hello Jeroen,

On Sun, 2025-08-24 at 16:44 +0700, Jeroen Diederen wrote:
> The source package goffice does not build from source on ppc64. To make 
> it build I added ppc64 in debian/rules:
> 
> ---
> 
> override_dh_auto_test:
> 	## https://bugzilla.gnome.org/show_bug.cgi?id=748504
> ifeq ($(DEB_BUILD_ARCH),$(filter $(DEB_BUILD_ARCH),powerpc ppc64el 
> ppc64))
> 	@echo "======== will not abort on test(s) failure ========"
> 	-dh_auto_test
> else
> 	dh_auto_test
> endif
> 
> ---
> 
> The source is then built successfully on ppc64.
> 
> The binary libgoffice-0.10-dev from this source is important for the 
> build of gnumeric which couldn't be built on ppc64 for a very long time.
> 
> Please fix.

Disabling the testsuite isn't really a fix, just a workaround which can cause
the package to cause crashes on the end user system. A proper fix would be
investigating and fixing why the testsuite is failing.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.