From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 196881582EF for ; Wed, 26 Feb 2025 22:16:11 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0189634307B for ; Wed, 26 Feb 2025 22:16:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F04961102C9; Wed, 26 Feb 2025 22:16:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E5AF21102C9 for ; Wed, 26 Feb 2025 22:16:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9313F343067 for ; Wed, 26 Feb 2025 22:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E3C51EFA for ; Wed, 26 Feb 2025 22:16:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1740608113.e5bf3454458975e7940336e8cfe722993d5fc720.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/tiff/, media-libs/tiff/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/tiff/files/tiff-4.7.0-fix-test-race.patch media-libs/tiff/tiff-4.7.0-r1.ebuild media-libs/tiff/tiff-4.7.0.ebuild X-VCS-Directories: media-libs/tiff/ media-libs/tiff/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e5bf3454458975e7940336e8cfe722993d5fc720 X-VCS-Branch: master Date: Wed, 26 Feb 2025 22:16:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 61a203fb-9768-45ac-8766-1d4fa03577b8 X-Archives-Hash: abbeb70e87e07d3e464eddd6f712f160 commit: e5bf3454458975e7940336e8cfe722993d5fc720 Author: Gabi Falk gmx com> AuthorDate: Wed Feb 26 15:00:00 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed Feb 26 22:15:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5bf3454 media-libs/tiff: fix race condition in tests Closes: https://bugs.gentoo.org/943020 Signed-off-by: Gabi Falk gmx.com> Closes: https://github.com/gentoo/gentoo/pull/40774 Signed-off-by: Sam James 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(-) diff --git a/media-libs/tiff/files/tiff-4.7.0-fix-test-race.patch b/media-libs/tiff/files/tiff-4.7.0-fix-test-race.patch new file mode 100644 index 000000000000..3c26eb617b1b --- /dev/null +++ b/media-libs/tiff/files/tiff-4.7.0-fix-test-race.patch @@ -0,0 +1,30 @@ +https://gitlab.com/libtiff/libtiff/-/merge_requests/701 +https://bugs.gentoo.org/943020 + +From efadbbd8746d2c6c8129438716e2c1e8aeecafdb Mon Sep 17 00:00:00 2001 +From: Gabi Falk +Date: Wed, 26 Feb 2025 14:00:00 +0000 +Subject: [PATCH] test: Fix race condition in + {tiffcrop,tiffcp}-32bpp-None-jpeg.sh tests + +These tests used the same output path, which could cause failures +when run in parallel. These were the only tests with a conflicting +outfile= parameter. + +Link: https://bugs.gentoo.org/943020 +--- + test/tiffcrop-32bpp-None-jpeg.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/tiffcrop-32bpp-None-jpeg.sh b/test/tiffcrop-32bpp-None-jpeg.sh +index 9b0d1f5f..4a47f6ed 100755 +--- a/test/tiffcrop-32bpp-None-jpeg.sh ++++ b/test/tiffcrop-32bpp-None-jpeg.sh +@@ -2,6 +2,6 @@ + # Generated file, master is Makefile.am + . ${srcdir:-.}/common.sh + infile="$srcdir/images/32bpp-None-jpeg.tiff" +-outfile="o-tiffcp-32bpp-None-jpeg-YCbCr.tiff" ++outfile="o-tiffcrop-32bpp-None-jpeg-YCbCr.tiff" + f_test_convert "${TIFFCROP} -c jpeg" $infile $outfile + f_tiffinfo_validate $outfile diff --git a/media-libs/tiff/tiff-4.7.0-r1.ebuild b/media-libs/tiff/tiff-4.7.0-r1.ebuild index 838fe7bab110..594d624584af 100644 --- a/media-libs/tiff/tiff-4.7.0-r1.ebuild +++ b/media-libs/tiff/tiff-4.7.0-r1.ebuild @@ -50,6 +50,8 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/tiffconf.h ) +PATCHES=( "${FILESDIR}"/${P}-fix-test-race.patch ) # bug#943020 + src_prepare() { default diff --git a/media-libs/tiff/tiff-4.7.0.ebuild b/media-libs/tiff/tiff-4.7.0.ebuild index e1c35e00870a..84d12692c130 100644 --- a/media-libs/tiff/tiff-4.7.0.ebuild +++ b/media-libs/tiff/tiff-4.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -45,6 +45,8 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/tiffconf.h ) +PATCHES=( "${FILESDIR}"/${P}-fix-test-race.patch ) # bug#943020 + src_prepare() { default