Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943020 - media-libs/tiff-4.7.0 fails test - FAIL: tiffcp-32bpp-None-jpeg.sh
Summary: media-libs/tiff-4.7.0 fails test - FAIL: tiffcp-32bpp-None-jpeg.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Codec Project
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-11-08 16:03 UTC by Toralf Förster
Modified: 2025-02-26 22:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.89 KB, text/plain)
2024-11-08 16:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,31.20 KB, text/plain)
2024-11-08 16:03 UTC, Toralf Förster
Details
environment (environment,105.16 KB, text/plain)
2024-11-08 16:03 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-08 16:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.67 KB, application/x-xz)
2024-11-08 16:03 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,248.98 KB, application/x-xz)
2024-11-08 16:03 UTC, Toralf Förster
Details
media-libs:tiff-4.7.0:20241108-155217.log (media-libs:tiff-4.7.0:20241108-155217.log,172.79 KB, text/plain)
2024-11-08 16:03 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,84.05 KB, text/plain)
2024-11-08 16:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.41 KB, application/x-xz)
2024-11-08 16:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-08 16:03:03 UTC
PASS: tiff2rgba-ojpeg_chewey_subsamp21_multi_strip.sh
make[3]: Leaving directory '/var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0-abi_x86_64.amd64/test'
make[3]: Entering directory '/var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0-abi_x86_64.amd64/test'
PASS: tiff2rgba-ojpeg_single_strip_no_rowsperstrip.sh
make[3]: Leaving directory '/var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0-abi_x86_64.amd64/test'
make[3]: Entering directory '/var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0-abi_x86_64.amd64/test'
FAIL: tiffcp-32bpp-None-jpeg.sh
make[3]: Leaving directory '/var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0-abi_x86_64.amd64/test'
make[3]: Entering directory '/var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0-abi_x86_64.amd64/test'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_test-20241107-130503

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 


  HEAD of ::gentoo
commit 83a1bb7fede9cf388bc036e9711a903a8ce3cf5c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 8 14:48:35 2024 +0000

    2024-11-08 14:48:35 UTC

emerge -qpvO =media-libs/tiff-4.7.0
[ebuild  N    ] media-libs/tiff-4.7.0  USE="cxx jbig jpeg test zlib -lzma -opengl -static-libs -verify-sig -webp -zstd" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-11-08 16:03:05 UTC
Created attachment 908142 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-08 16:03:06 UTC
Created attachment 908143 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-08 16:03:07 UTC
Created attachment 908144 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-08 16:03:08 UTC
Created attachment 908145 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-08 16:03:09 UTC
Created attachment 908146 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-08 16:03:10 UTC
Created attachment 908147 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-08 16:03:12 UTC
Created attachment 908148 [details]
media-libs:tiff-4.7.0:20241108-155217.log
Comment 8 Toralf Förster gentoo-dev 2024-11-08 16:03:13 UTC
Created attachment 908149 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-11-08 16:03:14 UTC
Created attachment 908150 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-27 19:07:21 UTC
.. contents:: :depth: 2

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

 /var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0-abi_x86_64.amd64/tools/tiffcp -c jpeg /var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0/test/images/32bpp-None-jpeg.tiff o-tiffcp-32bpp-None-jpeg-YCbCr.tiff
 /var/tmp/portage/media-libs/tiff-4.7.0/work/tiff-4.7.0-abi_x86_64.amd64/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)
Comment 11 Gabi Falk 2025-02-26 14:11:42 UTC
This one is fixed upstream:
https://gitlab.com/libtiff/libtiff/-/commit/94f6f7315b184de1a00ed27dec8b009389310f65
Comment 12 Gabi Falk 2025-02-26 14:14:55 UTC
(In reply to Gabi Falk from comment #11)
> This one is fixed upstream:
> https://gitlab.com/libtiff/libtiff/-/commit/
> 94f6f7315b184de1a00ed27dec8b009389310f65

No, I'm sorry.  This commit is v4.7.0rc2^2~4, so it's already applied in 4.7.0.
Comment 13 Gabi Falk 2025-02-26 15:21:32 UTC
I figured this out and made an MR upstream: https://gitlab.com/libtiff/libtiff/-/merge_requests/701 .
Comment 14 Larry the Git Cow gentoo-dev 2025-02-26 22:16:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5bf3454458975e7940336e8cfe722993d5fc720

commit e5bf3454458975e7940336e8cfe722993d5fc720
Author:     Gabi Falk <gabifalk@gmx.com>
AuthorDate: 2025-02-26 15:00:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-26 22:15:13 +0000

    media-libs/tiff: fix race condition in tests
    
    Closes: https://bugs.gentoo.org/943020
    Signed-off-by: Gabi Falk <gabifalk@gmx.com>
    Closes: https://github.com/gentoo/gentoo/pull/40774
    Signed-off-by: Sam James <sam@gentoo.org>

 .../tiff/files/tiff-4.7.0-fix-test-race.patch      | 30 ++++++++++++++++++++++
 media-libs/tiff/tiff-4.7.0-r1.ebuild               |  2 ++
 media-libs/tiff/tiff-4.7.0.ebuild                  |  4 ++-
 3 files changed, 35 insertions(+), 1 deletion(-)