Bug#576425: pbuilder: Don't fail if TMP != /tmp (aka, don't fail with libpam-tmpdir)

Frank Lin PIAT fpiat at klabs.be
Sun Apr 4 15:15:40 UTC 2010


Package: pbuilder
Version: 0.196
Severity: normal

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:

>  -> Creating pbuilder-satisfydepends-dummy package
> Package: pbuilder-satisfydepends-dummy
> Version: 0.invalid.0
> Architecture: i386
> Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
> Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
>  This package was created automatically by pbuilder and should
> Depends: foo, bar
> dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
> dpkg-deb: failed to make tmpfile (control): No such file or directory

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

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (101, 'unstable'), (10, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils                     7.4-2      The GNU core utilities
ii  debconf [debconf-2.0]         1.5.30     Debian configuration management sy
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  debootstrap                   1.0.22     Bootstrap a basic Debian system
ii  wget                          1.12-1.1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.61    scripts to make the life of a Debi
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  sudo                          1.7.2p5-1  Provide limited super user privile

Versions of packages pbuilder suggests:
pn  cowdancer                     <none>     (no description available)
pn  gdebi-core                    <none>     (no description available)
pn  pbuilder-uml                  <none>     (no description available)

-- debconf information excluded





More information about the Pbuilder-maint mailing list