El 13/12/23 a las 9:27, Rafael Laboissière escribió:
i.e. you may rely on a writable $HOME if it's for a "good cause" (i.e. 
dh_auto_test).

So, the simple question: Should this not be also implemented in dh_octave_check 
as well, which is what octave-vibes was using?

Thanks for bringing this to my knowledge. However, I do not quite understand 
the text above. Does it mean that, when the package Build-Depends on 
debhelper-compat = 13, then $HOME will be set automatically to a writable 
directory? Well, octave-vibes that compatibility level of debhelper, but the 
autobuilders set HOME=/nonexistent/.

Sorry, I don't really know for sure.

I just remember this case where the debhelper feature allowed for an "easy" fix:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025654

Also, while we are at it, the Policy paragraph that you quoted:

The Debian autobuilders set HOME to /nonexistent so that packages which try to 
write to a home directory will fail to build.

would probably need to be reworded a little bit.

I agree. I think that a bug report should be filed against debian-policy on 
this issue.

Yes, I'll add that to my todo list.

Thanks a lot.

Reply via email to