fix Gdk::RGBA test for 3.24
- gtkmm 3.24.7 or 3.24.8
- Debian Unstable and Ubuntu 23.10
Sometime within the past year, the gtkmm 3.24 build test began failing on Debian and Ubuntu's i386 (also the obscure hurd-i386) but passes on other architectures.
This doesn't happen with gtkmm4 4.10. I am suggesting cherry-picking patches from gtkmm4 which can fix this issue. (For the third patch from Kjell, I only cherry-picked the changes to the one test file; it is part of a commit that makes several changes to other files. Otherwise, the cherry-picks are unchanged.)
Build log excerpt
==================================== 1/2 =====================================
test: gdk_rgba_test
start time: 20:17:50
duration: 0.03s
result: killed by signal 6 SIGABRT
command: MALLOC_PERTURB_=185 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/obj-i686-linux-gnu/gdk/gdkmm
/<<PKGBUILDDIR>>/obj-i686-linux-gnu/tests/gdk_rgba_test
----------------------------------- stdout -----------------------------------
Bail out! ERROR:../tests/gdk_rgba/main.cc:49:int main(): 'rgba == rgba2' should be TRUE
----------------------------------- stderr -----------------------------------
**
ERROR:../tests/gdk_rgba/main.cc:49:int main(): 'rgba == rgba2' should be TRUE
Build log
Click Maybe-Successful
or Maybe-Failed
at
https://buildd.debian.org/status/logs.php?pkg=gtkmm3.0&arch=i386