On 30.01.2012 13:43, Gergely Nagy wrote: > Felix Geyer <debfx-...@fobos.de> writes: > >> Package: dh-exec >> Version: 0.1 >> Severity: wishlist >> Tags: patch >> >> Some tests fail on Ubuntu becauses the buildds have pkgbinarymangler >> installed >> which diverts dpkg-deb. >> Please disable it by setting NO_PKG_MANGLE (patch is attached). > Is there any documentation available online on what pkgbinarymangler is, > and what it does? (If not, I'll check the sources, but docs would be > easier :)
The package description says: > pkgbinarymangler consists of a dpkg-deb wrapper that calls the following > helper applications while building a debian binary package: > > pkgstriptranslations removes all *.mo files in /usr/share/locale from > all package build directories. It is used to strip off gettext translations > from generated binary packages, because translations are already shipped > in the language packs. Its behaviour (which is disabled by default) is > configured in /etc/pkgbinarymangler/striptranslations.conf. > > pkgmaintainermangler adjusts the maintainer field in binary packages to > match a set of rules (including whitelists, mass renames by component, > maintainer name, etc) defined in the pkgmaintainermangler configuration > file at /etc/pkgbinarymangler/maintainermangler.conf. > If the tests fail with pkgbinarymangler installed, that might result in > real packages failing with it too, if they use dh-exec, so I'd rather > find a different solution if possible, instead of setting NO_PKG_MANGLE. pkgbinarymangler also calls pkgsanitychecks which checks if dpkg-deb is building the correct source package. This fails when you build test packages: > The tests fail because the package names don't match: > /usr/bin/pkgsanitychecks: inconsistent /CurrentlyBuilding file, Package: > value is dh-exec (should be pkg-test) > dh_builddeb.pkgbinarymangler: dpkg-deb --build debian/pkg-test .. returned > exit code 1 > /usr/bin/pkgsanitychecks: inconsistent /CurrentlyBuilding file, Package: > value is dh-exec (should be pkg-test) > dh_builddeb.pkgbinarymangler: dpkg-deb --build debian/pkg-test-illiterate .. > returned exit code 1 I don't think there is another way to disable it. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org