From nobody Fri Jan 26 12:16:03 2024 X-Original-To: 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 4TLxW66kG0z58G7p for ; Fri, 26 Jan 2024 12:16:18 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TLxW66BG9z47Ng; Fri, 26 Jan 2024 12:16:18 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706271378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fKHXGi6C53LNmnRT/FXr5BHDcv6jfkipj/1CIVjR40c=; b=s2uZhHVVFO6KuQ/jKrIe9haUQWURQgr83zZITvMXz1HsFtgsIqitDdIQgq5fGydOqmsfJw b4mzHodt2gcPi3zT8eKW+FizlJ/B1d4repWl11aAhl6UBihVBqVyeWlnt7BlGSsVwlfMzb +fbUZcaGGQumpp/b5njyBSYkn4FBtPQYKlRnCbzjG/MiFyMR/ob4HnNY4ZzzT7IewFHy+W DIgA6rhftxwgpGVzA+3T5wNb8B41uiOir3+HnLYmhdYw/A1OC/hjpvj5Fb53DFfJwbcUJE Jozy5Az72uXy1HOHl30Wl32MeL/QuCwoYWBQSQZSb8pBY7rGEgILu1gyiFU9ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706271378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fKHXGi6C53LNmnRT/FXr5BHDcv6jfkipj/1CIVjR40c=; b=epT7LkMiEqfO8/p4sNQYc4Fvd7YKz7rkf1wJI0syFPBVp6+Ubmf+vzuph5FvgaIDaLSN76 vd7a+l7sJsec5kmlX89Q8eZBiEVl4G3ubHlFStJg646Rc4LjspQXX//NmjiGOS3gdTZO8h Erdwsfqvb4tjmUH9jHgh0iqmVc58l2NX0dAALqg/+TnG+RZvGu31EQlT2hbossNQ+8xOaP snFmRytafMmuvFi6SEgYrYprY4mdnE6uWaHeIdqO9AyLITj6AOGyG7aVW88GoPyHPQVSKs PvfWBWnuZkgpwWFfbZAv+1OwEEygEYIbuv1y1v7SznkBIpluOTGERZSRq+IjSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706271378; a=rsa-sha256; cv=none; b=d6yPCP47iSs5+PsvmWy4mwHrOatjh976bai97GInF5ecxNpA1fvDgZ6/ogzajhqR4LaWgs uyfcGprM+dUe3kK675hPekthTskjzpVcIlNh7OxPSNb2k83PYme8Up95W6ktJT5UWcURtT fWCkZaR+1kpnifZqoAuu4gKoOdXPX7CDFnA7V+hlJjnklccHUGj08OPO7K4KHrbW4NlsH4 qCJhQFLQGIORigrcUkxAoTr+bVK4vXBYWIyy9jWvkdn1Dde0wyamE2ycZVnDu7T+plfS01 se4hHNxFVd2vUKD5fU/hQU4YizJ9AlMkpV06fOr5VCKCBIoXg04xvL6pVaTBpg== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (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) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TLxW61WPJzVHp; Fri, 26 Jan 2024 12:16:18 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id 95bc0752 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Fri, 26 Jan 2024 12:16:14 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_D88A8041-D07A-4F7C-B67F-DB20F709AA52"; protocol="application/pgp-signature"; micalg=pgp-sha512 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: This is going to break port building without poudriere! From: Moin Rahman In-Reply-To: Date: Fri, 26 Jan 2024 13:16:03 +0100 Cc: Stefan Esser , portmgr , FreeBSD Core Team Message-Id: <3AEC7D6E-3288-4CF1-80B0-C5927C2E9C96@freebsd.org> References: <4b1f2470bf476f0f9e8f8b689c585c43@Leidinger.net> To: freebsd-ports X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_D88A8041-D07A-4F7C-B67F-DB20F709AA52 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 26, 2024, at 12:12 PM, Luca Pizzamiglio = wrote: >=20 > Hi Alexander. >=20 > You understand correctly what I wrote: > * Several master/slave ports can be converted to use subpackages. > * Php is a potential candidate for subpackage adoption > However, I wasn't explicit on the fact that I won't impose subpackages = adoption on anyone. > Specifically, I don't want to convert php into subpackages right away, = there are smaller/easier examples to tackle first. > And in general, the maintainer is the one making the decision, and = they can disagree with me. > An experimental adoption will be considered for lang/php83, existing = versions won't be converted. >=20 > As you pointed out, there are two challenges specifically for php: > * moving all extensions (slave ports) to subpackages in lang/php* can = significantly increase build times (for ports users) and its dependency = list (for pkg users) > * the meta php-extensions port is a convenient way create a custom = group of extensions > Php port could be converted into subpackages if and only if we can = provide a similar experience as before. > To do that: > * we would need to add options to enable/disable extensions, in order = to manage build times and dependencies > * we need to provide the similar meta php-extensions package, as it's = largely used >=20 > If the maintainer finds out that subpackages are not suitable for php, = they won't be adopted. >=20 > Best regards, > pizzamig >=20 Hi Everyone, Comments are in point of me being the php maintainer: It's not that I haven't checked it yet about the possibility of converting php ports to subpkgs but there are some issues. Not all extensions can be converted to subpkg and there will be some pkgs left out as standard pkgs. So for example there will be a mix of # pkg install php83~opcache and # pkg install php83-xmlrpc Which is a mix of both worlds and will be a real pain point as we have to memorize which was where. Although there is a php8X-extensions package but not always everyone uses that. It's just sort of a meta pkg which installs a group of pkg. But at least this pkg is not at all advised by me although it helps to install couple of extensions in one go. Noone should have extra extensions installed in a system without any reason. At least I have been B enough not to have it available in the work environment and developers install the extensions individually. About build time I would like to say also inline with ale@. No shared codes are actually rebuilt during the build of other extensions. The only target that happens to be repetitive is installing php itself. And extract target is also carefully crafted to extract only the related files. And contrary to other ports not only I have to play with the ports itself but also in the php.mk. :'( Will I convert php to subpkg? Not at this point. For the sake of sanity and maintenance in php.mk my options are either php81 or php83 at this point. php81 is going to be removed in a year so no point in investing time on that. php83 is being used in production at my workplace and means that I have to also update another 200 hosts and fix some corner cases at my work place which I do not want to do atm. So most probably in the coming months when php 8.4 or 9.0 is released I will give it another try with a fresh look rather than existing codebase of the ports itself. For now everything is good in php world. :) Although there are lots of other places for playing around with subpkg and I will do so if I find suitable candidates. Kind regards, Moin(bofh@ with all hats off) --Apple-Mail=_D88A8041-D07A-4F7C-B67F-DB20F709AA52 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmWzooNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJGIig/+LOtcbjrdvYXGGdDWi8X7IVdiRQCVO0ZxuYbP/O48sngZ8/2YFhVx7DOT QRQZOvgYQXPxvll+iMCiCs34KwA+FLsIWM2o4qFALB6eqgHHMazEFWyzfy7iLtu9 TZyrz+NaS4gCFR6uWbnPPxczEBHEiiDJw54T4zxbtxE25lqXnRZ3nKhSQumU0sA9 hrr964gpoIl569UE6DH3PtC6vUDuUswLEeUquoRLDPw/v+/0TXYrRrQ1C7Aov68E zy9sWjEbjZefNC2htQsgFsN7dz01d+mMeG7kd3DIsx04kHIQQs4mghXCzEQwSnen hf2eV3VgSGA+Dd365L5wr1EXyvviO3ANwWwofNKMjQB/7cgLb/7p2SNzFBab5V3R /XJn6X0JJ6tk0J25DgwFGqXA4vKjgyP61O3ri+CQgbTxUugRaQbg27jCtkyZUTvY 3XwHilEia4g/92/VFfe3yxNWicH4j1XyMavrEjlEI3kGp3qL7a+tycpFxhOKV5+W qEoDH1bDzF71EcMOTujBNQiNl+kJlknBsnBB0p5fm+A2RppbcHFbK+rvRqpHB1uY ge2V/nJOx4uTySsRr8Ee0JPWhAF4gPX2Vd9YsbfPFilBbOaY3z1OofAVR7X2BLw0 XfpyQdU6BCtWkbGuOlR+6xEpox2Zq8YhURrVjt/TYsi+gyRfwjA= =ALXV -----END PGP SIGNATURE----- --Apple-Mail=_D88A8041-D07A-4F7C-B67F-DB20F709AA52--