From nobody Sat Nov 18 01:01:49 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SXFpn65WFz51ZNd for ; Sat, 18 Nov 2023 01:01:53 +0000 (UTC) (envelope-from dereks@lifeofadishwasher.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SXFpn0TWjz4d0N for ; Sat, 18 Nov 2023 01:01:53 +0000 (UTC) (envelope-from dereks@lifeofadishwasher.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lifeofadishwasher.com header.s=google header.b=BGhbgJI+; spf=none (mx1.freebsd.org: domain of dereks@lifeofadishwasher.com has no SPF policy when checking 2607:f8b0:4864:20::836) smtp.mailfrom=dereks@lifeofadishwasher.com; dmarc=none Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-41cd97d7272so15058031cf.0 for ; Fri, 17 Nov 2023 17:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifeofadishwasher.com; s=google; t=1700269312; x=1700874112; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=IEdq6WJzTJG5ZZWMBKViAKMiFmO/7NKtaPOphApRj+8=; b=BGhbgJI+nd6xOFOpne8yA640iP2oKbx1gOflMnvdU8WYYMgivFue8SUToLwUTs6B4m /nhd9N72hKyWurOS2DcrrEjAXexaeVPZzje7XcjJy0qhE+kHGn2rVlpZ4WTEfz0kPN3y 9MGpsTynCE7WYM/CfTZZvT6kbbSeIBhnAqnOQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700269312; x=1700874112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IEdq6WJzTJG5ZZWMBKViAKMiFmO/7NKtaPOphApRj+8=; b=I6gWQ0QJOZvPLzNtYdHTs/JVh8PUfZUjOmwozCHZNv8scD2OWdQdHxdss5/NzZoQh7 b6YcVGxF4GDVubP+RpWH9FIFr2OUSrU1YXoaN2mH15fPffulgrXBPOpuKGYEkMjo1I1c 3lvtuCIgSCSj9RRVI3hojcSEweUQwlH3AQyoNqw26b9tT7hwbDLyq+6BwL0SwEK/xrxD wB6R+r3fD/oe0ygeoaZXb9LQ2kAXQ5Y02i2qu5LVrscgCcxRhobUa3h/0HC3uk2d2mZC ABM7DnMht16oBa534aKK9Lst/SxzjAAvsGTKnzPZFmub6ZRsOUPtYLhVaMEaFmlvbnB8 UWqw== X-Gm-Message-State: AOJu0YwjlmjPggu+v2X09/tAUlO2Q+YmJby9n1ezhjRwDhPUePgtv4b3 rpsvqvcZFn07eqbarhC0VZPM/MRN7ZYNUexTLayk+g== X-Google-Smtp-Source: AGHT+IFnOiZ6QhymhyaBFe36Ror3K34b5/m2gXakNoThOZsFYWSP1H0tTV5ItSdyCITP76SgvySbDw== X-Received: by 2002:a05:622a:286:b0:418:1d1c:ee13 with SMTP id z6-20020a05622a028600b004181d1cee13mr1467206qtw.56.1700269311906; Fri, 17 Nov 2023 17:01:51 -0800 (PST) Received: from lifeofadishwasher.com ([2601:547:1900:3230:fd8c:bf28:ad11:27b]) by smtp.gmail.com with ESMTPSA id 14-20020ac8564e000000b00410ac0068d0sm949650qtt.91.2023.11.17.17.01.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 17:01:51 -0800 (PST) Received: by lifeofadishwasher.com (sSMTP sendmail emulation); Fri, 17 Nov 2023 20:01:49 -0500 Date: Fri, 17 Nov 2023 20:01:49 -0500 From: Derek Schrock To: Alexander Leidinger Cc: FreeBSD Java , Freebsd Ports Subject: Re: Why is building poudirere-devel several openjdks when I ask for openjdk21? Message-ID: Mail-Followup-To: Alexander Leidinger , FreeBSD Java , Freebsd Ports References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-2.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[lifeofadishwasher.com:s=google]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::836:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[lifeofadishwasher.com:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[lifeofadishwasher.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4SXFpn0TWjz4d0N X-Spamd-Bar: -- On Thu, Nov 16, 2023 at 03:06:47AM EST, Alexander Leidinger wrote: > 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. It seems only LTS were bootstraps are created? [1] If so given that 21 is LTS there should at least be a java/bootstrap-openjdk21. Like 241087 I would create a PR requesting that new port. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241087