From owner-freebsd-ports@freebsd.org Wed Feb 8 18:37:02 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EB87CD6AB4 for ; Wed, 8 Feb 2017 18:37:02 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [185.24.122.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1815E1345; Wed, 8 Feb 2017 18:37:01 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from ultrabook.yoonka.com (ip-109-84-1-89.web.vodafone.de [109.84.1.89]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id v18IawGg006595 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 8 Feb 2017 18:36:58 GMT (envelope-from list1@gjunka.com) X-Authentication-Warning: msa1.earth.yoonka.com: Host ip-109-84-1-89.web.vodafone.de [109.84.1.89] claimed to be ultrabook.yoonka.com Subject: Re: ports and dependency hell To: Julian Elischer , freebsd-ports@freebsd.org References: <11a62a44-1fef-0c58-da13-b024c28b4a5a@freebsd.org> <3790621b-de85-9d9e-f75b-568120c7faff@gjunka.com> <477a6db4-60c1-f6a3-fd47-a26699f8411b@freebsd.org> From: Grzegorz Junka Message-ID: <1c5128f0-4dd2-dd08-1ccd-68bcb69350b5@gjunka.com> Date: Wed, 8 Feb 2017 18:36:52 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <477a6db4-60c1-f6a3-fd47-a26699f8411b@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:37:02 -0000 On 08/02/2017 08:03, Julian Elischer wrote: > On 8/2/17 3:17 am, Grzegorz Junka wrote: >> >> On 07/02/2017 18:03, Julian Elischer wrote: >>> This is a serious post on a serious issue that ports framework >>> people seem unaware of. >>> (...) >>> >>> The call "It just works under linux, select the versions you want of >>> each package and type make" is often heard around the company. And >>> management is not totally deaf. >>> >> >> Hi Julian, >> I may not fully understand how it works but what prevents you from >> getting sources for the version you want and typing make in them, >> exactly the way you do it in Linux? It should pick up the versions of >> dependencies currently installed in the system and compile for them. >> Is it only when you want to use the ports infrastructure that poses a >> problem? > > Nothing stops me from doing that. It's just that means that the ports > infrastructure is useless and a complete waste of time right? > I'm no ready to admit that, however I may just be in denial. > > also, downsides to doing that include: > > * not getting any FreeBSD related fixes (many packages don't work well > on FreeBSD without patches) > * not being able to play nice with software installed by packages > * having a hard time installing FreeBSD specific software that is > delivered by ports and pkg as it's primary means of delivery. > * having to manually chase package revisions. In areas where I have no > expertise. > Re 1, I believe you can still apply FreeBSD related patches after you have unpacked sources and before compiling them? Is 2 and 4 from your list somehow easier on Linux than on FreeBSD? As for 3, why would you need to compile them from sources, can't you just install them either from the official or a custom poudriere repository? Grzegorz