Your message dated Mon, 16 Nov 2026 13:50:06 +0000
with message-id <[email protected]>
and subject line Bug#1150703: fixed in gegl 1:0.4.72-3
has caused the Debian Bug report #1150703,
regarding gegl: FTBFS on ppc64el due to format_sensing test failure with GCC 15
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1150703: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150703
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gegl
Version: 1:0.4.72-2
Severity: important
Tags: patch
Forwarded: https://gitlab.gnome.org/GNOME/gegl/-/issues/480
Dear Maintainer,
gegl 1:0.4.72-2 fails to build from source on ppc64el when built with GCC 15
due to format_sensing test failure:
ERROR: ../tests/simple/format-sensing.c:166:test_format_sensing:
assertion failed: (babl_format_has_alpha (format))
FAIL: tests/simple/format-sensing 1/1 FAIL 0.05s (exit status: 133 or signal
5 SIGTRAP)
GCC 15 on ppc64el miscompiles the union-based bitwise sign-clearing helper
(int_fabsf)
in operations/common/opacity.c, gegl/gegl-math.h, and
gegl/buffer/gegl-sampler-cubic.c.
On ppc64el, the mask load is corrupted, causing int_fabsf(value - 1.0f) <=
EPSILON
to evaluate to true for value = 0.5f. This bypasses the format conversion in
gegl:opacity and breaks format_sensing.
Replacing the union type-punning hacks with __builtin_fabsf / __builtin_fabs
fixes
the issue and compiles directly to the hardware 'fabs' instruction on PowerPC.
Upstream issue: https://gitlab.gnome.org/GNOME/gegl/-/issues/480
Ubuntu tracking bug: https://bugs.launchpad.net/ubuntu/+source/gegl/+bug/2168951
Please find attached the patch.
Regards,
Viktor Pashaiev
Description: Use compiler builtins for absolute float/double in gegl-math and opacity
Replace union bitwise float sign-bit clearing hacks with __builtin_fabsf
and __builtin_fabs. The union type-punning hack is miscompiled by GCC 15 on
ppc64el, resulting in format_sensing test failures in gegl:opacity.
Author: Viktor Pashaiev <[email protected]>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gegl/+bug/2168951
Forwarded: https://gitlab.gnome.org/GNOME/gegl/-/issues/480
Last-Update: 2026-10-12
--- a/gegl/gegl-math.h
+++ b/gegl/gegl-math.h
@@ -25,22 +25,12 @@
static inline float gegl_fabsf (float x)
{
- union {
- float f;
- guint32 i;
- } u = {x};
- u.i &= 0x7fffffff;
- return u.f;
+ return __builtin_fabsf (x);
}
static inline double gegl_fabs (double x)
{
- union {
- double d;
- guint64 i;
- } u = {x};
- u.i &= 0x7fffffffffffffff;
- return u.d;
+ return __builtin_fabs (x);
}
static inline float gegl_floorf (float x)
--- a/operations/common/opacity.c
+++ b/operations/common/opacity.c
@@ -56,9 +56,7 @@
static inline gfloat int_fabsf (const gfloat x)
{
- union {gfloat f; guint32 i;} u = {x};
- u.i &= 0x7fffffff;
- return u.f;
+ return __builtin_fabsf (x);
}
static void
--- a/gegl/buffer/gegl-sampler-cubic.c
+++ b/gegl/buffer/gegl-sampler-cubic.c
@@ -283,9 +283,7 @@
static inline gfloat int_fabsf (const gfloat x)
{
- union {gfloat f; guint32 i;} u = {x};
- u.i &= 0x7fffffff;
- return u.f;
+ return __builtin_fabsf (x);
}
static inline gfloat
--- End Message ---
--- Begin Message ---
Source: gegl
Source-Version: 1:0.4.72-3
Done: Jeremy Bícha <[email protected]>
We believe that the bug you reported is fixed in the latest version of
gegl, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeremy Bícha <[email protected]> (supplier of updated gegl 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 16 Nov 2026 14:34:48 +0100
Source: gegl
Built-For-Profiles: derivative.ubuntu noudeb
Architecture: source
Version: 1:0.4.72-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Extras Maintainers
<[email protected]>
Changed-By: Jeremy Bícha <[email protected]>
Closes: 1150703
Launchpad-Bugs-Fixed: 2168951
Changes:
gegl (1:0.4.72-3) unstable; urgency=medium
.
* Cherry-pick patch to fix build for Ubuntu ppc64el with gcc-15
(Closes: #1150703) (LP: #2168951)
Checksums-Sha1:
d061e7b2a3a9248f89d02b7bddefd23e52b7077a 3043 gegl_0.4.72-3.dsc
0c5315ef882f2f30c19a4f6b598637aa79dd58d7 28472 gegl_0.4.72-3.debian.tar.xz
95425272f1b2aa49ac05be7a57acefcc916772f1 8568 gegl_0.4.72-3_source.buildinfo
Checksums-Sha256:
d750476ca7447219692fe4edf28644525f65580e81e10ed0c494a8fbd2c6fff3 3043
gegl_0.4.72-3.dsc
5b8b18d3787421c4e433229a20c3672be77ab2526e85d9a8c7a3df1882761ed1 28472
gegl_0.4.72-3.debian.tar.xz
7020a840118d9d5eccd6b799832053ac6edfbc4c7dc78a1816bd6d14257016fc 8568
gegl_0.4.72-3_source.buildinfo
Files:
50803f190547c482aa61cb6e3da82467 3043 devel optional gegl_0.4.72-3.dsc
1faa57943384aa8dfcb08fa9f57b468a 28472 devel optional
gegl_0.4.72-3.debian.tar.xz
a2765a5d027f461aa0d0c9c5b857a3cd 8568 devel optional
gegl_0.4.72-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmr7BuAACgkQ5mx3Wuv+
bH0HpxAAyKrRbi2WwsNuZuVwC00N4PZ8xPjbd9PVNfCLjp3StV3+vkkPlCNVXkjv
bUUoM+Y5m/AKJV+/cxf4jbAO35WhG/ym9cA2bb+wIGEtYIfidhi2NfToPSfTMttz
/lAJkPvWmruISRmH4cdHSoRFD5UmTPqp4IKi4OBl9w40ybONNtmxaS6UlGsX8/mW
TI3NpYSi18hfOHsSBVMai2FOLtLQ3uuMs4ji8alqPB3mOtrUXfL1Fo/T+Fg3eqwh
IyVjFjUQmtAxJdCbs03mkHVDxMTzupJvhH32Ln9PGtaSVwN9UBGdhR0Dzc+RlxVG
YcKp/tegJOrGkasDL8LWGaCKRjtuYsnue+zbi3ymEWaZAXeJB6GAKmaIKyPXwuaM
LlEBA4JgWK0u7/HbzaX/UP/98IaAhbZM2oj1DJlZhXjAsRGYLM2btjcXD2+My2ao
ecJb2oDzUgKmnJBKYoF4kJofbiQPkxsyVf3XnmY/FSWQg0c/ZYWPvO4QhzcE/BrL
wTgrMYT3jG6CDNuraz07rVwcRkgfM3WBEa/7iDVOJ6obHyodyFwvXBnF05Q1OOQJ
B6kwyRNwHbN+NHDoBGZ5NJay+5FoOxyJ921J4PRj2utz8uvJSm8d4tm9p9eymhpl
aO6xWiFw//bUQ1Nd11EOOLVDATOOeIiMVliAu7EFsjCLbuEa7Rc=
=dV4X
-----END PGP SIGNATURE-----
pgpqKlXJ2PUFY.pgp
Description: PGP signature
--- End Message ---