Bug 262812 - devel/cmake build fails after dns/py-idna upgrade to 3.3
Summary: devel/cmake build fails after dns/py-idna upgrade to 3.3
Status: Closed DUPLICATE of bug 262801
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-25 19:27 UTC by Alessandro Sagratini
Modified: 2022-03-25 22:03 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Sagratini 2022-03-25 19:27:45 UTC
[ 99%] Building CXX object Source/CursesDialog/CMakeFiles/ccmake.dir/cmCursesStringWidget.cxx.o
[ 99%] Building CXX object Source/CursesDialog/CMakeFiles/ccmake.dir/cmCursesWidget.cxx.o
[ 99%] Linking CXX executable ../../bin/ccmake
[ 99%] Built target ccmake
[100%] sphinx-build man: see Utilities/Sphinx/build-man.log
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (idna 3.3 (/usr/local/lib/python3.8/site-packages), Requirement.parse('idna<3,>=2.5'), {'requests'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/sphinx-build", line 33, in <module>
    sys.exit(load_entry_point('Sphinx==4.3.1', 'console_scripts', 'sphinx-build')())
  File "/usr/local/bin/sphinx-build", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/lib/python3.8/site-packages/sphinx/cmd/build.py", line 25, in <module>
    from sphinx.application import Sphinx
  File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line 43, in <module>
    from sphinx.registry import SphinxComponentRegistry
  File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py", line 24, in <module>
    from pkg_resources import iter_entry_points
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'idna<3,>=2.5' distribution was not found and is required by requests
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/devel/cmake/work/cmake-3.22.2
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/cmake/work/cmake-3.22.2
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/cmake/work/cmake-3.22.2
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/cmake
=>> Cleaning up wrkdir
===>  Cleaning for cmake-3.22.2
build of devel/cmake | cmake-3.22.2 ended at Fri Mar 25 16:17:41 UTC 2022
build time: 00:35:51
!!! build failure encountered !!!
Comment 1 Adriaan de Groot freebsd_committer freebsd_triage 2022-03-25 22:03:48 UTC
Duplicate, and already fixed (according to the linked duplicate PR).

*** This bug has been marked as a duplicate of bug 262801 ***