Bug 263121 - [www/chromium] allow building with python 3.10
Summary: [www/chromium] allow building with python 3.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-07 14:08 UTC by Wes Morgan
Modified: 2022-04-07 21:06 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (chromium)


Attachments
0001-www-chromium-iridium-allow-building-with-python-3.6-.patch (1.38 KB, patch)
2022-04-07 14:51 UTC, Robert Nagy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wes Morgan 2022-04-07 14:08:51 UTC
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.
Comment 1 Robert Nagy 2022-04-07 14:51:50 UTC
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.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-04-07 21:03:35 UTC
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(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-04-07 21:03:36 UTC
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(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-04-07 21:05:37 UTC
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(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-04-07 21:05:38 UTC
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(-)
Comment 6 Rene Ladan freebsd_committer freebsd_triage 2022-04-07 21:06:20 UTC
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.