Public bug reported: Binary package hint: pkg-create-dbgsym
It would be helpful if pkg-create-dbgsym wrapped dh_clean in addition to dh_strip to remove whatever package cruft it just created. Although pkg-create-dbgsym is typically installed inside transient sbuild chroots, that's not forced in any way. I, for one, find it useful to get debug packages even when I'm building something as plebian as debuild or dpkg-buildpackage - you never know when you'll need them. But having pkg-create-dbgsym installed outside of a chroot can wreck minor havoc with the clean target - since there's no record of the packages which pkg-create-dbgsym created, dh_clean doesn't know to clean them up automatically. dpkg-source will try to roll them into .debian.tar.gz or .diff.gz, and fail, because it won't include binary files in either. And I've seen it cause some...much more interesting problems as well. Note that using the debian/clean file won't work, because that can only list files, not directories. I could conceivably override the clean target, but this seems like something which pkg-create-dbgsym should be handling itself. ** Affects: pkg-create-dbgsym (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/704285 Title: New packages confuse dh_clean -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs