Re: Subpackages: Update

From: Max Brazhnikov <makc_at_freebsd.org>
Date: Sun, 18 Feb 2024 10:08:10 UTC
On Thu, 8 Feb 2024 22:44:17 +0100 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
> <https://cgit.freebsd.org/ports/commit/Mk?id=064923481f420136c46895d1047344c580be3c25>
> (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.

Shall we revert commit to alsa-plugins as well until these issues are sorted?

Max