From owner-freebsd-ports@freebsd.org Fri May 18 20:46:29 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 6593AEDBD0B for ; Fri, 18 May 2018 20:46:29 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D6202697A7 for ; Fri, 18 May 2018 20:46:28 +0000 (UTC) (envelope-from se@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 91B24EDBD0A; Fri, 18 May 2018 20:46:28 +0000 (UTC) Delivered-To: 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 6CC9FEDBD09 for ; Fri, 18 May 2018 20:46:28 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) (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 E86E3697A5; Fri, 18 May 2018 20:46:27 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd32.aul.t-online.de (fwd32.aul.t-online.de [172.20.26.144]) by mailout01.t-online.de (Postfix) with SMTP id 1C2FE4318D68; Fri, 18 May 2018 22:46:20 +0200 (CEST) Received: from Stefans-MacBook-Pro-10.local (ZesPNUZYYhX53jtSKja4g7RoEsuZtp6WNqpV4CEXBu0m6lvZXYQd9gVbUzxhGemwXG@[84.154.105.176]) by fwd32.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1fJmGW-01ZLJQ0; Fri, 18 May 2018 22:46:16 +0200 Subject: Re: Why portmaster uses g++ not g++6 nor clang++? To: Rozhuk Ivan Cc: Koichiro Iwao , ports@freebsd.org References: <0101016373cfd7a2-a231a144-9162-4315-82b5-93d3823e99b5-000000@us-west-2.amazonses.com> <7c7d5ebc-e8e4-6a2c-92fc-879663cf5926@freebsd.org> <20180518231736.73f3b61d@gmail.com> From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SNpEs3x YATBy+L6NzWZbJjZXD4vqPgZSDuMcLU7BEdJf0f+6h1BJPnGuwHpsSdnnMrZeIM8xQ8PPUVQ L0GZkVojHgNUngJH6e21qDrud0BkdiBcij0M3TCP4GQrJ/YMdurfc8mhueLpwGR2U1W8TYB7 4UY+NLw0McThOCLCxXflIeF/Y7jSB0zxzvb/H3LWkodUTkV57yX9IbUAGA5RKRg9zsUtABEB AAHNKVN0ZWZhbiBFw59lciAoWWFob28hKSA8c3QuZXNzZXJAeWFob28uZGU+wsCWBBMBCgBA AhsDBwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AWIQSjceplnAvsyCtxUxNH67XvWv31RAUC WvLvqwUJCyUBEwAKCRBH67XvWv31REySCACc6vqcSFQCRyBRc2CV5ZBjbbnTy7VBoXbUS3/c 4Hn8I0YQ39q7//2z8vYsgLeM1mMXL4PUIU/0f0dBAFBLpxV7bntGzyCJls6SeGS/qcQKhqaI 6I7NcWg8OkIJIhUL6q238cS1ql9pU65fyHe0PP8JS08m81PDpX2/4wTE6h2jgYUy55eXRzoF MEjr1S8SSnidsBem27o7iWu9ltJsUtE86071iZlLzbuHv2nvucrjAV9cK9tHrxYT/YiY8QhT L48iWj2xIjLjg1ebmgIFZ2k881we/KTIoUugqOOR1gDSc4qwM8CA388cN3frjtl98CwhAT5T UV8tIDqri+/Z1AKwzsBNBFVxiRIBCACxI/aglzGVbnI6XHd0MTP05VK/fJub4hHdc+LQpz1M kVnCAhFbY9oecTB/togdKtfiloavjbFrb0nJhJnx57K+3SdSuu+znaQ4SlWiZOtXnkbpRWNU eMm+gtTDMSvloGAfr76RtFHskdDOLgXsHD70bKuMhlBxUCrSwGzHaD00q8iQPhJZ5itb3WPq z3B4IjiDAWTO2obD1wtAvSuHuUj/XJRsiKDKW3x13cfavkad81bZW4cpNwUv8XHLv/vaZPSA ly+hkY7NrDZydMMXVNQ7AJQufWuTJ0q7sImRcEZ5EIa98esJPey4O7C0vY405wjeyxpVZkpq ThDMurqtQFn1ABEBAAHCwHwEGAEKACYCGwwWIQSjceplnAvsyCtxUxNH67XvWv31RAUCWvLv qwUJCyUBGQAKCRBH67XvWv31RLnrB/9gzcRlpx71sDMosoZULWn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Message-ID: <379c8c25-1198-1e91-2f5b-511459a3362b@freebsd.org> Date: Fri, 18 May 2018 22:46:15 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180518231736.73f3b61d@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ID: ZesPNUZYYhX53jtSKja4g7RoEsuZtp6WNqpV4CEXBu0m6lvZXYQd9gVbUzxhGemwXG X-TOI-MSGID: ade2be39-d9ac-4b85-880e-0f054c34c976 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2018 20:46:29 -0000 Am 18.05.18 um 22:17 schrieb Rozhuk Ivan: > On Fri, 18 May 2018 20:30:38 +0200 > Stefan Esser wrote: > >> Sorry, this was my fault and I hope it is fixed with the follow-up >> commit to portmaster version 3.19-10. >> > > Sorry for offtopic, but if portmaster install some build dep or run dep > if does not mark it as autoinstalled, and: > pkg query -e '%a = 0' %o > show autotools, help2man and other build only crap as user install it, > pkg autoremove > does not remove this. > > Also --delete-build-only broken. > > portmaster -BgvDa -y --delete-build-only --local-packagedir=/usr/ports/packages --packages-local > if found some package - install it, and after install create package and overwrite original. > pkg create -n will prevent this, or additional checks, or just keep remember that pkg allready > exist because port just installed from it. I'm working on a completely new re-implementation of portmaster and the new version will get these points right. Fixing the current port version is too hard and wasted effort, since only the features and command line options are carried over, but none of the code of the current version. The current port master port was written at the time of the "old" package management tools (pre PKG-NG). It took me quite some time and effort to implement flavors support in that version, and I found that it is much harder to maintain that version than to rewrite it with the current package tools in mind. The new version is already able to upgrade ports, but it lacks some of the features of the old version (e.g. installation from local packages). But it is already better at tracking changes, e.g. as in the recent KDE4 port and package renaming (where both port directory and package name were changed at the same time and the current portmaster in ports has no way to track this change and to upgrade the affected ports). But I'm not going to implement all features of the current portmaster. E.g. I have no plan to implement dependency tracking via the INDEX file or the installation of packages from a remote repository (since mixing locally compiled and official packages is not well supported). But I plan to offer the installation of build dependencies from locally cached packages (and the deinstallation after they are no longer required). But the use case you described in your mail will be covered. I hope to have the new version ready for testing as a portmaster-devel port before the end of June. Regards, STefan