Comment 0 for bug 791134

Revision history for this message
James Page (james-page) wrote : Debian/sid based builds fail

Binary package hint: sbuild

Setup:

mk-sbuild --vg=<name> --distro=debian sid

Issue:

schroot into the sbuild environment is fine; however when I try to complete builds with this schroot sbuild fails to create locks in /var/lock - this is a symbolic link to /run/lock and is absolute rather than relative which I suspect may be the issue:

>>> Excerpt from log <<<
Package: args4j
Version: 2.0.16-1
Source Version: 2.0.16-1
Architecture: amd64
E: Can't create lock file /var/lib/schroot/mount/sid-amd64-57ec6e08-578a-4956-a800-310c3d31dc6b/var/lock/sbuild: No such file or directory

Workaround:

I fixed this locally by making /var/lock and /var/run directories within the schroot. Builds then complete OK.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: sbuild 0.60.9-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Wed Jun 1 10:40:53 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: sbuild
UpgradeStatus: No upgrade log present (probably fresh install)