From nobody Tue Feb 20 20:24: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 4TfW9k0DXcz59Y1w for ; Tue, 20 Feb 2024 20:25:14 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) (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 4TfW9j1CC4z4h4y; Tue, 20 Feb 2024 20:25:13 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of luca.pizzamiglio@gmail.com designates 209.85.166.46 as permitted sender) smtp.mailfrom=luca.pizzamiglio@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-7c00128de31so164531339f.3; Tue, 20 Feb 2024 12:25:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708460711; x=1709065511; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DMkdyUcso5kYdVNeOYYj3lsDHqJCaIhWv46YND7WqGE=; b=Utg5VDDZIf+9SxCCRk+HnuPrphP2BknstQEp0gPKWXiw60IWi8q4rRMXSz77sywg3/ qArkGHCphfNYK3OxLjfd7S9UJD3Br9Uejedqs7UPGYvF9cDt9vYNIWJc7zw/ZLuipUpa OVLYudGjRNlvvPzkbuMLYtx7TSREvxoi2A28VoMqDOEtx+e2ucUTZtoyg3XZyht7jfpy NhZCAko5lL1cR8rDxJHWqpKKMwCpq1y/CxzPr32fR4vdrYjTKqmUER0F+NUgMruhUz3W 78ydiYfc5TIhB9rAc+6AzkJJXc0lmJR7yKtzGJJYatEXrG0vvJy0G6cE9lyXxAXTv1HC Kz/A== X-Forwarded-Encrypted: i=1; AJvYcCUwW1dvk2X3dfNxSULl17ff10l/WWqurZ6uxeUm+hx3I0jMIpBmXGtqE+cBc76pNe3vn5KbGXEHNzxESzKLTK24dLOctzRsTPwrjsFL X-Gm-Message-State: AOJu0YwvhvpQNsKND4gIhV+wKovW1bRO2x33AyUnoJI7dd2jKVyK70mJ yrzqN3FxF3kWRCLeW75/j7K8855Rc/at+GcF1jjaUj1yJvtBwaRaKQOXd7/y0qM= X-Google-Smtp-Source: AGHT+IHeGhIsQmd1qnWLXpxpwxE0+5Zs1If6E6PNLK/cnbKN0lgTAyPeEzUG9IaaR2a1sqdmw2LMAg== X-Received: by 2002:a05:6602:2766:b0:7c4:9618:5fcb with SMTP id l6-20020a056602276600b007c496185fcbmr20008822ioe.8.1708460711571; Tue, 20 Feb 2024 12:25:11 -0800 (PST) Received: from mail-il1-f174.google.com (mail-il1-f174.google.com. [209.85.166.174]) by smtp.gmail.com with ESMTPSA id b7-20020a5edc07000000b007c45ab3dc34sm2420989iok.29.2024.02.20.12.25.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Feb 2024 12:25:11 -0800 (PST) Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-365220a2c3dso15852375ab.0; Tue, 20 Feb 2024 12:25:11 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWg6VpV4KQpfa5aq/6Pevala05FyIOK3UYu5SRIS48YMrA90tx7AVI0Ak8yp/gRQvqITB6u11CR57YsUZR1hN9ai6QIfjsBFc/NyeWW X-Received: by 2002:a05:6e02:592:b0:363:d6be:c87e with SMTP id c18-20020a056e02059200b00363d6bec87emr14359402ils.27.1708460711223; Tue, 20 Feb 2024 12:25:11 -0800 (PST) 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 References: <42ea295f-5165-4fd5-b452-82d67f53ca03@app.fastmail.com> In-Reply-To: <42ea295f-5165-4fd5-b452-82d67f53ca03@app.fastmail.com> From: Luca Pizzamiglio Date: Tue, 20 Feb 2024 21:24:55 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Subpackages: Update To: Dan Langille Cc: freebsd-ports , ports-developers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ce27d30611d60123" X-Rspamd-Queue-Id: 4TfW9j1CC4z4h4y X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.89)[-0.889]; FORGED_SENDER(0.30)[pizzamig@freebsd.org,lucapizzamiglio@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.166.46:from]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[pizzamig@freebsd.org,lucapizzamiglio@gmail.com]; RCVD_COUNT_THREE(0.00)[3]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[209.85.166.174:received,209.85.166.46:from]; RCPT_COUNT_THREE(0.00)[3] --000000000000ce27d30611d60123 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Dan. The list of subpackages is available via `make -V SUBPACKAGES` Probably, the dependencies should also be split by subpackages, when this is the case. `make -V *_DEPENDS.subpkgname` provides the dependencies I can write directly in the github issue some of those things, for referenc= e Best regards, pizzamig On Mon, Feb 12, 2024 at 3:22=E2=80=AFPM Dan Langille wro= te: > 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 an= d > 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 focu= s > 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 > > > > --000000000000ce27d30611d60123 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Dan.

The list of subpacka= ges is available via `make -V SUBPACKAGES`
Probably, the dependen= cies should also be split by subpackages, when this is the case. `make -V *= _DEPENDS.subpkgname` provides the dependencies

I c= an write directly in the github issue some of those things, for reference

Best regards,
pizzamig

=

On Mon, Feb 12, 2024 at 3:22=E2=80=AFPM Dan Langille <dan@langille.org> wrote:
On Thu, Feb 8, 2024, at 4:44 PM, Luca Pizzamiglio wrote= :
Hi FreeBSD porters.

Here are so= me updates about subpackages.

At the moment, s= ubpackages adoption is on hold, as a few annoying issues have been i= dentified and they need some time to be fixed.
A bug about op= tional dependencies for subpackages has already been fixed (OPT_*_DEPENDS.subpkg was not detected correc= tly)

The main blockers are:
* `m= ake describe` is not subpackages aware. A fix is in review, but not yet rea= dy to land. This is also breaking INDEX.
* `make install` doe= sn't allow for partial installation. A patch is ready and in review (https://revi= ews.freebsd.org/D43789) to address it (in reference to previous email t= hreads)
* poudriere forces the rebuild of subpackages depende= ncy. A PR is open and we hope to find a solution soon.
Additi= onally, `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 commit= s have also been reverted, waiting for the fixes to land, before bei= ng committed back.

If you are thinking of adop= ting 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 peo= ple 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?

--
=C2=A0 Dan Lang= ille



--000000000000ce27d30611d60123--