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.

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.

Thanks.

Reply via email to