Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2024 12:09:40 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Alex Dupre <sysadmin@alexdupre.com>
Cc:        Gleb Popov <arrowd@freebsd.org>, Stefan Esser <se@freebsd.org>, freebsd-ports <ports@freebsd.org>, portmgr <portmgr@freebsd.org>, FreeBSD Core Team <core@freebsd.org>
Subject:   Re: This is going to break port building without poudriere!
Message-ID:  <e4fde8bfe98c733f4854233e6209bebb@Leidinger.net>
In-Reply-To: <31d03471-54b8-7217-c59c-d25394e49d66@alexdupre.com>
References:  <CAB88xy-8hAknWJDRBjbJo2%2Bw878ZMosKcvQbpKVzwq%2BH7%2Bzuyg@mail.gmail.com> <cd0c0cb0-6035-45b4-b3e8-d99115e6c013@FreeBSD.org> <CAB88xy8gTC4UJK0fOiHnVCFf0AGtLoHfHdOAF29zChQ8=5SV6w@mail.gmail.com> <d6a7c9725edd734aca842d6ce85b0be2@Leidinger.net> <CALH631ntQ8VzqhDmyxpcXwpZU0jsALgi_74qzLpNDSBLtGNXRA@mail.gmail.com> <4b1f2470bf476f0f9e8f8b689c585c43@Leidinger.net> <31d03471-54b8-7217-c59c-d25394e49d66@alexdupre.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

--=_e8ffe6ebf5ef8f1743180da150172e9c
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

Am 2024-01-26 11:42, schrieb Alex Dupre:
> Alexander Leidinger wrote:
>> Did I misunderstand that Luca wants to convert master/slave ports like
>> my php case into subpages aware ports to cut down on package build 
>> times?
> Honestly PHP would be the worst example to be converted, PHP extensions
> can be built individually, they don't build the core PHP every time.
> There are other master/slave ports where a big percentage of the code 
> is
> compiled in all builds.

The extract/configure vs build ratio is bad compared to a "build 
everything" case. Other ports may cut down more on the build time. The 
reason I used the php port as an example is the amount of extensions it 
provides = the mount of packages it could generate when converted to 
subpackages, and because it fits the "use master/slave ports as a last 
resort" case (= use subpackages instead of master/slave = no slave port 
to depend upon = no slave port to depend upon). Without making it 
explicit in the docs that this is a bad idea and why, it would mean 
someone will provide a patch or introduce a smiliar cased port and the 
fear of suboptimal port builds will be realized.

To my understanding the current implemntation does *not* separate the 
concept of individual packages which can be build vs origin (except we 
keep slave ports for subpackages, which defeats the purpose to cut down 
on build time during package building). This understanding can off 
course be wrong, so any example which makes me understand that this is 
not the case is welcome.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_e8ffe6ebf5ef8f1743180da150172e9c
Content-Type: application/pgp-signature;
 name=signature.asc
Content-Disposition: attachment;
 filename=signature.asc;
 size=833
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmWzkwQACgkQEg2wmwP4
2IYrcQ//bpuMrtNvEIavW3vpp2sm4MxBVX3KbBudZ7k2c8PCVj/njlGQ3EE8NzAm
mHfbmyqZjpGPtj8YdelBuxi1FlYrDx9WdI7fsnDuM0TNIjCMSFNFKWAQjxOeLRyl
LdN+YW13XqWc/be9LpqqCBA10n2Q76u3OHRecB5f8AYbVYK3SpDO1BXZJ5TbyKXy
UWPRHeRBlQmI9/uqUR4RT5XTvUwYeRQTvTHJ/gSqpUIVHfGUQ28/lP6h52d2N3V3
AhKLaFzHLEEkgVuwySZLVP36O+PaHOy3RfKe7f7t3ASneAF+AAepXYImbOCPfiQw
1R9+IKqKwrcdgjASajoR0EqH+f4RsqW6qYpwdN+35Sx/UlA8TQI1/9HgpH3qa+WB
eOks+z1YZe4skWH3ZFz7AAVjipoPcHGZn04ZxWZG11o9bwNDczam17vfYw6YXSiT
3XyMcZ4Yq3zMsjNRQpEx7pDTe2IyENIm7yEgwO2fabUho3JW2EzoU2RmEKUfmW/z
RE1iFVwUoTE/skIIl5TUI9d5igVGCg3rPR7y7v5rroQiv63AY5sQuvLEN8vGVGMJ
XBGPRVd3+Ehfmosb2tjEGpGCcQFxo3K4gs0Rlo43+3cqGxIqaUGotCD6qL13PDtJ
PfNXrGbQYH2acrrd2de+O7cxkeYkxeV2PoRQQiw2b2xbz+1OlH8=
=LcWT
-----END PGP SIGNATURE-----

--=_e8ffe6ebf5ef8f1743180da150172e9c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4fde8bfe98c733f4854233e6209bebb>