[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packages relying on HOME when building


On So, 25 Okt 2009, Guillem Jover wrote:
> There's some packages which rely on HOME existing and often being
> writtable. This is broken behaviour as the package does not have any
> businesss verifying if it exists or writting outside of its build dir
> (or /tmp).

I disagree. Some upstream build mechanism simply want to do some
checks. Do we want to force each maintainer to make sure this doesn't
happen and patch it away?

I have been bitten by that with jppy which runs test suites at built time
using scons, and needs to initialize some data there for test building.

I would suggest on the contrary that HOME *will* be set by all scripts
to a newly created empty directory.

Best wishes


Dr. Norbert Preining                                        Associate Professor
JAIST Japan Advanced Institute of Science and Technology   preining@jaist.ac.jp
Vienna University of Technology                               preining@logic.at
Debian Developer (Debian TeX Task Force)                    preining@debian.org
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
A homicidal golf stroke.
			--- Douglas Adams, The Meaning of Liff

Reply to: