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

Re: many packages FTBFS, if $TAPE is set

On 9/10/07, Steve Greenland <steveg@moregruel.net> wrote:
> On 09-Sep-07, 02:26 (CDT), Sergei Golovan <sgolovan@nes.ru> wrote:
> > But OK, I'll try to fix the package (setting HOME inside debian/rules
> > should help).
> That's fixing a symptom, not the bug. What possible justification is
> there for a package looking at the contents of $HOME during the build?

Erlang compiler reads $HOME/.erlang if it exists. It's contents may
have impact on the package. If the compiler cannot read $HOME it
reports an ugly error message (though it still works). But an
additional tool which is used in wings3d crashes if it cannot read
$HOME. So, setting HOME to something like $(CURDIR)/debian makes
package buildable and consistent (it doesn't depend on $HOME/.erlang

So, I think that at least for erlang-based packages it's better to
redefine HOME environment varibles. Is there a better solution?

Sergei Golovan

Reply to: