Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2024 08:25:15 +0100
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        freebsd-arm@FreeBSD.org
Subject:   Re: gnutls 3.8.8 error,  compile-time-constant   fails and skips many other packages from being built
Message-ID:  <87pllq93fo.wl-herbert@gojira.at>
In-Reply-To: <6D84E214-2196-4AA7-ADD1-B11E5434EE37@thegalacticzoo.com>
References:  <6D84E214-2196-4AA7-ADD1-B11E5434EE37@thegalacticzoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Dec 2024 05:02:52 +0100, Fred Finster wrote:
>=20
> Merry Christmas 2024 fellow FreeBSD ARM users.
> I wave my hand, that I have encountered an error that Marius Schamschula =
details below.
>=20
> A compile-time constant is=A0computed at the time the code is
> compiled, while a run-time constant can only be computed while the
> application is running. A compile-time constant will have the same
> value each time an application runs, while a run-time constant may
> change each time.Sep 15, 2021
>=20
> ~~~~~~~~~~~~~~~~~~~~~
> https://github.com/llvm/llvm-project
> https://lists.gnutls.org/pipermail/gnutls-help/2024-November/thread.html#=
4866
> Problem, how to compile file groups.c as a part of gnutls 3.8.8 and overc=
ome
> this compile-time constant error:
> groups.c:93:2: error: initializer element is not a compile-time constant
>         group_x25519,
>         ^~~~~~~~~~~~
> 1 error generated.
[...]
> gnutls_3.8.8 fails to compile and has a single error.  Other
> Poudriere packages depend on gnutls_3.8.8 and are skipped from
> compiling.  What do you suggest to fix this problem?  I am patient
> to wait until developers have a solution ready for gnutls.  Like
> first initializing group_x25519 with a NIL value.??
> http://ghostbsd-arm64.blogspot.com Fred's Blog about porting
> GhostBSD x86 to Arm64

I don't get this error on main and stable/14 and there is a gnutls
package.

But there is obviously a fix for this issue:
https://github.com/gnutls/gnutls/commit/9cc9d5556d258d23a399abfe45715773e71=
9d134



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87pllq93fo.wl-herbert>