[buildd-tools-devel] Bug#856434: sbuild: Fails to build anything in Debian chroots, Ubuntu ones work fine

Johannes Schauer josch at debian.org
Fri Mar 3 15:17:50 UTC 2017


Hi,

On Wed, 1 Mar 2017 01:28:53 +0100 Julian Andres Klode <jak at debian.org> wrote:
> On Wed, Mar 01, 2017 at 01:21:22AM +0100, Julian Andres Klode wrote:
> > Fails with a lot of errors for Debian chroots, but it works perfectly fine
> > with Ubuntu ones. Not sure what's going wrong here. I think this has been
> > going on for months, but I often forget about it because I don't do much
> > binary building anymore (mostly just letting CI pass & upload source these
> > days).
> 
> It's libpam-tmpdir that's breaking this somehow - no idea how, but removing
> libpam-tmpdir from my system allows it to work again.

I tried to reproduce the problem. After having installed libpam-tmpdir I get
the same errors as you do, so success!

But now I wonder how to fix the problem. It seems that the package sets $TMP
and $TMPDIR to /tmp/user/1000 for me. I guess the last bit is my user id. But
then it fails to create that last component of that directory. This is why
dpkg-deb in your log is unable to create a temporary directory. The path that
$TMP and $TMPDIR are set to simply doesn't exist. At least on my system.

Can you confirm that observation?

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20170303/66c32948/attachment.sig>


More information about the Buildd-tools-devel mailing list