[Buildd-tools-devel] Bug#382439: apt-cache exit status 256

Matti Lindell mlind at cs.joensuu.fi
Fri Aug 11 01:23:41 UTC 2006


Package: sbuild
Version: 0.49
Severity: |minor|

I'm using sbuild with $chroot_mode = "schroot" and schroot type is lvm-snapshot.
I've disabled schroot from --binding my $HOME inside any chroots which currently introduces this problem:

$ sbuild -v -D -A -d dapper-build module-assistant_0.10.6.dsc
Selected distribution dapper-build
Automatic build of module-assistant_0.10.6 on sandbox by sbuild/i386 0.49
Build started at 20060811-0357
******************************************************************************
File descriptor 4 left open
Setting up chroot dapper-build (session id dapper-build-1c73066a-6352-4629-96fa-c5f07281932a)
Found schroot chroot: dapper-build-1c73066a-6352-4629-96fa-c5f07281932a
  Location /var/lib/schroot/mount/dapper-build-1c73066a-6352-4629-96fa-c5f07281932a
  Priority 3
  Session Managed 1
Parsing module-assistant_0.10.6.dsc
  ./module-assistant_0.10.6.tar.gz: d29d6893c59e7f4ea300b4a08b8cc334
Parsing module-assistant_0.10.6.dsc
  ./module-assistant_0.10.6.tar.gz: d29d6893c59e7f4ea300b4a08b8cc334
module-assistant_0.10.6.dsc exists in cwd
Arch check ok (i386 included in all)
** Using build dependencies supplied by package:
Build-Depends: debhelper (>> 4.0.0), bzip2, gettext
Merging pkg deps: debhelper (>> 4.0.0), bzip2, gettext, , ,
E: Failed to change to directory '/home/mlind/packages/module-assistant': No such file or directory
/usr/bin/apt-cache exit status 256


If I move the source package to /tmp, which is bind mounted inside chroot, build works as expected.

Is there some sbuild setting I've failed to configure correctly or is it required that the directory
where source package is, is bind mounted inside the chroot for build to succeed?

Regards,







More information about the Buildd-tools-devel mailing list