Re: Why is building poudirere-devel several openjdks when I ask for openjdk21?

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Thu, 16 Nov 2023 08:06:47 UTC
Am 2023-11-15 22:42, schrieb Derek Schrock:
> On Wed, Nov 15, 2023 at 09:01:28AM EST, Alexander Leidinger wrote:
>> Hi,
>> 
>> I have stuff which depends upon openjdk17 -> pkg exists in my local 
>> repo.
>> Now I want to use something which needs openjdk21. So I did a 
>> poudriere bulk
>> -j ... java/openjdk21 and now it builds openjdk18, openjdk19 and 
>> openjdk20
>> serially before openjdk21.
>> 
>> I can understand if we need ot build 1 bootstrap, but why do we need 
>> to
>> build multiple jdks sequencially to get the one I want?
>> 
>> Bye,
>> Alexander.
>> 
> 
> This appears to be a recommendation (requirement) from the project. N-1
> to bootstrap.
> 
> https://github.com/openjdk/jdk/blob/master/doc/building.md#boot-jdk-requirements

I assumed something like that, that's the reason why I wrote "1 
bootstrap" above. If we look into the java category, we have some 
bootstrap ports there, but not for all jdk versions. Can we add more 
bootstraps please, and make use of them? It took about double the time 
to build openjdk21 than it would really need to. Typically if you want 
to check out some new software, you want to do it "now", and if it 
depends upon other stuff, such a long chain of bootstrapping 4 JDKs to 
get the one you want is ... pulling a tooth or two.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF