[SRU] pycallgraph FTBFS in Focal

Bug #2072696 reported by Sudip Mukherjee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pycallgraph (Debian)
Fix Released
Unknown
pycallgraph (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
In Progress
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

pycallgraph will fail to build from source in Focal with the error:

Copying pycallgraph2.egg-info to /<<PKGBUILDDIR>>/debian/python3-pycallgraph/usr/lib/python3.8/dist-packages/pycallgraph2-1.1.3.egg-info
Skipping SOURCES.txt
running install_scripts
creating /<<PKGBUILDDIR>>/debian/python3-pycallgraph/usr/bin
copying build/scripts-3.8/pycallgraph -> /<<PKGBUILDDIR>>/debian/python3-pycallgraph/usr/bin
changing mode of /<<PKGBUILDDIR>>/debian/python3-pycallgraph/usr/bin/pycallgraph to 755
# rename the module
mv debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph2 debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph
mv: cannot stat 'debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph2': No such file or directory
make[1]: *** [debian/rules:11: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary 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 ]

It is not changing anything in the code, its only a change in debian/rules to give correct path in 'dh_auto_install'. Previous path was 'debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph2' but with Python-3.8 the path becomes 'debian/python3-pycallgraph/usr/lib/python3.8/dist-packages/pycallgraph2'

[ Other Info ]

This change has been in Debian since '1.1.3-1.2' package which has been in Jammy, Mantic and Noble without any issues (apart from LP: #2062065)

[ Original Bug Description ]

Build of pycallgraph fails in Focal with the error:

Copying pycallgraph2.egg-info to /<<PKGBUILDDIR>>/debian/python3-pycallgraph/usr/lib/python3.8/dist-packages/pycallgraph2-1.1.3.egg-info
Skipping SOURCES.txt
running install_scripts
creating /<<PKGBUILDDIR>>/debian/python3-pycallgraph/usr/bin
copying build/scripts-3.8/pycallgraph -> /<<PKGBUILDDIR>>/debian/python3-pycallgraph/usr/bin
changing mode of /<<PKGBUILDDIR>>/debian/python3-pycallgraph/usr/bin/pycallgraph to 755
# rename the module
mv debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph2 debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph
mv: cannot stat 'debian/python3-pycallgraph/usr/lib/python3.7/dist-packages/pycallgraph2': No such file or directory
make[1]: *** [debian/rules:11: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

summary: - pycallgraph FTBFS in Focal
+ [SRU] pycallgraph FTBFS in Focal
description: updated
Changed in pycallgraph (Debian):
status: Unknown → Fix Released
Changed in pycallgraph (Ubuntu):
status: New → Fix Released
Changed in pycallgraph (Ubuntu Focal):
status: New → In Progress
Changed in pycallgraph (Ubuntu Jammy):
status: New → Fix Released
Changed in pycallgraph (Ubuntu Noble):
status: New → Fix Released
Changed in pycallgraph (Ubuntu Focal):
assignee: nobody → Sudip Mukherjee (sudipmuk)
Changed in pycallgraph (Ubuntu Focal):
assignee: Sudip Mukherjee (sudipmuk) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.