commit:     fd20dfdcbc8a3eae3ac88c6e7198af0a0fff7584
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 03:48:01 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 08:01:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd20dfdc

sci-libs/fftw: set QA_CONFIG_IMPL_DECL_SKIP for false positive

The autotools check is written to always fail to link. It includes a
header which on some systems contains: "UNICOS _rtc() intrinsic."

On linux, it fails to link and with gcc 14 fails to compile as well,
which is all as expected.

Closes: https://bugs.gentoo.org/898442
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sci-libs/fftw/fftw-3.3.10.ebuild | 6 ++++++
 sci-libs/fftw/fftw-9999.ebuild   | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/sci-libs/fftw/fftw-3.3.10.ebuild b/sci-libs/fftw/fftw-3.3.10.ebuild
index 3e3cdf42bc76..ea7a5189348f 100644
--- a/sci-libs/fftw/fftw-3.3.10.ebuild
+++ b/sci-libs/fftw/fftw-3.3.10.ebuild
@@ -33,6 +33,12 @@ BDEPEND="test? ( dev-lang/perl )"
 
 HTML_DOCS=( doc/html/. )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # check fails with any version of gcc. On <14:
+       # <artificial>:(.text.startup+0x19): undefined reference to `_rtc'
+       _rtc
+)
+
 pkg_pretend() {
        [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }

diff --git a/sci-libs/fftw/fftw-9999.ebuild b/sci-libs/fftw/fftw-9999.ebuild
index f1bc2d876ad8..176526968102 100644
--- a/sci-libs/fftw/fftw-9999.ebuild
+++ b/sci-libs/fftw/fftw-9999.ebuild
@@ -33,6 +33,12 @@ BDEPEND="test? ( dev-lang/perl )"
 
 HTML_DOCS=( doc/html/. )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # check fails with any version of gcc. On <14:
+       # <artificial>:(.text.startup+0x19): undefined reference to `_rtc'
+       _rtc
+)
+
 pkg_pretend() {
        [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }

Reply via email to