From owner-freebsd-ports@freebsd.org Mon Sep 17 12:31:56 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98404109C377 for ; Mon, 17 Sep 2018 12:31:56 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2397F7AD32; Mon, 17 Sep 2018 12:31:56 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd20.aul.t-online.de (fwd20.aul.t-online.de [172.20.26.140]) by mailout03.t-online.de (Postfix) with SMTP id 8EC0A4245D98; Mon, 17 Sep 2018 14:31:46 +0200 (CEST) Received: from Stefans-MBP-LAN.fritz.box (XNRpymZFrhkIrH9QG7axyg0yIj4lqMx6-rPdFd7m3v2nFGazQJ8fXW8sQRFDPCBw5t@[93.200.57.131]) by fwd20.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1g1sgr-03lSWO0; Mon, 17 Sep 2018 14:31:45 +0200 Subject: Re: RUN_DEPENDS and portmaster To: Matthias Fechner , freebsd-ports@freebsd.org Cc: Mathieu Arnold References: <03c14234-538d-fd9f-0c33-22825f3ea91d@fechner.net> <20180910101655.uzyriuylsucz7u3y@ogg.in.absolight.net> <9cf4d06d-e49d-aede-ca8f-b9ad1e9f19af@fechner.net> From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm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ey4O7C0vY405wjeyxpVZkpq ThDMurqtQFn1ABEBAAHCwHwEGAEKACYCGwwWIQSjceplnAvsyCtxUxNH67XvWv31RAUCWvLv qwUJCyUBGQAKCRBH67XvWv31RLnrB/9gzcRlpx71sDMosoZULWn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Message-ID: <957c48fb-bad8-a481-1626-54be15e34993@freebsd.org> Date: Mon, 17 Sep 2018 14:31:43 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <9cf4d06d-e49d-aede-ca8f-b9ad1e9f19af@fechner.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="D1gZrD4xOa82bhwBmYczeIuwq6xpy6eeU" X-ID: XNRpymZFrhkIrH9QG7axyg0yIj4lqMx6-rPdFd7m3v2nFGazQJ8fXW8sQRFDPCBw5t X-TOI-MSGID: e0609aae-ce78-48ab-ab23-c245b3e2188a X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2018 12:31:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D1gZrD4xOa82bhwBmYczeIuwq6xpy6eeU Content-Type: multipart/mixed; boundary="dE4vxClUgMBQs4KMYclTQveaVu8ahSngY"; protected-headers="v1" From: Stefan Esser To: Matthias Fechner , freebsd-ports@freebsd.org Cc: Mathieu Arnold Message-ID: <957c48fb-bad8-a481-1626-54be15e34993@freebsd.org> Subject: Re: RUN_DEPENDS and portmaster References: <03c14234-538d-fd9f-0c33-22825f3ea91d@fechner.net> <20180910101655.uzyriuylsucz7u3y@ogg.in.absolight.net> <9cf4d06d-e49d-aede-ca8f-b9ad1e9f19af@fechner.net> In-Reply-To: <9cf4d06d-e49d-aede-ca8f-b9ad1e9f19af@fechner.net> --dE4vxClUgMBQs4KMYclTQveaVu8ahSngY Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 17.09.18 um 07:47 schrieb Matthias Fechner: > Am 10.09.18 um 12:16 schrieb Mathieu Arnold: >> Reading Mk/bsd.port.mk at line 5274, run-depends are installed before >> do-install runs. >=20 > thanks, I see it the same way and created a PR for it, to get this fixe= d > in portmaster. You are of course free to create a PR against portmaster. But the behavior of portmaster will not be changed. RUN_DEPENDS are dependencies required to run a port, not dependencies required to install a port. And I do not care whether bsd.port.mk treats RUN_DEPENDS as if they were INSTALL_DEPENDS (which do not exist). The fact that bsd.port.mk works in that way is due to the fact, that it generally executes sub processes in a depth first manner. Portmaster distinguishes build and run dependencies and makes sure, that build dependencies not only exist, but are updated before the ports they depend on, while bsd.port.mk will use any build dependency that satisfies the range requirements (if any) and does not upgrade existing but outdated (in the sense that an upgrade is available) dependencies. Portmaster will then upgrade any out-dated run dependencies (again if an upgrade is available, not only if it is strictly required). Thus portmaster guarantees, that a port is built with the latest available build tools, and that run dependency upgrades see the upgraded port that requires them, in case they depend on it. I have spent hundreds of hours to work around the bad design of the FLAVOR support, which ignored the requirements of tools like portmaster or portupgrade. Changes to the port infrastructure tend to ignore the existence and requirements of build tools that have a decade long history and use cases not covered by the port infrastructure alone. I'm not going to spend any time on a change that made portmaster install RUN_DEPENDS before executing "make install" for a port. You are free to create a patch to that effect, but be aware that it is extremely likely to break lots of upgrade scenarios, and I'll make you responsible for fixing them (or back-out your assumed patch that treats run dependencies as if they were build dependencies). Regards, STefan --dE4vxClUgMBQs4KMYclTQveaVu8ahSngY-- --D1gZrD4xOa82bhwBmYczeIuwq6xpy6eeU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAlufnq8ACgkQR+u171r9 9UT+Fwf/WTQ1RScHcfplbvyly6yDTqx1WPKzLvTXLKfHE0ukNytoQ41pKT1oPKj3 z5LfNTqrGRt9L26mO5x9VhxWXOdhFulrveXqKVps3yFvMva6eqUQrAJ8kgMgoTZO St1H+wmIkHTPmZCw3nMJfKGp/teOZKONWmY941fW8vXMgXXHSeP3bteXtYrzS3xN /3bz3sndhGdv4CUGUlrk9qWb95VqO2/VrMsIFC/rFbftH1Aah7o5aVWjE4Drusqd 7iFyI6Pi0P7E8b9GqtG6bg6I+l0MAxy4YliKFb4Uq+yaejXl4+u1wn16H1h3cmYY 4mSJnAAqC9QBpesTlOwM+4Et2ASDzg== =7Vuk -----END PGP SIGNATURE----- --D1gZrD4xOa82bhwBmYczeIuwq6xpy6eeU--