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

James McCoy jamessan at debian.org
Thu Aug 24 04:28:43 UTC 2017


On Fri, Mar 03, 2017 at 04:17:50PM +0100, Johannes Schauer wrote:
> 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!

I recently started seeing this behavior as well, however I don't have
libpam-tmpdir installed.

> 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.

I have neither $TMP nor $TMPDIR set in my environment.

Attached is a debug build log, in case it's of any use.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autobahn-cpp_0.2.1-2_amd64.build.gz
Type: application/gzip
Size: 4576 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20170824/d91efd04/attachment-0001.bin>


More information about the Buildd-tools-devel mailing list