From nobody Mon Feb 12 14:21:55 2024 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 4TYRVg1NfRz59v7P for ; Mon, 12 Feb 2024 14:22:19 +0000 (UTC) (envelope-from dan@langille.org) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TYRVf2RG1z4rXg; Mon, 12 Feb 2024 14:22:18 +0000 (UTC) (envelope-from dan@langille.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm3 header.b=IOQ9sQyU; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=xAmtwhim; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 64.147.123.21 as permitted sender) smtp.mailfrom=dan@langille.org Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id 5F2E4320077A; Mon, 12 Feb 2024 09:22:16 -0500 (EST) Received: from imap42 ([10.202.2.92]) by compute7.internal (MEProxy); Mon, 12 Feb 2024 09:22:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1707747735; x=1707834135; bh=CkvBjenu3X hXQxPg8aC/yFNOM7oWniYQmIE2w89J3pc=; b=IOQ9sQyU4KEgFBKgRkvJQAhlVH YWxcISDHY7E5IqPgFex/FXZWgxev2Z8J7tCDklPRXUk42BhwxOziNHWzL0/UjLDU IiQnsdeiPq8wgDYn4S6f+1CK8EhcN6kdkO/tTvJCFF4hC/fIvrmSnYRicAcBtq5Q LVkAmUs9px/0PjIkdLAPEu9hRc0Mi8c8qrjFvNH8ToO2qz62GeD6Tv2T0hZlNUx5 4CP9Ybu4E6sWsHdo+CrWXcH4wFpufLgTN75Q4D1zk57xTwF0V2r6aa8ErzVYRgE6 MTOVMaQ+lGJkZlB2HOgSJRurPe+TsZ5InAsRGL6NA+vMCQHd9d09K0ZuZXrQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1707747735; x=1707834135; bh=CkvBjenu3XhXQxPg8aC/yFNOM7oW niYQmIE2w89J3pc=; b=xAmtwhimGF4AFmUnc4NhpsiLUbQD14RaWsPm7yixOl1G 8nM+WhbrD9L+Cc/H6F3S7zCAIuP6dKFWbMWJvkPWjdbCJSJkclInY6hfnQgGwG9G X023Etd26dFd8pLSJiLe1j1jDJfPZVadawVmcKF7loT1fWZAMeEvDyb1d/M1/Fi5 CBnSqWZEJyK9X93NH1IYNalLtcQSDJ5YS7cIerlNDbCl2Uwd2BIU9OLc5O25AIkQ Wmf8Jc/cuJbYlg/ErOLoNoK8/vYrZ4K+NOtYnijP36rBXNnpAxR8V7jQfTpGYZJo tg5oTLMObcZ1RwMbB96x+46ygCYJebmAITcw7Cs+Og== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefgdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerredtnecuhfhrohhmpedfffgrnhcu nfgrnhhgihhllhgvfdcuoegurghnsehlrghnghhilhhlvgdrohhrgheqnecuggftrfgrth htvghrnhepkeefueefieehgfefvddujefhheffvdethfdugeefgeevfffgvedtvdfhjeel ffdtnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgpdhgihhthhhusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghnsehl rghnghhilhhlvgdrohhrgh X-ME-Proxy: Feedback-ID: ifbf9424e:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9B74FBC0081; Mon, 12 Feb 2024 09:22:15 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 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 Message-Id: <42ea295f-5165-4fd5-b452-82d67f53ca03@app.fastmail.com> In-Reply-To: References: Date: Mon, 12 Feb 2024 09:21:55 -0500 From: "Dan Langille" To: "Luca Pizzamiglio" , freebsd-ports , ports-developers@freebsd.org Subject: Re: Subpackages: Update Content-Type: multipart/alternative; boundary=d771095765c44e41a548d629e7796bfc X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm3,messagingengine.com:s=fm3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from]; XM_UA_NO_VERSION(0.01)[]; FREEFALL_USER(0.00)[dan]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_THREE(0.00)[3]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4TYRVf2RG1z4rXg --d771095765c44e41a548d629e7796bfc Content-Type: text/plain On Thu, Feb 8, 2024, at 4:44 PM, Luca Pizzamiglio wrote: > Hi FreeBSD porters. > > Here are some updates about subpackages. > > At the moment, subpackages adoption is *on hold*, as a few annoying issues have been identified and they need some time to be fixed. > A bug about optional dependencies for subpackages has already been fixed (OPT_*_DEPENDS.subpkg was not detected correctly) > > The main blockers are: > * `make describe` is not subpackages aware. A fix is in review, but not yet ready to land. This is also breaking INDEX. > * `make install` doesn't allow for partial installation. A patch is ready and in review (https://reviews.freebsd.org/D43789) to address it (in reference to previous email threads) > * poudriere forces the rebuild of subpackages dependency. A PR is open and we hope to find a solution soon. > Additionally, `USES.subpkg` doesn't work properly at the moment: dependencies (LIB and RUN) are linked to the main package, instead of the subpackage. > > Because of those issues, some subpackage commits have also been *reverted*, waiting for the fixes to land, before being committed back. > > If you are thinking of adopting subpackages, *please wait* until things get fixed. > Once those fixes are out and the situation gets more stable, we will focus on the *documentation*. I'm thinking about this from a FreshPorts point of view. With respect to subpackages, what will people want to see on the page for a given port? * list subpackages for this port? how do I get a list of subpackages for a port? make -V SUBPACKAGES ? * list of packages built by this port (I'm guessing packages.yaml will point back to the port) * is there any other information thought to be relevant to have on the page? re: https://github.com/FreshPorts/freshports/issues/544 -- Dan Langille dan@langille.org --d771095765c44e41a548d629e7796bfc Content-Type: text/html Content-Transfer-Encoding: quoted-printable
On Thu, Feb 8, = 2024, at 4:44 PM, Luca Pizzamiglio wrote:
Hi FreeBSD porters.
<= /div>

Here are some updates about subpackages.

At the moment, subpackages adoption is on hold= , as a few annoying issues have been identified and they need some t= ime to be fixed.
A bug about optional dependencies for sub= packages has already been fixed (OPT_*_DE= PENDS.subpkg was not detected correctly)

Th= e main blockers are:
* `make describe` is not subpackages = aware. A fix is in review, but not yet ready to land. This is also break= ing INDEX.
* `make install` doesn't allow for partial inst= allation. A patch is ready and in review (https://reviews.freebsd.org/D43789) to address it (= in reference to previous email threads)
* poudriere forces= the rebuild of subpackages dependency. A PR is open and we hope to find= a solution soon.
Additionally, `USES.subpkg` doesn't work= properly at the moment: dependencies (LIB and RUN) are linked to the ma= in package, instead of the subpackage.

Beca= use of those issues, some subpackage commits have also been reverted<= /b>, waiting for the fixes to land, before being committed back.

If you are thinking of adopting subpackages, pl= ease wait until things get fixed.
Once those fixes are= out and the situation gets more stable, we will focus on the documen= tation.

I'm thinking about t= his from a FreshPorts point of view. With respect to subpackages, what w= ill people want to see on the page for a given port?

* list subpackages for= this port? how do I get a list of subpackages for a port? make -V SUBPA= CKAGES ?
* list of packages built by t= his port (I'm guessing packages.yaml will point back to the port)
* is there any other information thought to = be relevant to have on the page?

<= /div>
--
  Dan Langille
  d= an@langille.org



--d771095765c44e41a548d629e7796bfc--