Bug 254534 - devel/cmake: can not be built
Summary: devel/cmake: can not be built
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-25 00:46 UTC by Chris Hutchinson
Modified: 2021-03-25 10:49 UTC (History)
4 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments
cmake log file from poudriere (221.20 KB, text/plain)
2021-03-25 02:58 UTC, John R
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hutchinson 2021-03-25 00:46:33 UTC
On a fresh install of 12/amd64 && a fresh svn co of head/ports
Attempting to build x11/nvidia-driver lead to the failure of
devel/cmake to build.
EXCERPT follows

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (chardet 4.0.0 (/usr/local/lib/python3.
7/site-packages), Requirement.parse('chardet<4,>=3.0.2'), {'requests'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/sphinx-build", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
3251, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line
786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'chardet<4,>=3.0.2' distribution was not
 found and is required by requests
--- Utilities/Sphinx/doc_format_man ---
*** [Utilities/Sphinx/doc_format_man] Error code 1

make[13]: stopped in /usr/ports/devel/cmake/work/cmake-3.19.6
1 error

# svn info /usr/ports

Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: svn://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 569141
Node Kind: directory
Schedule: normal
Last Changed Author: leres
Last Changed Rev: 569141
Last Changed Date: 2021-03-24 09:22:05 -0700 (Wed, 24 Mar 2021)
Comment 1 John R 2021-03-25 02:58:56 UTC
Created attachment 223557 [details]
cmake log file from poudriere
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2021-03-25 05:23:58 UTC
(In reply to John R from comment #1)
Moin moin 

This looks like an issue in the python installation:

pkg_resources.ContextualVersionConflict: (chardet 4.0.0 (/usr/local/lib/python3.7/site-packages), Requirement.parse('chardet<4,>=3.0.2'), {'requests'})

Your installed py-chardet is too new.


That one was updated yesterday:
r569127 | rm | 2021-03-24 15:42:03 +0100 (Mi., 24 März 2021) | 7 lines


mfg Tobias
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2021-03-25 05:45:12 UTC
As a workaround until that is fixed, you could turn off the MANPAGES option in devel/cmake.


mfg Tobias
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2021-03-25 09:11:48 UTC
Fixed as of r569185
Comment 5 Adriaan de Groot freebsd_committer freebsd_triage 2021-03-25 10:49:00 UTC
Changes in dependencies "broke stuff", including cmake. As Daniel says, fixed by reverting the dependency-change.