tech-pkg archive

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

Re: compiler.mk inclusion in buildlink3.mk causes problems



On Tue, Apr 15, 2025 at 12:49:31AM +0000, David Holland wrote:
> That isn't really going to fix the problem, or rather, it papers over
> it.

I agree with this, for what it's worth - my thinking was
"commit a quick solution to satisfy netbsd bulk builds so I can go to
bed with my headache" :-) I suspect the affected packages had little
chance on other platforms.

The rest of the condition should likely be dependent on
USE_NATIVE_GCC, and also consider importing the patch from dreckly
for sane integer-based compiler version tests rather than string-based
tests.

> Generally what we've done in the past when this kind of problem has
> come up (e.g. minimum versions for builtin packages, particularly X
> packages) is be aggressively conservative: if anything in pkgsrc
> depends on having the newer thing, make everyone build the newer
> thing.

I don't think this is a good solution for older platforms.
Mostly it results in stuff being broken.


Home | Main Index | Thread Index | Old Index