From owner-freebsd-questions@freebsd.org Fri Jan 24 21:49:42 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C2D01FCC8E for ; Fri, 24 Jan 2020 21:49:42 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 484CTx2QpHz4bMy for ; Fri, 24 Jan 2020 21:49:40 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 00OLndZV099675 for ; Fri, 24 Jan 2020 16:49:39 -0500 (EST) (envelope-from doug@safeport.com) Date: Fri, 24 Jan 2020 16:49:39 -0500 (EST) From: Doug Denault To: freebsd-questions@freebsd.org Subject: Re: Is this just the way it is?? In-Reply-To: <20200124210711.a1deab26.freebsd@edvax.de> Message-ID: References: <20200124210711.a1deab26.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Fri, 24 Jan 2020 16:49:39 -0500 (EST) X-Rspamd-Queue-Id: 484CTx2QpHz4bMy X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-1.86 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[safeport.com]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.76)[ip: (-4.07), ipnet: 198.74.228.0/22(-2.03), asn: 11288(2.35), country: US(-0.05)]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 21:49:42 -0000 On Fri, 24 Jan 2020, Polytropon wrote: > On Fri, 24 Jan 2020 13:22:36 -0500 (EST), Doug Denault wrote: >> I recently undated my laptop and desktop to 11.3. The laptop around >> Thanksgiving and the Desktop in January. I came across an application to >> replace one that was changed in the 11-rel tree with no way to convert a >> database without the old version. Which programs really do not matter to my >> question. > > Sidenote: FreeBSD version 11 is on its way to EOL. In case you perform a new > installation, you should probably use version 12 (the latest release of that > branch), except you have a good reason to use older and (as it will become) > unsupported version. > > > >> On the desktop, the new package installed and just worked with no issues. It >> turns out this program can not be run on my desktop via an ssh tunnel. So I >> thought I would just install in on my laptop as I am 1,000+ miles away. >> >> The package installed fine again no issues. When run however the package >> wants Qt5.13.2 and Qt5.13.0 was installed. Again fine, just compile the >> program. > > That indicates some problem. When you install something via pkg, the > dependencies _should_ be correct, i. e., if a program requires Qt as a runtime > dependency, and Qt is not installed, it will install the exact version needed, > in your case, 5.13.2. In the package sources, the newest version should be > present anyway, and 5.13.0 numerically is the older version. > > > >> Oops >> no option to accept the installed Qt and the build failed anyway. Okay no >> program, just upgrade Qt5. It turns out doing that will upgrade firefox >> thunderbird, add a 3rd version of python and upgrade about 1/3 of the 550 >> packages installed. > > Yes, because all programs linked against the older version will now have to be > linked to the newer one. > > What you see looks like a version mismatch of ports and packages. An old > problem. If you want to use both packaged software _and_ your own compiled > software, you need to make sure that _before_ you start, you have the most > recent ports tree ("portsnap fetch extract"). > >> So is this just the way things are? Relative to python, I'm 99% sure >> python36-3.6.9_1 works just as well as python36-3.6.9_3 or python37-3.7.6. I >> thought (hoped??) the with recent change to package/ports would result them >> not being this tied to sub-sub version changes. > > Exactly my observation. In my message "FreeBSD updating experience" > dated Thu, 19 Dec 2019 18:15:47 +0100, I wrote: > > * quote * > > If I install the Midnight Commander, both Python 2.7 and 3.6 get > installed, with several modules, each in the 2.7 and 3.6 version. > > Some user-facing "normal" application (whose name I forgot) will install gcc, > even though no compiling takes place, and the program itself is not related to > any kind of programming. I think it was something like pdftk that installed > gcc and binutils, and wine installs gcc9... > > * end quote * > > With software components _not_ conflicting, this surely is not a problem, but > as in your case, massive recompiling is definitely annoying. > >> I'm just going for a yes or no. In the past you had a python 3 and 2.7 if you >> needed it. No so now I guess?? > > No, yes, it depends. ;-) > > Maybe (!) what you're seeing is due to the fact that you're > using FreeBSD 11 instead of 12, combined with a slight version > mismatch of ports tree and pkg source. Not really, at least with python, as per /usr/ports.UPDATING. I understand all this. My question was/is all this really necessary. The answer seems be be not with python. I pondered about Qt as that is a pretty basic component in a GUI environment. In any case I think having to essentially rebuild my workstation to install a utility to store passwords is not something that should be defended. I can slide to 11.4 when the time comes. I appreciate all the comments and information. I have information as to going forward with my obsession of using FreeBSD as a workstation. Doug _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277