pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52250: gmp and mpfr not found by some packages
The following reply was made to PR pkg/52250; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52250: gmp and mpfr not found by some packages
Date: Sun, 29 Apr 2018 04:32:09 +0000
On Tue, Feb 20, 2018 at 10:05:01AM +0000, Joern Clausen wrote:
> I think the overall fix would be to check all packages depending on gmp
> and mpfr and adding appropriate BUILDLINK_API_DEPENDS - whatever the
> minimal version might be in any case. Another fix might be to make SunOS
> always use pkgsrc's versions and never ever use the builtins.
There's on the order of 100 such packages, and since minimum versions
are rarely documented well (or at all) this doesn't entirely seem like
an effective approach.
Also some crosschecking with the Solaris bulk reports doesn't seem to
suggest that it's a huge problem, although maybe that's a function of
Solaris version.
Would it be feasible for you to put something like
.if defined(USE_BUILTIN.gmp) && !empty(USE_BUILTIN.gmp:M[Yy][Ee][Ss])
.warning "****** CAUTION"
.warning "****** Using builtin gmp."
.warning "****** This might be problematic."
.endif
(and maybe another one for mpfr) in your mk.conf, so if you step on
this problem again it doesn't waste your time, and if you hit any
cases let us know?
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index