Bug 258798 - devel/cmake: Revert "fix build with python 3.10 as default"
Summary: devel/cmake: Revert "fix build with python 3.10 as default"
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: Yasuhiro Kimura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-30 04:55 UTC by Yasuhiro Kimura
Modified: 2021-10-05 01:48 UTC (History)
1 user (show)

See Also:
adridg: maintainer-feedback+


Attachments
Patch file (1.32 KB, patch)
2021-09-30 04:55 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2021-09-30 04:55:01 UTC
Created attachment 228270 [details]
Patch file

This reverts ports 913219385dfdf72232e6beefe287377cfebdfb04.

Previously build of cmake failed if 3.10 is default version of Python. And it was worked around by limiting the range of Python to 3.6-3.9. The source of the build error is runtime error of textproc/py-sphinx with Python 3.10. But it is already fixed and workaround isn't necessary any more. So revert the commit corresponding to it.
Comment 1 Adriaan de Groot freebsd_committer freebsd_triage 2021-10-03 20:08:23 UTC
Looks good. Please commit this. 

Approved by: adridg (kde@)
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-10-05 01:43:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=272477b09c9f9ef3e18250f14dd4dea1f90698fe

commit 272477b09c9f9ef3e18250f14dd4dea1f90698fe
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2021-09-30 04:37:46 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-10-05 01:42:24 +0000

    devel/cmake: Revert "devel/cmake: fix build with python 3.10 as default"

    This reverts commit 913219385dfdf72232e6beefe287377cfebdfb04.

    Previously build of cmake failed if 3.10 is default version of
    Python. And it was worked around by limiting the range of Python to
    3.6-3.9. The source of the build error is runtime error of
    textproc/py-sphinx with Python 3.10. But it is already fixed and
    workaround isn't necessary any more. So revert the commit
    corresponding to it.

    PR:             258798
    Approved by:    adridg (kde@), ygy (mentor)
    MFH:            2021Q4
    Differential Revision:  https://reviews.freebsd.org/D32282

 devel/cmake/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-10-05 01:44:11 UTC
A commit in branch 2021Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=198a03aeba74e852a6fa4a5161a056a3e741dc91

commit 198a03aeba74e852a6fa4a5161a056a3e741dc91
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2021-09-30 04:37:46 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-10-05 01:43:14 +0000

    devel/cmake: Revert "devel/cmake: fix build with python 3.10 as default"

    This reverts commit 913219385dfdf72232e6beefe287377cfebdfb04.

    Previously build of cmake failed if 3.10 is default version of
    Python. And it was worked around by limiting the range of Python to
    3.6-3.9. The source of the build error is runtime error of
    textproc/py-sphinx with Python 3.10. But it is already fixed and
    workaround isn't necessary any more. So revert the commit
    corresponding to it.

    PR:             258798
    Approved by:    adridg (kde@), ygy (mentor)
    MFH:            2021Q4
    Differential Revision:  https://reviews.freebsd.org/D32282

    (cherry picked from commit 272477b09c9f9ef3e18250f14dd4dea1f90698fe)

 devel/cmake/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)