From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 152AB158089 for ; Mon, 25 Sep 2023 02:43:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 441C12BC02C; Mon, 25 Sep 2023 02:43:43 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 243872BC028 for ; Mon, 25 Sep 2023 02:43:43 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B0C4335C67 for ; Mon, 25 Sep 2023 02:43:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BCF710CD for ; Mon, 25 Sep 2023 02:43:40 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1695609816.4f2670a9b5d455c285c6f75347488481a412cc61.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/podofo/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/podofo/podofo-0.10.1-r1.ebuild app-text/podofo/podofo-0.10.1.ebuild X-VCS-Directories: app-text/podofo/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 4f2670a9b5d455c285c6f75347488481a412cc61 X-VCS-Branch: master Date: Mon, 25 Sep 2023 02:43:40 +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: f4e377da-4c5f-48e7-9ac7-c2cc7d994080 X-Archives-Hash: 634ddcd22a36c45d0c6b57e8c363a807 commit: 4f2670a9b5d455c285c6f75347488481a412cc61 Author: Eli Schwartz gmail com> AuthorDate: Sun Sep 24 04:23:34 2023 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Sep 25 02:43:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2670a9 app-text/podofo: suppress possibly impactful compiler fp handling The tests fail on specific combinations of compiler optimizations due to https://github.com/podofo/podofo/issues/103 In particular, at -march=x86-64-v3 levels and up, plus -O2. Setting -ffp-contract=off makes the tests pass again... this *could* just be a test data issue, but it may also be genuine library mis-handling. To be on the safe side, just compile podofo such that it definitely passes its tests, while waiting for an upstream response. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Zac Medico gentoo.org> app-text/podofo/{podofo-0.10.1.ebuild => podofo-0.10.1-r1.ebuild} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-text/podofo/podofo-0.10.1.ebuild b/app-text/podofo/podofo-0.10.1-r1.ebuild similarity index 85% rename from app-text/podofo/podofo-0.10.1.ebuild rename to app-text/podofo/podofo-0.10.1-r1.ebuild index 29d54510af38..18c138d78704 100644 --- a/app-text/podofo/podofo-0.10.1.ebuild +++ b/app-text/podofo/podofo-0.10.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format" HOMEPAGE="https://github.com/podofo/podofo" @@ -52,5 +52,11 @@ src_configure() { $(cmake_use_find_package png PNG) $(cmake_use_find_package fontconfig Fontconfig) ) + + # some optimizations cause testsuite failures which may indicate + # unsoundness with contraction. Be cautious for now. Reported + # upstream as https://github.com/podofo/podofo/issues/103 + append-cxxflags $(test-flags-CXX -ffp-contract=off) + cmake_src_configure }