Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2024 13:26:23 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, "ports@freebsd.org" <ports@freebsd.org>
Cc:        Yuri <yuri@FreeBSD.org>
Subject:   Re: After following the advise from UPDATING about pythoin-3.11, 'pkg add' now says: pkg: "Cannot solve problem using SAT solver" and attempts to install and then offers to remove py39- packages
Message-ID:  <SI2PR01MB50369AF6AF90C4257287A87FFAC72@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
In-Reply-To: <20240610205803.f570190ee66b5ae75ae67770@dec.sakura.ne.jp>
References:  <b9d28cb8-4071-4d16-9e5b-54b833fe65e8@FreeBSD.org> <SI2PR01MB50369A901B50909246BC3AADFAC42@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <187dec33-ae28-435b-9dce-04968da0a45d@FreeBSD.org> <SI2PR01MB5036D9886E3A182BDBD2BE49FAC62@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <20240610205803.f570190ee66b5ae75ae67770@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
If you want to read the important parts of this email first, scroll to the bottom and read from the bottom :)

Tomoaki AOKI wrote on 2024/06/10 20:58:
> I think poudriere would be better ignoring last 3 (at least 2) digits
> of __FreeBSD_version for stable, releng and release branches, as
> API/KPI (not ABI/KBI, unfortunately) are basically assured to be
> downward compatible within each of those branches.

This time, if anything, we'd like to need an event where all packages are lost in order to clean up the packages of py39-* that are no longer needed.
How does it go in the official repository?

>From here, it changed to another part...
My poudriere had BUILD_ALL_PYTHON_FLAVORS defined in make.conf to allow multimedia/openshot to work with all versions of python.
If it is removed, non-default flavors will only be ignored, and packages that have already been made will not be deleted.

[00:01:45] Ignoring multimedia/openshot@py310 | openshot-py310-3.1.1_3: Unknown flavor 'py310', possible flavors: py311
[00:01:45] Ignoring multimedia/openshot@py38 | openshot-py38-3.1.1_3: Unknown flavor 'py38', possible flavors: py311
[00:01:45] Ignoring multimedia/openshot@py39 | openshot-py39-3.1.1_3: Unknown flavor 'py39', possible flavors: py311

I just had multimedia/openshot for py38, py39, and py311, so I also experimented with upgrading python.
The approximate steps are as follows:
( cd /packages/Latest/ && pkg add pkg.pkg )
pkg update
pkg install openshot-py38
sh -c 'for i in $(pkg query -g %n "py38-*") ; do pkg set -y -n "${i}:py39-${i#py38-}" ; done'
pkg upgrade
pkg install blender
pkg delete blender
pkg autoremove
sh -c 'for i in $(pkg query -g %n "py39-*") ; do pkg set -y -n "${i}:py311-${i#py39-}" ; done'
pkg upgrade
pkg install blender

This procedure did not reproduce the same issue.
It may also be that it is not just a matter of sorting.

One additional thing that bothered me was that the py310 package is still installed.
It may be that the renaming by pkg-set rewrites the names of packages like USES=python:-3.10 to py311, so they cannot be found in the repository.
Again, this is just speculation on my part.
I still can't think of a way to look into it. And it is not possible to prepare an experimental environment... 12.4-STABLE disposal is far away :)

Regards.




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