#576425 pbuilder: fails with cryptic message when $TMPDIR/$TEMP != /tmp (i.e. libpam-tmpdir)

Package:
pbuilder
Source:
pbuilder
Submitter:
Frank Lin PIAT
Date:
2026-07-31 20:43:55 UTC
Severity:
minor
Tags:
#576425#5
Date:
2010-04-04 15:15:40 UTC
From:
To:
Hello,

pbuilder fails if TMPDIR is set to a subdirectory of /tmp (for instance,
libpam-tmpdir configures per-user temporary directory, like
TMPDIR=/tmp/user/0)

This is quite trick to diagnose, because dpkg-deb log is missleading:

I guess the easiest way to solve the issue would be reset the value of
TMPDIR (and TMP to be on the safe side).

Regards,

Franklin