pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gnupg2: fail with libgpg-error 1.47



On Thu, Jan 09, 2025 at 02:09:39PM +0100, tlaronde%kergis.com@localhost wrote:
> I'm on:
> 
> NetBSD 10.99.12  x86_64
> pkgsrc-2024Q4
> 
> FWIW, gnupg2 has:
> 
> BUILDLINK_API_DEPENDS.libgpg-error+=	libgpg-error>=1.46
> 
> But I had libgpg-error 1.47 and there was a build error with yat2m.
> 
> I upgraded to 1.51 (the version for pkgsrc-2024Q4), and the build
> worked OK.
> 
> So it seems the version should be at least > 1.47. 1.51: OK. In
> between: don't know.

I checked gnupg2's configure script and it claims it only needs 1.46:

NEED_GPGRT_VERSION=1.46

so this sounds like an upstream bug. Perhaps contact them for
clarification which version is really needed?

Or look at the changelog/news for libgpg-error for the missing symbols
(or whatever the exact error you see is).

> What is the policy regarding minimal versions for dependencies of a
> package vs minimal version required by this package itself? If a
> package depends on something that requires at least version Y, but,
> by itself requires "only" version X, is the minimal required version
> for the package set to the minimal version acceptable by the package
> and all its dependencies?

When you build "something", it will pull in version Y, so when you
later build "package" it will already have X installed.
 Thomas


Home | Main Index | Thread Index | Old Index