Package: gimp
Version: 3.0.0~RC1-1
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-ri...@lists.debian.org
User: debian-ri...@lists.debian.org
Usertags: riscv64

Dear maintainer,

gimp in experimental fails to build from source on riscv64 due to a
testsuite timeout:

| Summary of Failures:
| 
|  9/20 gimp:libgimp+python3 / export-options  TIMEOUT        60.09s   killed 
by signal 15 SIGTERM
| 10/20 gimp:libgimp+python3 / color-parser    TIMEOUT        60.23s   killed 
by signal 15 SIGTERM
| 11/20 gimp:libgimp+C / color-parser          TIMEOUT        60.22s   killed 
by signal 15 SIGTERM
| 12/20 gimp:libgimp+C / export-options        TIMEOUT        60.08s   killed 
by signal 15 SIGTERM
| 13/20 gimp:libgimp+python3 / image           TIMEOUT        60.21s   killed 
by signal 15 SIGTERM
| 14/20 gimp:libgimp+python3 / palette         TIMEOUT        60.17s   killed 
by signal 15 SIGTERM
| 15/20 gimp:libgimp+C / image                 TIMEOUT        60.21s   killed 
by signal 15 SIGTERM
| 16/20 gimp:libgimp+C / palette               TIMEOUT        60.08s   killed 
by signal 15 SIGTERM
| 17/20 gimp:libgimp+python3 / unit            TIMEOUT        60.15s   killed 
by signal 15 SIGTERM
| 18/20 gimp:libgimp+C / selection-float       TIMEOUT        60.19s   killed 
by signal 15 SIGTERM
| 19/20 gimp:libgimp+python3 / selection-float TIMEOUT        60.27s   killed 
by signal 15 SIGTERM
| 20/20 gimp:libgimp+C / unit                  TIMEOUT        60.08s   killed 
by signal 15 SIGTERM
| 
| Ok:                 5   
| Expected Fail:      0   
| Fail:               0   
| Unexpected Pass:    0   
| Skipped:            3   
| Timeout:            12  
| dh_auto_test: error: cd obj-riscv64-linux-gnu && 
DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 meson test 
returned exit code 12
| make: *** [debian/rules:14: binary-arch] Error 25
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=gimp&arch=riscv64&ver=3.0.0%7ERC1-1&stamp=1732222375&raw=0

The above tests indeed takes a bit longer than one minute on the riscv64
build dameons, up to 195 seconds for the longest. The following patch,
using the --timeout-multiplier option of meson fixes the issue:

--- gimp-3.0.0~RC1/debian/rules
+++ gimp-3.0.0~RC1/debian/rules
@@ -29,3 +29,6 @@
 
 override_dh_makeshlibs:
        dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/gimp/3.0/modules -- -c4
+
+override_dh_auto_test:
+       dh_auto_test -- --timeout-multiplier 4

Regards
Aurelien

Reply via email to