Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2021 11:55:07 -0400 (EDT)
From:      AN <andy@neu.net>
To:        Rozhuk Ivan <rozhuk.im@gmail.com>
Cc:        kai@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   Re: Python update 3.7->3.8
Message-ID:  <alpine.BSF.2.21.9999.2104261152340.88466@mail.neu.net>
In-Reply-To: <20210426163443.28a63547@rimwks.local>
References:  <20210426163443.28a63547@rimwks.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <rozhuk.im@gmail.com>
> 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%
=====




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.9999.2104261152340.88466>