From nobody Wed Nov 15 21:42:53 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 4SVxV95km0z50n1R for ; Wed, 15 Nov 2023 21:42:57 +0000 (UTC) (envelope-from dereks@lifeofadishwasher.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 4SVxV93b1yz3Cy1 for ; Wed, 15 Nov 2023 21:42:57 +0000 (UTC) (envelope-from dereks@lifeofadishwasher.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-7788fb06997so5189185a.0 for ; Wed, 15 Nov 2023 13:42:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifeofadishwasher.com; s=google; t=1700084576; x=1700689376; 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=/JlIyu1R93q4xXIBvTW0j5KMiPC4+Nm6GSeVHZ2EMRw=; b=RasaRowLvirv1/klkE93We0B0Jf5xyEmMeTdapGm3H+HIt+A7CJ6UHoFcgQHX6lfqx zejM7aiTT6DdFNO/+htPOcDqdNSIUH8DNAOcrLjJSQo64JFNrO1E1lKtR3VNq2LOt71t pqzB2U4pq6CPJ+vmZpxeO1zMJ/a26Gvc+RAGM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700084576; x=1700689376; 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=/JlIyu1R93q4xXIBvTW0j5KMiPC4+Nm6GSeVHZ2EMRw=; b=Osoumy3sSPkpEOzXIZ6EiKW0DgtB1ZS9kqTL5SlTC2/Vdqr3mt8CVwwASuSTbcuNBQ mOUyIEouDJSZGxHot8YJDYC2XkZHNoQITDfeVP0B9N8vkFSzaGwj76FZJl7/JQ58OqfZ xzdyBRR6X3VpphXNxTzlePpSbPhE58uwIa4gT5eXysWmUxTYnasz5NiP6N5IrFVKnhem QSE6s/hboifjNn38pToL0H/xjROocmGbVbGx/rs2n4WDXV20hiZaOxdPwviyU8fbKCY8 Ei4lXQ19QNUU8fPFAYN1UIGBx7gNT2+PMfZUImrxh6d13Ebmi7H+hBXcWbkDv8xmD0eZ CLdQ== X-Gm-Message-State: AOJu0YyFuD23WN1HAokkh81uQy5BGp0gjoRsKsKruZ6zOIPiEyg6ns4L j/ZLH2thjbrOAZXa18dyZjLkOQ== X-Google-Smtp-Source: AGHT+IFUr35kfCyMR+xPoQ8EhEdfZpyVSpoHw/bVe4xz8186iOz0WjAJ3pduwVlpDftWR8pisrw+TQ== X-Received: by 2002:a05:620a:198a:b0:778:a62a:2c4b with SMTP id bm10-20020a05620a198a00b00778a62a2c4bmr7395672qkb.47.1700084575739; Wed, 15 Nov 2023 13:42:55 -0800 (PST) Received: from lifeofadishwasher.com ([2601:547:1900:3230:21e5:e75d:181d:81f3]) by smtp.gmail.com with ESMTPSA id or14-20020a05620a618e00b00767d4a3f4d9sm3805247qkn.29.2023.11.15.13.42.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 13:42:55 -0800 (PST) Received: by lifeofadishwasher.com (sSMTP sendmail emulation); Wed, 15 Nov 2023 16:42:53 -0500 Date: Wed, 15 Nov 2023 16:42:53 -0500 From: Derek Schrock To: Alexander Leidinger Cc: Freebsd Ports , FreeBSD Java Subject: Re: Why is building poudirere-devel several openjdks when I ask for openjdk21? Message-ID: Mail-Followup-To: Alexander Leidinger , Freebsd Ports , FreeBSD Java 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-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4SVxV93b1yz3Cy1 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 However, since you're poudirere-devel you might be able to take advantage of binary downloads PACKAGE_FETCH_BRANCH in poudriere.conf. You'll still have cases where you need to rebuild because of missing deps where builders are out of sync with the latest ports tree. I think some of those are trying to addressed here to loosen the exact requirements of what poudirere/pkg things needs rebuilt. https://lists.freebsd.org/archives/freebsd-ports/2023-October/004776.html What I've done in the past to semi-workaround this is to dial the tree back to the commit the builders last built on. Sometimes this can be a tricky thing to pin down.