From owner-freebsd-ports@freebsd.org Sat Dec 29 10:27:14 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 E4F69143B6D7 for ; Sat, 29 Dec 2018 10:27:13 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from mx.sdf.org (mx.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDC3B8F476; Sat, 29 Dec 2018 10:27:12 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from sdf.org (IDENT:bennett@otaku.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id wBTAR0OU024515 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Sat, 29 Dec 2018 10:27:00 GMT Received: (from bennett@localhost) by sdf.org (8.15.2/8.12.8/Submit) id wBTAR0cS007548; Sat, 29 Dec 2018 04:27:00 -0600 (CST) From: Scott Bennett Message-Id: <201812291027.wBTAR0cS007548@sdf.org> Date: Sat, 29 Dec 2018 04:27:00 -0600 To: koobs@FreeBSD.org Subject: Re: lang/python36 port problem Cc: freebsd-ports@freebsd.org References: <201812230911.wBN9BYpJ002958@sdf.org> In-Reply-To: User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: BDC3B8F476 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.09 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.85)[0.847,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sdf.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.62)[0.617,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[mx.sdf.org]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(0.65)[0.652,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.08)[asn: 14361(0.49), country: US(-0.08)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2018 10:27:14 -0000 Kubilay Kocak wrote: > On 23/12/2018 8:11 pm, Scott Bennett wrote: > > The last time lang/python36 was updated, something got messed up, so that > > now "portmaster -a" wants to reinstall it every time it is run, even if it is > > run as "portmaster -x Python36 -x python36 -a". It's a nuisance, a waste of > > time, and it increases the size of incremental backups. > > > > Hi Scott, > > What what the exact port version/revision that the issue you observe > first started? > I'm not sure because it was going on for a while before I noticed it. However, I found a way to make it stop. Searching back through the logs, I found an example of portmaster reinstalling as an *upgrade* from python34, which I no longer have installed. There is no python34 binary or other files as far as I can see, nor is there anything in /usr/ports/distfiles for [Pp]ython34*, nor is there a /usr/ports/lang/python34 directory. My pkg data base appears to have an entry for it that says it *is* installed. I have no clue how this situation came about. I don't know sqlite (or whichever data base system is used by pkg(8)), so I have no idea how to delete the bad entry. Meanwhile, adding "-x Python34 -x python34" has stopped the reinstallations. > What is the FreeBSD version (uname -a) of the system? It's 11.2-STABLE at r341329, but that probably is irrelevant now, given the problem in my pkg data base. > > Is the ports system portsnap based, or svn based? If the latter, is the > tree up to date and free of conflicts/local updates? The FreeBSD ports tree, in my experience, has *never* been free of conflicts. I maintain a one-line file of my portmaster -a command that shows all the -x parameters for the many installed ports that no longer build for one reason or another. But, yes, the tree is rarely more than a day or two out of date. > > Does pkg version show the port as out of date? What is the output of pkg > version -v |grep -i python? Given that the package is not installed, pkg info python34 output is: python34-3.4.9_1 Name : python34 Version : 3.4.9_1 Installed on : Mon Aug 6 10:57:21 2018 CDT Origin : lang/python34 Architecture : FreeBSD:11:amd64 Prefix : /usr/local Categories : python lang ipv6 Licenses : PSFL Maintainer : python@FreeBSD.org WWW : https://www.python.org/ Comment : Interpreted object-oriented programming language Options : DEBUG : off FNV : off IPV6 : on LIBFFI : on NLS : on PYMALLOC : on SIPHASH : off THREADS : on TSC : off Shared Libs required: libcrypto.so.9 libintl.so.8 libreadline.so.7 libncursesw.so.6 libtinfow.so.6 libpanelw.so.6 libssl.so.9 libffi.so.6 Shared Libs provided: libpython3.4m.so.1 Annotations : FreeBSD_version: 1101512 cpe : cpe:2.3:a:python:python:3.4.9:::::freebsd11:x64:1 Flat size : 80.0MiB Description : Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl or Scheme. WWW: https://www.python.org/ > FWIW, I will be off-line for email until late Wednesday night, so it may be a while before I get to anything you may post in reply. Thanks for responding. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at sdf.org *xor* bennett at freeshell.org * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************