Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2024 11:11:26 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        Yuri Victorovich <yuri@FreeBSD.org>, Dima Panov <fluffy@freebsd.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 7a7408cd7731 - main - security/botan3: Broken on aarch64, amd64 and 13
Message-ID:  <6278fc7d-401d-416f-b1b5-7ca3de9f006a@FreeBSD.org>
In-Reply-To: <202405181859.44IIxP06073124@gitrepo.freebsd.org>
References:  <202405181859.44IIxP06073124@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 18.05.24 um 20:59 schrieb Yuri Victorovich:
> The branch main has been updated by yuri:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=7a7408cd7731d6e05ccbc6e895ca84600eb26bfe
> 
> commit 7a7408cd7731d6e05ccbc6e895ca84600eb26bfe
> Author:     Yuri Victorovich <yuri@FreeBSD.org>
> AuthorDate: 2024-05-18 18:58:46 +0000
> Commit:     Yuri Victorovich <yuri@FreeBSD.org>
> CommitDate: 2024-05-18 18:58:46 +0000
> 
>      security/botan3: Broken on aarch64, amd64 and 13
>      
>      Reported by:    fallout
> ---
>   security/botan3/Makefile | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/security/botan3/Makefile b/security/botan3/Makefile
> index 8ddf75dfbc36..64282de2bc4b 100644
> --- a/security/botan3/Makefile
> +++ b/security/botan3/Makefile
> @@ -12,7 +12,9 @@ WWW=		https://botan.randombit.net/
>   LICENSE=	BSD2CLAUSE
>   LICENSE_FILE=	${WRKSRC}/license.txt
>   
> -BROKEN_armv6=	include/arm_neon.h:28:2: error: "NEON support not enabled"
> +BROKEN_amd64=	clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136
> +BROKEN_aarch64=	clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136
> +BROKEN_FreeBSD_13=	compilation fails: no member named 'find' in namespace 'std::ranges'
>   
>   LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs
>   

Hi Yuri,

what's become of the LLVM version constraining lines that Dima commented 
out in 21d88aba74501? Have you tried pinning LLVM to versions 14-15 by 
enabling those commented lines again?

Alternatively, could/should we use GCC with libc++?
(Look at graphics/rawtherapee for how it's done, albeit with older C++ 
standards than C++20.)

Also, for std::ranges::find if our C++ doesn't cut it, we might consider 
adding Boost as a dependency and use boost::ranges::find if it's usable 
for what Botan3 tries to do with it (I haven't looked):
<https://www.boost.org/doc/libs/1_85_0/libs/range/doc/html/range/reference/algorithms/non_mutating/find.html>;

Regards,
Matthias

-- 
Matthias Andree
FreeBSD ports committer




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6278fc7d-401d-416f-b1b5-7ca3de9f006a>