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.
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 <<< schroot/ mount/sid- amd64-57ec6e08- 578a-4956- a800-310c3d31dc 6b/var/ lock/sbuild: No such file or directory
Package: args4j
Version: 2.0.16-1
Source Version: 2.0.16-1
Architecture: amd64
E: Can't create lock file /var/lib/
Workaround:
I fixed this locally by making /var/lock and /var/run directories within the schroot. Builds then complete OK.
ProblemType: Bug ature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 dules: fglrx ture: all
DistroRelease: Ubuntu 11.04
Package: sbuild 0.60.9-1ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Wed Jun 1 10:40:53 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
PackageArchitec
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)