From owner-freebsd-ports@freebsd.org Mon Apr 26 15:55:22 2021 Return-Path: Delivered-To: freebsd-ports@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 46D9C5E5FCC for ; Mon, 26 Apr 2021 15:55:22 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (neu.net [104.225.8.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd-11-64", Issuer "freebsd-11-64" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FTTxj1JSDz3n8W; Mon, 26 Apr 2021 15:55:20 +0000 (UTC) (envelope-from andy@neu.net) Received: from neu.net (neu.net [104.225.8.138]) by mail.neu.net (8.15.2/8.15.2) with ESMTPS id 13QFt7mg036634 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 26 Apr 2021 11:55:08 -0400 (EDT) (envelope-from andy@neu.net) Date: Mon, 26 Apr 2021 11:55:07 -0400 (EDT) From: AN To: Rozhuk Ivan cc: kai@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: Python update 3.7->3.8 In-Reply-To: <20210426163443.28a63547@rimwks.local> Message-ID: References: <20210426163443.28a63547@rimwks.local> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.0 required=2.9 tests=none autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.neu.net X-Rspamd-Queue-Id: 4FTTxj1JSDz3n8W X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of andy@neu.net has no SPF policy when checking 104.225.8.138) smtp.mailfrom=andy@neu.net X-Spamd-Result: default: False [-0.54 / 15.00]; R_SPF_NA(0.00)[no SPF record]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[andy]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[neu.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.46)[0.460]; SPAMHAUS_ZRD(0.00)[104.225.8.138:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[104.225.8.138:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36236, ipnet:104.225.8.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2021 15:55:22 -0000 Hi: I am getting the following trying to update ports on 13stable: On Mon, 26 Apr 2021, Rozhuk Ivan wrote: > Date: Mon, 26 Apr 2021 16:34:43 +0300 > From: Rozhuk Ivan > To: kai@FreeBSD.org, freebsd-ports@freebsd.org > Subject: Python update 3.7->3.8 > > Hi! > > After doing all manipulations for rebuild and reinstall with pkg+portmaster > some files not affected, I suspect that files after shebang fix: > > # grep -rsp "python3\.7" /usr/local/ > Binary file /usr/local/bin/youtube-dl matches > /usr/local/bin/gsettings-schema-convert:#!/usr/local/bin/python3.7 > /usr/local/bin/gtk-builder-convert:#!/usr/local/bin/python3.7 > /usr/local/bin/event_rpcgen.py:#!/usr/local/bin/python3.7 > /usr/local/bin/vigra-config:#!/usr/local/bin/python3.7 > /usr/local/bin/retroarch-cg2glsl:#!/usr/local/bin/python3.7 > /usr/local/lib/python3.8/site-packages/certifi-2020.12.5-py3.8.egg-info/PKG-INFO: '/usr/local/lib/python3.7/site-packages/certifi/cacert.pem' > /usr/local/lib/python3.8/site-packages/certifi-2020.12.5-py3.8.egg-info/PKG-INFO: /usr/local/lib/python3.7/site-packages/certifi/cacert.pem > /usr/local/lib/qt5/mkspecs/features/uikit/devices.py:#!/usr/local/bin/python3.7 > /usr/local/lib/xfce4/xfce4-compose-mail:#!/usr/local/bin/python3.7 > /usr/local/libexec/dbusmenu-bench:#!/usr/local/bin/python3.7 > Binary file /usr/local/man/mandoc.db matches > /usr/local/share/claws-mail/eud2gc.py:#!/usr/local/bin/python3.7 > /usr/local/share/claws-mail/tbird2claws.py:#!/usr/local/bin/python3.7 > /usr/local/share/claws-mail/vcard2xml.py:#!/usr/local/bin/python3.7 > /usr/local/share/subversion/backup/hot-backup.py:#!/usr/local/bin/python3.7 > > Is any way to way to fix it by scripts? > > > Also "pkg del -f py37-\*" must be "pkg del -f \*py37-\*": some packages have py37 in middle of name. (scons) > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > ---> Uninstallation of py27-setuptools-44.0.0 started at: Mon, 26 Apr 2021 11:49:52 -0400 ---> Fixing up dependencies before creating a package ---> Backing up the old version ---> Uninstalling the old version [Reading data from pkg(8) ... - 945 packages found - done] ---> Deinstalling 'py27-setuptools-44.0.0' Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: py27-setuptools: 44.0.0 Number of packages to be removed: 1 The operation will free 4 MiB. [1/1] Deinstalling py27-setuptools-44.0.0... [1/1] Deleting files for py27-setuptools-44.0.0: 100% [Reading data from pkg(8) ... - 944 packages found - done] ---> Uninstallation of py27-setuptools-44.0.0 ended at: Mon, 26 Apr 2021 11:49:55 -0400 (consumed 00:00:02) ---> Installation of devel/py-setuptools started at: Mon, 26 Apr 2021 11:49:55 -0400 ---> Installing the new version via the port ===> Deinstalling for py38-setuptools ===> py38-setuptools not installed, skipping ===> Installing for py38-setuptools-44.0.0_1 ===> Checking if py38-setuptools is already installed ===> Registering installation for py38-setuptools-44.0.0_1 as automatic Installing py38-setuptools-44.0.0_1... pkg-static: py38-setuptools-44.0.0_1 conflicts with py37-setuptools-44.0.0 (installs files into the same place). Problematic file: /usr/local/bin/easy_install *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/py-setuptools *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-setuptools ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20210426-16971-13n0qvl env UPGRADE_TOOL=portupgrade UPGRADE_PORT=py27-setuptools-44.0.0 UPGRADE_PORT_VER=44.0.0 make -DINSTALLS_DEPENDS reinstall ---> Updating dependency info ---> Restoring the old version Installing py27-setuptools-44.0.0... Extracting py27-setuptools-44.0.0: 100% =====