* Santiago Vila <sanv...@debian.org> [2023-12-20 13:43]:

El 16/12/23 a las 22:30, Rafael Laboissière escribió:
I did the investigation again, using pbuilder. Here is what I found:

– In my case, pbuilder sets HOME=/nonexistent/ and debhelper (compat level = 
13) keeps that setting. Hence, the package FTBFS.

– If I use "export HOME = /tmp", for instance, in debian/rules, then the build 
succeeds.

Thanks for the additional investigation. This is why I was sorry to see this package being removed, as you have just confirmed that the FTBFS problem was indeed easy to fix... Nevermind, I take note of course that it was not the main reason for the removal.

Yes, the real reason is elsewhere.

I guess a more standard approach, if you ever have to do this in a real package, would be to do this:

HOME := $(shell mktemp -d)

so that the same directory is never used twice between consecutive builds.

Yes, this is a much better solution. Thanks for the suggestion. I am just wondering: is there a simple way to delete the temporary directory after he build is finished ?

Best,

Rafael

Reply via email to