** Description changed:

+ [ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072696

Title:
  [SRU] pycallgraph FTBFS in Focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycallgraph/+bug/2072696/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to