Stephen, thanks for the excellent bug report. I don't know Debian packaging well enough to point to the exact error in the build rules, but this is the order of operations described in the build log:
https://launchpadlibrarian.net/593502889/buildlog_ubuntu-jammy- amd64.sunpy_3.1.5-1_BUILDING.txt.gz ... dh_gencontrol -O--buildsystem=pybuild dpkg-gencontrol: warning: package python3-sunpy: substitution variable ${python3:Provides} unused, but is defined dpkg-gencontrol: warning: package python3-sunpy: substitution variable ${python3:Versions} unused, but is defined dpkg-gencontrol: warning: package python3-sunpy: substitution variable ${python3:Provides} unused, but is defined dpkg-gencontrol: warning: package python3-sunpy: substitution variable ${python3:Versions} unused, but is defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 pkgstriptranslations: processing python3-sunpy (in debian/python3-sunpy); do_strip: , oemstrip: pkgstriptranslations: processing python3-sunpy-dbgsym (in debian/.debhelper/python3-sunpy/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers <[email protected]>" pkgstripfiles: processing control file: debian/python3-sunpy/DEBIAN/control, package python3-sunpy, directory debian/python3-sunpy pkgstripfiles: Truncating usr/share/doc/python3-sunpy/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package python3-sunpy ... xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value oopkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers <[email protected]>" pkgstripfiles: processing control file: debian/.debhelper/python3-sunpy/dbgsym-root/DEBIAN/control, package python3-sunpy-dbgsym, directory debian/.debhelper/python3-sunpy/dbgsym-root dpkg-deb: building package 'python3-sunpy-dbgsym' in 'debian/.debhelper/scratch-space/build-python3-sunpy/python3-sunpy-dbgsym_3.1.5-1_amd64.deb'. Renaming python3-sunpy-dbgsym_3.1.5-1_amd64.deb to python3-sunpy-dbgsym_3.1.5-1_amd64.ddeb oo pkgstripfiles: PNG optimization (4/0) for package python3-sunpy took 6 s dpkg-deb: building package 'python3-sunpy' in '../python3-sunpy_3.1.5-1_amd64.deb'. ... Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2075118 Title: PNG images in .deb don't match md5sums file or local build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sunpy/+bug/2075118/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
