Comment 3 for bug 315101

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

This is a *very* uncommon situation. pkgsanitycheck invokes /usr/share/pkgbinarymangler/common, which checks existence of debian/control file and fails if not present. On standard environments we always expect to find that file, but pbuilder does use of a dummy package called "pbuilder-satisfydepends-dummy" which seems not to provide it. This leads to a weird FTBFS as shown in FAIL buildlog.

Attached solution does not enforce presence of debian/control. pkgsanitycheck fails as well (as the snippet below), but the build process runs correctly as expected.

[snip]
Maintainer: Debian Pbuilder Team <email address hidden>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder and should
grep: debian/control: No such file or directory
/usr/bin/pkgsanitychecks: Error: not in source package directory
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Reading package lists...
Building dependency tree...
Reading state information...
[/snip]