Missing depend on python-jinja2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcovr (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Installing gcovr on it's own gives an stack trace when starting:
[balp@laurana Cpp (master ✗)]$ sudo apt install gcovr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
python-markupsafe
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
gcovr
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 30,5 kB of archives.
After this operation, 144 kB of additional disk space will be used.
Get:1 http://
Fetched 30,5 kB in 0s (405 kB/s)
Selecting previously unselected package gcovr.
(Reading database ... 451544 files and directories currently installed.)
Preparing to unpack .../archives/
Unpacking gcovr (4.1-1) ...
Setting up gcovr (4.1-1) ...
Processing triggers for man-db (2.8.4-2) ...
[balp@laurana Cpp (master ✗)]$ gcovr
Traceback (most recent call last):
File "/usr/bin/gcovr", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/
@_call_aside
File "/usr/lib/
f(*args, **kwargs)
File "/usr/lib/
working_set = WorkingSet.
File "/usr/lib/
ws.
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
Installing python-jinja2 makes the package work as expected:
[balp@laurana Cpp (master ✗)]$ sudo apt install python-jinja2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-jinja2-doc
The following NEW packages will be installed:
python-jinja2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 94,6 kB of archives.
After this operation, 487 kB of additional disk space will be used.
Get:1 http://
Fetched 94,6 kB in 0s (875 kB/s)
Selecting previously unselected package python-jinja2.
(Reading database ... 451572 files and directories currently installed.)
Preparing to unpack .../python-
Unpacking python-jinja2 (2.10-1) ...
Setting up python-jinja2 (2.10-1) ...
[balp@laurana Cpp (master ✗)]$ gcovr
-------
Directory: .
-------
File Lines Exec Cover Missing
-------
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
build_meson/
-------
TOTAL 189 12 6%
-------