From owner-freebsd-ports@freebsd.org Mon Aug 27 08:15:53 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 0227D109092D for ; Mon, 27 Aug 2018 08:15:53 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) (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 8AFDB83BC6 for ; Mon, 27 Aug 2018 08:15:52 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd19.aul.t-online.de (fwd19.aul.t-online.de [172.20.27.65]) by mailout04.t-online.de (Postfix) with SMTP id 397AF41B41C6; Mon, 27 Aug 2018 10:15:45 +0200 (CEST) Received: from Stefans-MBP-LAN.fritz.box (rXhCg-ZQghG8hGskyEyg0DuqyvU6E9A0frP23CUzD-rSiSwqoVUj56yDNIETBRkgR5@[80.128.104.76]) by fwd19.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1fuCga-0oAsHw0; Mon, 27 Aug 2018 10:15:44 +0200 Subject: Re: Ports vs packages To: FreeBSD Ports ML Cc: Gregory Byshenk , Pete Wright , Jos Chrispijn References: <5e365091-6889-2f65-78ac-637a7155733a@cloudzeeland.nl> <9ff8da9a-8905-8b05-564a-a56cfb6da6af@nomadlogic.org> <20180826195536.GQ78383@v1.leiden.byshenk.net> From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3W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vY405wjeyxpVZkpq ThDMurqtQFn1ABEBAAHCwHwEGAEKACYCGwwWIQSjceplnAvsyCtxUxNH67XvWv31RAUCWvLv qwUJCyUBGQAKCRBH67XvWv31RLnrB/9gzcRlpx71sDMosoZULWn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Message-ID: Date: Mon, 27 Aug 2018 10:15:42 +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: <20180826195536.GQ78383@v1.leiden.byshenk.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ID: rXhCg-ZQghG8hGskyEyg0DuqyvU6E9A0frP23CUzD-rSiSwqoVUj56yDNIETBRkgR5 X-TOI-MSGID: 0f4cf036-60bb-46cd-98ed-c3c5c4f3ea58 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, 27 Aug 2018 08:15:53 -0000 Am 26.08.18 um 21:55 schrieb Gregory Byshenk: > On Sun, Aug 26, 2018 at 01:01:24PM +0200, Jos Chrispijn wrote: >> On 26-8-2018 2:07, Pete Wright wrote: >>> one thing i do for my systems is if there is an update to a port i >>> need/want to test before the official build cluster is done is run a >>> "make package" in the port directory.? then i can install the updated >>> code as a pkg for future upgrade convenience.? this works great for >>> ports without many external dependencies at build-time, not so much >>> when things like llvm need to be build ;) >> >> I did that once myself but ended in total chaos because I found out that >> using ports and packages next to each other is not a good marriage. >> Port options that may have been enabled may be overuled by packages >> (which are always built using the default options). Not for a specific >> port but with regards to the depencies is will us (and which may already >> been installed as packages). >> >> I am quite a nub on this, so perhaps the problems were otherwise. Since >> I completely switched to packages, these issues are gone. > > If you are using packages by default, then this shouldn't > really be a problem. Your packages should have default > options, so if you build one port - using the default > options! - then there should be no serious conflict. At > least when there are few/no dependencies, as Pete notes. > > Where you can get into problems is if you are building > using ports by default, along with non-standard options, > and then try to add packages. That can get very ugly. To be fully compatible with official packages, you have to build in Poudriere with the same FreeBSD version as used of the official builds. Building in your host environment might cause conflicts between shared libraries, if the shared library version used for the packages (from the oldest supported release of the FreeBSD version you use) might be too old to match what you use in a newer release of that FreeBSD version. Regards, STefan