Your message dated Fri, 09 Oct 2009 04:19:00 +0000
with message-id <[email protected]>
and subject line Bug#550215: fixed in fakeroot 1.13.2
has caused the Debian Bug report #550215,
regarding fakeroot messes with TEMP environment variable, breaks ghostscript
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
550215: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550215
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fakeroot
Version: 1.13.1
Severity: normal
Tags: patch
Hi!
Investigating a FTBFS, I found that building the package in a clean
chroot with dpkg-buildpackage failed, but each step of the build worked
fine when run manually.
Slowly breaking down the problem, I eventually found the following:
# aptitude install fakeroot ghostscript
# ps2pdf testprint.ps
# ls testprint.ps
testprint.ps
# fakeroot ps2pdf testprint.ps
# ls testprint.ps
testprint.ps
# export TEMP=/tmp
# fakeroot ps2pdf testprint.ps
GPL Ghostscript 8.70: **** Could not open temporary file -- 'ps2pdf'
'testprint.ps'/gs_9FcqUJ
**** Unable to open the initial device, quitting.
So ghostscript is trying to use the literal:
-- 'ps2pdf' 'testprint.ps'/gs_9FcqUJ
as the temp file and of course the directory "-- 'ps2pdf' 'testprint.ps'"
doesn't exist so it all fails.
Sure, it would be better if ghostscript didn't use a nonstandard environment
variable to set its temp directory, but that's not going to change any time
soon. It would also be preferable for fakeroot to refrain from polluting the
environment.
The attached patch renames the TEMP variable in /usr/bin/fakeroot to something
that should prevent such clashes in the future. There are undoubtedly other
approaches that would prevent fakeroot from polluting the environment (and
perhaps there are other commonly used variables that also should not be touched
in /usr/bin/fakeroot; PREFIX and BINDIR are two that jump to mind).
cheers
Stuart
--- fakeroot.orig 2009-10-08 13:07:55.000000000 +0100
+++ fakeroot 2009-10-08 13:07:30.000000000 +0100
@@ -47,8 +47,8 @@
case $GETOPTEST in
getopt*) # GNU getopt
- TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version
-l help -- +l:f:i:s:ub:vh "$@"`
+ FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l
version -l help -- +l:f:i:s:ub:vh "$@"`
;;
*) # POSIX getopt ?
- TEMP=`getopt l:f:i:s:ub:vh "$@"`
+ FAKE_TEMP=`getopt l:f:i:s:ub:vh "$@"`
;;
esac
@@ -58,5 +58,5 @@
fi
-eval set -- "$TEMP"
+eval set -- "$FAKE_TEMP"
FAKEDOPTS=""
--- End Message ---
--- Begin Message ---
Source: fakeroot
Source-Version: 1.13.2
We believe that the bug you reported is fixed in the latest version of
fakeroot, which is due to be installed in the Debian FTP archive:
fakeroot_1.13.2.dsc
to pool/main/f/fakeroot/fakeroot_1.13.2.dsc
fakeroot_1.13.2.tar.gz
to pool/main/f/fakeroot/fakeroot_1.13.2.tar.gz
fakeroot_1.13.2_amd64.deb
to pool/main/f/fakeroot/fakeroot_1.13.2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Clint Adams <[email protected]> (supplier of updated fakeroot package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 08 Oct 2009 23:12:19 -0400
Source: fakeroot
Binary: fakeroot
Architecture: source amd64
Version: 1.13.2
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[email protected]>
Changed-By: Clint Adams <[email protected]>
Description:
fakeroot - Gives a fake root environment
Closes: 550215
Changes:
fakeroot (1.13.2) unstable; urgency=low
.
* Apply patch from Stuart Prescott to rename TEMP variable.
closes: #550215.
* Rename PREFIX and BINDIR variables.
Checksums-Sha1:
5d41368d3db3ce41d5afd97e4c51765db4373245 1644 fakeroot_1.13.2.dsc
1ca16373fcc3978525c9e8ca96bc166ec300d6d9 411871 fakeroot_1.13.2.tar.gz
1359fbdcbfbd7724b0013dfde6e2069465abefaa 98848 fakeroot_1.13.2_amd64.deb
Checksums-Sha256:
96a06a203223b45294c2c10274ef992386b31b139ba0b304ade747dc112aa4e3 1644
fakeroot_1.13.2.dsc
d8ffd748a8447da5567b4a548a262ad58773f684c5d8363785dce0368c00f0ac 411871
fakeroot_1.13.2.tar.gz
01f243ea04c34edc5a203347a98c51183aab2a7a6d81de0b3bd126be8f5cec2c 98848
fakeroot_1.13.2_amd64.deb
Files:
b582e38ae391e172b4e10ba53e3c461b 1644 utils optional fakeroot_1.13.2.dsc
3ea169bf997f5272cc848a7c07157bc0 411871 utils optional fakeroot_1.13.2.tar.gz
cddaaf5857697db315af83346172d678 98848 utils optional fakeroot_1.13.2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Debian!
iQIcBAEBCgAGBQJKzq0YAAoJEFWSMx4ZnTiotvYP/RIwyh0GmuWBn79DVRZbAyNH
xQGkiQyuCCYfHYtE0ySylZq9dpqvzRh8AT7hmpU4dbPC0zgSSG7CbeBrE5cfNVrc
y64SlXkjb+TWUXfjq8mDjmAVdJlskSmoYtFLdOXTkK/9waUWJF7qQEG76Oy2OjmW
vtWTHOXqChs/MWcZZawMQ4PJf5ImVXeo6zo5nYI/oDUEoDAEdFXoL16Q7BBGK170
Zw6pLe4VRERiMtAOE9RmpxgVVCv+88jv/GCSMMoGeIKvwvRnd70J3vFCQdQ1jrqB
NCBnlGzKHZnkFdyHksNm21sBkI2CZf2hwhY3IsgxhRITZNm4lMEJpHPKLIQFrSfr
H5I1ul+ORucT4nvyX03y0QExnxsdz7PyTGkF74qL5DDp/2Wvr0ZwQz7/PXLiEgwb
B6yXpBe37WRtMJC50tcYYN+63mslpYEtxG0ZagZxKyKPwmPi+nNiV+i0NzXhgxZt
rXUfwPisiyXoC8IDQbsnl45i89gI80txpzpwbZCAAdxkE5zputpFRB56u5o9wUL2
VXfNisGB02uuCm9cLfPEV9C/HgDnXMK/PNtSsUa3/43HeufNTNAjKLLzVf3P1DXX
+Nd+CB6WuHWz0Oa3m9t5T/T+TNdLq3xu+3AWR5JdqZEVUYD0lrCKMTH2DAZxpkMV
09q46m+22uKzL2uyqEfb
=kp44
-----END PGP SIGNATURE-----
--- End Message ---