#1088168 gimp 3 FTBFS on s390x

Package:
src:gimp
Source:
src:gimp
Submitter:
Jeremy Bícha
Date:
2026-07-10 05:21:02 UTC
Severity:
normal
Tags:
#1088168#5
Date:
2024-11-24 13:51:04 UTC
From:
To:
gimp 3.0.0~RC1 fails to build on s390x because of a timeout during the build.

Earlier this year, 2.99.18 completed the build stage successfully on
s390x (but had some issues with running the build tests later). The
gimp developers say there were 1892 commits between 2.99.18 and 3.0.0
RC1. And I haven't verified whether 2.99.18 continues to be buildable
on s390x.

I have tried these in my Ubuntu 25.04 PPA:
- moving the documentation build to arch: all since the initial
timeout appeared to happen there. That didn't make a difference (but
I've pushed that change to Salsa anyway).
- setting dh_auto_build --no-parallel

I did not get good error information since something just hangs (times
out) instead of giving a specific error.

It hung at:
[2560/2581] cc  -o app-tools/gimp-debug-tool-3.0

so I tried disabling the app-tools build and then it hung on the previous step:
[2558/2579] c++  -o app/gimp-3.0 app/gimp-3.0.p/main.c.o

I am strongly leaning towards removing gimp on s390x soon to allow
other Debian users to use gimp 3 for Debian Trixie.

Thank you,
Jeremy Bícha

#1088168#18
Date:
2025-12-14 19:45:59 UTC
From:
To:
I'm retitling this bug since gimp 3.0.6 fails in a similar way on the
other big-endian architectures, ppc64 and sparc64. powerpc is also
big-endian but its build tests fail before this point.

m68k is also big-endian but doesn't hit this failure. I don't know
why. Skipping dh_auto_test on s390x is not enough to avoid this
failure.

I'm setting Build-Depends: architecture-is-little-endian now. The only
architecture-independent reverse build dependency is gimp-texturize
which wouldn't be useful without gimp. gimp 3 only built on m68k for
the first time today after I fixed a blocker in gegl. It seems less
wasteful to have builds knowingly hang for hours. It's easy to remove
that Build-Depends restriction and do a test build in an Ubuntu PPA if
someone wants to check if the failure is fixed in a newer gimp
version.

Thank you,
Jeremy Bícha

#1088168#25
Date:
2025-12-16 04:17:31 UTC
From:
To:
I added back the m68k build of gimp.

Thank you,
Jeremy Bícha

#1088168#30
Date:
2026-07-09 14:15:14 UTC
From:
To:
Hi Jeremy,

I have raised a MR which addresses this issue:
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2899

Thanks,
Pranav

#1088168#33
Date:
2026-07-10 05:00:47 UTC
From:
To:
Hello,

Bug #1088168 in gimp reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/extras/gimp/-/commit/4ced3d14bf670b42302bd385a9a11706c2fdd061
------------------------------------------------------------------------
Cherry-pick proposed patch to fix big-endian build

Closes: #1088168
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1088168

#1088168#40
Date:
2026-07-10 05:19:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gimp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1088168@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated gimp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 09 Jul 2026 18:32:48 +0200
Source: gimp
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 3.2.4-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Extras Maintainers <pkg-gnome-extras-maintainers@lists.alioth.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1088168
Changes:
 gimp (3.2.4-3) unstable; urgency=medium
 .
   * Cherry-pick proposed patch to fix big-endian build (Closes: #1088168)
   * Revert "Only build for little endian"
Checksums-Sha1:
 97644c58ab62f6a6824f4776391363109202c57d 3901 gimp_3.2.4-3.dsc
 3291da39e3e69170ed847580770b3d77540bd460 67120 gimp_3.2.4-3.debian.tar.xz
 399f1f9bdf7e7b6ccc59450fd35bc8daf11796cf 11624 gimp_3.2.4-3_source.buildinfo
Checksums-Sha256:
 7df3ee728b67b797113ed1a2047142e39d153bb485823ed24b06cecfe7fea950 3901 gimp_3.2.4-3.dsc
 cd8aa7fe2003cc18fc48bcd5b42d33e43ca6a68fcddefec4bacb42a9733ec898 67120 gimp_3.2.4-3.debian.tar.xz
 6908be69ea2a5e45d76867f1445ce08a225d712bf54e9eb4ad06308015cba90e 11624 gimp_3.2.4-3_source.buildinfo
Files:
 db7234f8153b66fd5d09549346e20bab 3901 graphics optional gimp_3.2.4-3.dsc
 a233e913914930d8f397835284ac39e7 67120 graphics optional gimp_3.2.4-3.debian.tar.xz
 afe2d8b0b0d55f32253c051281ab3697 11624 graphics optional gimp_3.2.4-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmpQfHgACgkQ5mx3Wuv+
bH1NNg//XaOKBNAswgCbQGZCL7gvOia9ZbSoabMxkUG9WkmYmJG7mSp+uNXMC4Fn
u0unVYbNDISzSGMj4tq69luff9OWMj9L5MUzjStJaQdfrDJ2+UbP8lor7HgVFJsg
oW2deC+5v/Z4p/iQDas3xGw239fZ2CNBRjBwcyxtGcnadYWW3QxIeRKIfmXFpp6t
XNIv+1Fby+yEKIyagO0Wzs9GgW+Zje+A2b28+JwLMrJRLjBtC5EKFKjFUGIbWDV3
CZ4N24pMPNd7AUr3hPzVH9qfaf1OISDHr7MlXHT8PRv6KOu8YbHeFWWEeKcBiCCh
C18hWzU5k90yFEA77IA9O/r0cOS6zlQpBqS+E3yQOj3xvxzB3aXKMkjZSZJnaFgA
F8g2xE3Uz/DtjufaO6V0rl3h9YrS6JpTC5YZ+hbILMobJSWaPo+11ccGNMgdFFyR
3tb8/nfMUzvdl6o9gb1dH2khQLR6uERfH+zry0l9WADVmYsVA9MSvrC+3c05+0V4
mL7y1r/5vAbBaGJTrM6/LCNnzleuO8xmLWVqDxPWy5gGz/+k9bNgXMm8XVuolVvB
462PfjcdBZ9FcrmhS2k8VJjF+N+syyoy6AxGamM8Mc5B0Vwnxb7BpHnp6aEff/ix
ptGox+u3RMQ/iLUcDsW0GBFWToTm+tUYg5weV+yxh7eRrpoXV6g=
=wMh0
-----END PGP SIGNATURE-----