Package: devscripts Version: 2.10.69 Severity: normal Tags: patch When reversioning a large package on a system that has a small /tmp, deb-reversion will fail with messages like this:
tar: ./usr/...: Cannot write: No space left on device Setting TMPDIR n the environment doesn't help, because deb-reversion hard-codes the use of /tmp: TMPDIR=$(mktemp -d /tmp/deb-reversion.XXXXXX) Changing this as follows solves the problem: TMPDIR=$(mktemp -d --tmpdir deb-reversion.XXXXXX) This allows mktemp to use TMPDIR from the environment, and it defaults to using /tmp if this isn't set. -- Package-specific info: --- /etc/devscripts.conf --- --- ~/.devscripts --- DSCVERIFY_KEYRINGS=/home/mayhewn/.gnupg/pubring.gpg DEBSIGN_KEYID=neil_may...@sil.org DEBUILD_LINTIAN=yes DEBUILD_LINTIAN_OPTS="-I --show-overrides" -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (900, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages devscripts depends on: ii dpkg-dev 1.15.8.7 Debian package development tools ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii perl 5.10.1-16 Larry Wall's Practical Extraction Versions of packages devscripts recommends: ii at 3.1.12-1 Delayed job execution and batch pr ii bsd-mailx [mailx] 8.1.2-0.20100314cvs-1 simple mail user agent ii bzr 2.1.2-1 easy to use distributed version co ii curl 7.21.0-1 Get a file from an HTTP, HTTPS or ii cvs 1:1.12.13-12 Concurrent Versions System ii dctrl-tools 2.14.5 Command-line tools to process Debi ii debian-keyring [de 2010.06.08 GnuPG (and obsolete PGP) keys of D ii dput 0.9.6.1 Debian package upload tool ii dupload 2.6.6 utility to upload Debian packages ii epiphany-browser [ 2.30.6-1 Intuitive GNOME web browser ii equivs 2.0.8 Circumvent Debian package dependen ii fakeroot 1.14.4-1 Gives a fake root environment ii git [git-core] 1:1.7.2.3-2.2 fast, scalable, distributed revisi ii git-core 1:1.7.2.3-2.2 fast, scalable, distributed revisi ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep ii heirloom-mailx [ma 12.4-2 feature-rich BSD mail(1) ii iceweasel [www-bro 3.5.16-3 Web browser based on Firefox ii libauthen-sasl-per 2.1500-1 Authen::SASL - SASL Authentication ii libcrypt-ssleay-pe 0.57-2 Support for https protocol in LWP ii libjson-perl 2.21-1 Perl module to parse and convert t ii libparse-debcontro 2.005-2 Easy OO parsing of Debian control- ii libsoap-lite-perl 0.712-2 Perl implementation of a SOAP clie ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl 1.54-2 module to manipulate and access UR ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar ii libyaml-syck-perl 1.12-1 Perl module providing a fast, ligh ii lintian 2.4.3 Debian package checker ii lsb-release 3.2-23.1 Linux Standard Base version report ii lynx-cur [www-brow 2.8.8dev.5-1 Text-mode WWW Browser with NLS sup ii man-db 2.5.7-7 on-line manual pager ii mercurial 1.6.4-1 scalable distributed version contr ii openssh-client [ss 1:5.5p1-6 secure shell (SSH) client, for sec ii patch 2.6-2 Apply a diff file to an original ii patchutils 0.3.1-2 Utilities to work with patches ii sensible-utils 0.0.4 Utilities for sensible alternative ii strace 4.5.20-2 A system call tracer ii subversion 1.6.12dfsg-4 Advanced version control system ii unzip 6.0-4 De-archiver for .zip files ii w3m [www-browser] 0.5.2-9 WWW browsable pager with excellent ii wdiff 0.6.3-1 Compares two files word by word ii wget 1.12-2.1 retrieves files from the web ii xz-lzma [lzma] 5.0.0-2 XZ-format compression utilities - ii xz-utils 5.0.0-2 XZ-format compression utilities Versions of packages devscripts suggests: ii build-essential 11.5 Informational list of build-essent ii cvs-buildpackage 5.23 A set of Debian package scripts fo pn devscripts-el <none> (no description available) ii gnuplot 4.4.0-1.1 A command-line driven interactive ii libfile-desktopentry-perl 0.04-2 Perl module to handle freedesktop ii libnet-smtp-ssl-perl 1.01-2 SSL support for Net::SMTP ii mutt 1.5.20-9 text-based mailreader supporting M ii svn-buildpackage 0.8.3 helper programs to maintain Debian ii w3m 0.5.2-9 WWW browsable pager with excellent -- no debconf information
--- /usr/bin/deb-reversion 2010-10-21 05:42:42.000000000 -0600 +++ /tmp//deb-reversion 2011-01-14 15:57:50.000000000 -0700 @@ -128,7 +128,7 @@ make_temp_dir() { - TMPDIR=$(mktemp -d /tmp/deb-reversion.XXXXXX) + TMPDIR=$(mktemp -d --tmpdir deb-reversion.XXXXXX) trap "rm -rf $TMPDIR" 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 mkdir -p ${TMPDIR}/package TMPDIR=${TMPDIR}/package