From nobody Fri Jan 26 11:09:40 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 4TLw3m3L9Xz588pX for ; Fri, 26 Jan 2024 11:11:00 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (mailgate.leidinger.net [IPv6:2a00:1828:2000:313::1:5]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TLw3m03nTz41FF; Fri, 26 Jan 2024 11:11:00 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1706267446; 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=og104iVQZtRI8uxitl0hZPTB7YOu/Krgt08DrUNEhCs=; b=bNJjTM4Kuf+/vRcp2Q37drPngEIsy2+xgmCJTPT6g+DM+ZGxvKCrNfhvPIoXuA+LKWjqKq XzBlClHjl4SVsopQ/9gkgbT1LehHAtggrhu71CaZeOPeyT/udncrrx4WhsiwC+fmZWRmeu MKtD9NE+GfNf0HQxVmEnH2sm9aqA+/IKgypOK0U5v6fQGqCiMUQi+3gzu1mOm1cJGCectR HlRFNQ2S4mPMBQUHv52rJqjMJRCfVEooieZ+9xqoP6GZMfzL/+PjPMUQub2SrjkV0i30DB 93buXCB4ormScjf1cyit4OSGurbK9VOw9jDUrY+fIX9es/JhjcsjBdWM4ZeHRw== Date: Fri, 26 Jan 2024 12:09:40 +0100 From: Alexander Leidinger To: Alex Dupre Cc: Gleb Popov , Stefan Esser , freebsd-ports , portmgr , FreeBSD Core Team Subject: Re: This is going to break port building without poudriere! In-Reply-To: <31d03471-54b8-7217-c59c-d25394e49d66@alexdupre.com> References: <4b1f2470bf476f0f9e8f8b689c585c43@Leidinger.net> <31d03471-54b8-7217-c59c-d25394e49d66@alexdupre.com> Message-ID: Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_e8ffe6ebf5ef8f1743180da150172e9c"; micalg=pgp-sha256 X-Rspamd-Queue-Id: 4TLw3m03nTz41FF X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:2a00:1828::/32, country:DE] 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--