Port makefile specifies USES=python:3.6-3.9, which prevents building if the default python version is set to 3.10 build fails with: ===> py38-Jinja2-3.0.1 Unknown flavor 'py38', possible flavors: py310. Fix: set python:3.6-3.10 Port builds and runs successfully with 3.10.
Created attachment 233032 [details] 0001-www-chromium-iridium-allow-building-with-python-3.6-.patch This would allow both chromium and iridium to be built with recent pythons as well.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f94e0b64f8f494ac48b1340233f9a915d3959c9d commit f94e0b64f8f494ac48b1340233f9a915d3959c9d Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-04-07 21:02:03 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-04-07 21:02:39 +0000 www/iridium: allow building with modern Python. PR: 263121 www/iridium/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1a4e7e1d7cea4c77710a12c3b3e94433d6176ce commit b1a4e7e1d7cea4c77710a12c3b3e94433d6176ce Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-04-07 21:00:57 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-04-07 21:01:49 +0000 www/chromium: allow building with modern Python PR: 263121 www/chromium/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch 2022Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=946bb4c60b2e22985d43049a288b1e102b7629c9 commit 946bb4c60b2e22985d43049a288b1e102b7629c9 Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-04-07 21:00:57 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-04-07 21:04:24 +0000 www/chromium: allow building with modern Python PR: 263121 (cherry picked from commit b1a4e7e1d7cea4c77710a12c3b3e94433d6176ce) www/chromium/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch 2022Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e67291c06ca2ceb7c5eb6354cfa23f4630294f3 commit 4e67291c06ca2ceb7c5eb6354cfa23f4630294f3 Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-04-07 21:02:03 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-04-07 21:04:41 +0000 www/iridium: allow building with modern Python. PR: 263121 (cherry picked from commit f94e0b64f8f494ac48b1340233f9a915d3959c9d) www/iridium/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Committed the patch, thanks. I also bumped the minimum Python version to 3.7 as Python 3.6 is no longer in the Ports Tree.