[SRU] pycallgraph FTBFS in Jammy
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
pycallgraph (Debian) |
Fix Released
|
Unknown
|
||||
pycallgraph (Ubuntu) | Status tracked in Oracular | |||||
Jammy |
In Progress
|
Undecided
|
Unassigned | |||
Noble |
Fix Released
|
Undecided
|
Unassigned | |||
Oracular |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
pycallgraph will fail to build from source in Jammy with the error:
error in pycallgraph2 setup command: use_2to3 is invalid.
E: pybuild pybuild:369: clean: plugin distutils failed with: exit code=1: python3.10 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.10 returned exit code 13
make: *** [debian/rules:6: clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
[ Test Plan ]
check in logs if python3-pycallgraph builds properly.
As a basic sanity test execute "pycallgraph --help".
And it should display the help menu.
[ Where problems could occur ]
The problem is caused as '2to3' has been removed from 'setuptools'. Its used for automatic Python2 to Python3 conversion, so without 2to3, the built binary might still have some incompatibility with Python3 and users might see pycallgraph not working. But 'pycallgraph' is already unusable for LP: #2062065 so users wont see any new regression.
[ Other Info ]
This change has been in Debian since '1.1.3-2' package which has been in Mantic and Noble without any issues (apart from LP: #2062065)
[ Original Bug Description ]
pycallgraph fails to build with the error:
error in pycallgraph2 setup command: use_2to3 is invalid.
E: pybuild pybuild:369: clean: plugin distutils failed with: exit code=1: python3.10 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.10 returned exit code 13
make: *** [debian/rules:6: clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
Changed in pycallgraph (Ubuntu Noble): | |
status: | New → Fix Released |
Changed in pycallgraph (Ubuntu Oracular): | |
status: | New → Fix Released |
Changed in pycallgraph (Ubuntu Jammy): | |
status: | New → In Progress |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
summary: |
- pycallgraph FTBFS in Jammy + [SRU] pycallgraph FTBFS in Jammy |
description: | updated |
Changed in pycallgraph (Ubuntu Jammy): | |
assignee: | Sudip Mukherjee (sudipmuk) → nobody |
Changed in pycallgraph (Debian): | |
status: | Unknown → Fix Released |