From owner-freebsd-ports@freebsd.org Tue Feb 9 13:46:51 2016 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 447C7AA3790 for ; Tue, 9 Feb 2016 13:46:51 +0000 (UTC) (envelope-from jim@ohlste.in) Received: from mail-qg0-x22b.google.com (mail-qg0-x22b.google.com [IPv6:2607:f8b0:400d:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08DE81287 for ; Tue, 9 Feb 2016 13:46:50 +0000 (UTC) (envelope-from jim@ohlste.in) Received: by mail-qg0-x22b.google.com with SMTP id b67so53127807qgb.1 for ; Tue, 09 Feb 2016 05:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohlste-in.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=xgO9mj9qQXPGeO5Kma7JUCJnYYuXdPPM/kjSAMv3EME=; b=fo71lmH1+UVEmrpvXTyhXTrEqV701M0umyT0vDi5DQeZnz9hxYRmVDXGa/Ss9ydHRF 8njuIqhafh1u0FqTF+yX44o79IUvsvADyMaj9RB71VJQYdQyeDi1lZK0EpQEgOV0eyRM U0kyIuwBkWKou/chffJWjw+KZbhXNtUhWHSpLXTLXRe0RSqh0LtCkgDDjuYOYw1Kzjvp fxpYHoyl3x7GI86bX5gvWQ8X/Nqr2ox2MIo4rFgW4/AfzjNYAMFZeGUNQAKyhHcNhN07 ABYeBtdjRo8e9PGkH8YolSp9QFADBrc6Iz0hxWETzxb5VH2NloDM58eKUc2MCQy4q1J9 PhQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=xgO9mj9qQXPGeO5Kma7JUCJnYYuXdPPM/kjSAMv3EME=; b=L3cg3PT+k98zziGTnxzaA/g13t5HZLmTcBtUJI920vGzv7sVtxC08ARgmTvA/4ik51 niHyXJqafGoNAX4bcNtPQl2ZtdP4yO2WEO3/1Uhf3HFaUd5eyhUTQuuTHrdaySnkznah oAvZF0TXhhn1rJXLoO1I2O6WcA3jQN8bbw9txVv0FVoO6OWK+7hDG0FqOEzV886D2Vtf O6xoYjmNiC8Bbq6oLvREyRgKiEI0ceK8VnJL5Jw2ScIO4bD+Ac++G0AU0hSGV/qlNnaZ 4TkRe/rGk91kChGcwHp6CeN9Wz758vaZhZj/VV9bdtUWolqkuTvi8WHdIWOH0vmM5KZR elWg== X-Gm-Message-State: AG10YOSz54sD1gAGYjMkktzJHmNKTtDFsnu0MqBlr1cJU4RdeG7DVk9Ghoi0jsKx+ayOFg== X-Received: by 10.140.254.9 with SMTP id z9mr43323874qhc.5.1455025609593; Tue, 09 Feb 2016 05:46:49 -0800 (PST) Received: from [192.168.1.18] (pool-96-249-243-37.nrflva.fios.verizon.net. [96.249.243.37]) by smtp.googlemail.com with ESMTPSA id j75sm13072106qge.41.2016.02.09.05.46.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Feb 2016 05:46:48 -0800 (PST) Subject: Re: Removing documentation To: John Marino , Hrant Dadivanyan References: <56B9D609.6030407@marino.st> Cc: FreeBSD Mailing List From: Jim Ohlstein Message-ID: <56B9EDC7.1010403@ohlste.in> Date: Tue, 9 Feb 2016 08:46:47 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56B9D609.6030407@marino.st> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 13:46:51 -0000 Hello, On 2/9/16 7:05 AM, John Marino wrote: > On 2/9/2016 12:45 PM, Hrant Dadivanyan wrote: >>> 1) As was just stated earler this morning, having synth installed is 2 >>> packages: Synth itself and ncurses. These "17 dependences" are build >>> requirements and not installed. So what is "unreasonable" about that? >> >> So will require any upgrade of synth by itself, correct ? If build from >> sources, of course. > > You don't build all 17 dependencies every time, it's incremental. And > even if you did, it would take like 20-30 minutes, at most (mainly gcc). > I would not call that "unreasonable" because time isn't critical here. > Most of the dependences are common to other packages too. > After all of this "discussion" I decided to give synth a try. I have no pony in this race as I use neither portmaster nor portupgrade. Both may still be in my repo, but they are not installed. The build time of "like 20-30 minutes, at most" is ummm... let' just call it optimistic. I only needed five new dependencies. Poudriere was unable to take advantage of more than two parallel builders except for a rather short overlap where it used three, if I recall correctly. The vast majority of the time it used only one builder. Build and package time for gcc6-aux was 34:52 on an Intel E5-2650 v3. Build and package time for binutils, required for gcc6-aux, took 4:44. That's pretty close to 40 minutes for just two dependencies, one of which is a dependency of the other. Build and package time for synth was 1:09. I installed synth and had a look at the man page. Nice job on the documentation though I might suggest more real world examples, in an "Examples" section at the end, would be helpful to people like me who want to understand how to get started. Sort of like a "quick start guide" that comes with a new electronic component. Get it going and then read the details on what's really important for the specific use case. That shouldn't be construed as a knock on the documentation, which really is very good. This was last night and I haven't tried building with it yet. I need to re-read the documentation. I do however have concerns, the biggest of which is, yes, the dependencies. I use poudriere because I like to build packages myself for my installations and with my options, so using the FreeBSD repo version of synth will be a non-starter. That means that I'll need to rebuild gcc6-aux every time I need to rebuild synth, assuming gcc6-aux has been updated. It's a fair guess that gcc6-aux is regularly updated (the current version is dated 20160124). It's also a fair guess that synth will go through a few iterations in the short term given its youth. Looking at my recent build logs, the longest builds I run are far shorter than 35 minutes. This will slow things down and I'm not certain I'm going to be willing to keep a package in my repo that requires that amount of build time just as a dependency I otherwise would never build. To be honest, synth, which I will try, will have to be _far_ superior to poudriere in order to replace it as my tool of choice. Of course that's my use case and mine only. > >>> 2) If 17 dependencies are such a concern, why would you not install it >>> via official freebsd packages? >> >> Ports buiding is also official. Phrasing of your question sets the >> preference in favour of prebuilt packages, my preference is opposite. > > I don't think that's really answering the question. That's a case where > you consciously reject a fast, easy solution for a different one, but > then don't accept the consequences. Yes, it's fine fine to build form > ports (although I would be careful with "official" because everything is > pushing towards packages), but if you choose to build from source, you > are choosing to also build the build dependencies. That's not something > you have to do. I would actually say that complaining about known > consequences of an conscious decision is unreasonable. > > by the way, packages *are* favoured. That's been the case for a while. > > >> In my case it's just a preference to build everything locally. > > so the cost for this preference is extra time and extra building. > That's fine. The build dependencies are not installed. Obtaining synth > from building on /usr/ports works too, but then the build dependencies > *are* installed. So using a provided package would be the better way to > avoid the extra installations. > > >> There is no need to address it, because of two quite different use cases. >> As far as I can see synth is excellent in some cases, my point is that >> portmaster is fine in some other ones. > > I did want to point out that there are many known bugs and open reports, > so it's not "fine" for everyone. You've apparently not hit them so > that's great for you. > > Actually, I don't care what you use, but the using build dependencies as > a justification for not using it and labelling it "unreasonable" at the > same time, I just wanted that expanded on. I don't know if you still > think it's unreasonable, but I do appreciate that you took the time to > respond. > > P.S. If FreeBSD 11 didn't regress with ncurses (PR 199109) then > probably we could provide synth with NO runtime dependencies. But there > doesn't seem to be any interest in fixing the regression unfortunately. > -- Jim Ohlstein "Never argue with a fool, onlookers may not be able to tell the difference." - Mark Twain