Re: git: ca4a04286353 - main - devel/gitoxide: Broken on powerpc64, powerpc64le

From: Piotr Kubaj <pkubaj_at_anongoth.pl>
Date: Fri, 02 Feb 2024 18:49:41 UTC
That's not really the right explanation.
The port just uses older version of zlib-ng. Upstream zlib-ng fixed it since https://github.com/zlib-ng/zlib-ng/commit/bd321660c916266cd98b496212114ba29d48aaed.

I tried using newer zlib-ng, but then it fails later with the true culprit - ring 0.16.20. 0.17 would need to be used, but it will require some work from gitoxide.

On 24-02-02 18:44:30, Yuri Victorovich wrote:
> The branch main has been updated by yuri:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=ca4a04286353048fdb8a3517f9fa45c4047b3330
> 
> commit ca4a04286353048fdb8a3517f9fa45c4047b3330
> Author:     Yuri Victorovich <yuri@FreeBSD.org>
> AuthorDate: 2024-02-02 14:58:57 +0000
> Commit:     Yuri Victorovich <yuri@FreeBSD.org>
> CommitDate: 2024-02-02 18:44:27 +0000
> 
>     devel/gitoxide: Broken on powerpc64, powerpc64le
>     
>     Reported by:    fallout
> ---
>  devel/gitoxide/Makefile | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/devel/gitoxide/Makefile b/devel/gitoxide/Makefile
> index 0fa096248743..2b86bc9c8f53 100644
> --- a/devel/gitoxide/Makefile
> +++ b/devel/gitoxide/Makefile
> @@ -13,6 +13,9 @@ LICENSE_COMB=	dual
>  LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
>  LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
>  
> +BROKEN_powerpc64=	compilation fails: use of undeclared identifier 'power_cpu_has_arch_3_00', see https://github.com/rust-lang/libz-sys/issues/183
> +BROKEN_powerpc64le=	compilation fails: use of undeclared identifier 'power_cpu_has_arch_3_00', see https://github.com/rust-lang/libz-sys/issues/183
> +
>  LIB_DEPENDS=	libcurl.so:ftp/curl
>  
>  USES=		cargo