• Bug#1102073: tiff: FTBFS: TIFFOpen: o-tiffcp-32bpp-None-jpeg-YCbCr.tiff

    From Santiago Vila@21:1/5 to All on Fri Apr 4 18:00:01 2025
    This is a multi-part message in MIME format.
    Package: src:tiff
    Version: 4.7.0-2
    Severity: serious
    Tags: ftbfs trixie sid patch

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    [ please read the notes at the end ]

    --------------------------------------------------------------------------------
    [...]
    FAIL: tiffcp-32bpp-None-jpeg.sh
    ===============================

    /<<PKGBUILDDIR>>/tools/tiffcp -c jpeg ./images/32bpp-None-jpeg.tiff o-tiffcp-32bpp-None-jpeg-YCbCr.tiff
    /<<PKGBUILDDIR>>/tools/tiffinfo -D o-tiffcp-32bpp-None-jpeg-YCbCr.tiff TIFFOpen: o-tiffcp-32bpp-None-jpeg-YCbCr.tiff: No such file or directory. Returned failed status 1!
    FAIL tiffcp-32bpp-None-jpeg.sh (exit status: 1)

    ============================================================================ Testsuite summary for LibTIFF Software 4.7.0 ============================================================================
    # TOTAL: 107
    # PASS: 106
    # SKIP: 0
    # XFAIL: 0
    # FAIL: 1
    # XPASS: 0
    # ERROR: 0 ============================================================================ See test/test-suite.log for debugging.
    Some test(s) failed. Please report this to tiff@lists.osgeo.org,
    together with the test-suite.log file (gzipped) and your system
    information. Thanks. ============================================================================ make[4]: *** [Makefile:1226: test-suite.log] Error 1
    make[4]: Leaving directory '/<<PKGBUILDDIR>>/test'
    make[3]: *** [Makefile:1361: check-TESTS] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
    make[2]: *** [Makefile:2175: check-am] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
    make[1]: *** [Makefile:579: check-recursive] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test: error: make -j2 check "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1 returned exit code 2
    make: *** [debian/rules:36: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202504/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:tiff, so that this is still
    visible in the BTS web page for this package.

    Note 1: This mode of failure also happens in the buildds:

    https://buildd.debian.org/status/fetch.php?pkg=tiff&arch=s390x&ver=4.7.0-2&stamp=1743145235&raw=0

    https://buildd.debian.org/status/fetch.php?pkg=tiff&arch=armhf&ver=4.7.0-2&stamp=1743145229&raw=0

    Note 2: This is apparently a concurrency problem. The makefile in the "tests" directory
    is simply not ready to be executed in parallel. The attached patch fixes the issue for me,
    by running dh_auto_test with --max-parallel=1. On virtual machines with 2 CPUs, it used to
    fail 40% of the time. After applying the patch, it does not seem to fail anymore
    (tried 50 times for those statistics).

    Note 3: You might want to forward this upstream anyway.

    Thanks. ZGlmZiAtTnJ1IHRpZmYtNC43LjAvZGViaWFuL2NoYW5nZWxvZyB0aWZmLTQuNy4wL2RlYmlh bi9jaGFuZ2Vsb2cKLS0tIHRpZmYtNC43LjAvZGViaWFuL2NoYW5nZWxvZwkyMDI1LTAzLTI4 IDA3OjA4OjEzLjAwMDAwMDAwMCArMDEwMAorKysgdGlmZi00LjcuMC9kZWJpYW4vY2hhbmdl bG9nCTIwMjUtMDQtMDQgMTc6MTQ6MTEuMDAwMDAwMDAwICswMjAwCkBAIC0xLDMgKzEsMTAg QEAKK3RpZmYgKDQuNy4wLTIuMSkgdW5zdGFibGU7IHVyZ2VuY3k9bWVkaXVtCisKKyAgKiBO b24tbWFpbnRhaW5lciB1cGxvYWQuCisgICogRG8gbm90IHJ1biB0ZXN0cyBpbiBwYXJhbGxl bC4gQ2xvc2VzOiAjWFhYWFhYWC4KKworIC0tIFNhbnR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