On 2019, ഓഗസ്റ്റ് 13 4:37:35 PM IST, Simon McVittie <s...@debian.org> wrote:
>On Tue, 13 Aug 2019 at 14:14:01 +0530, Pirate Praveen wrote:
>> When building with sbuild,
>Is ccache preinstalled in the chroot you used?


>>     #include <git2.h>
>>     int
>>     main(int argc, const char *argv[])
>>     {
>>             git_libgit2_init ();
>>             return ((git_libgit2_features() & GIT_FEATURE_SSH) != 0)
>? 0
>> : 1;
>>     }
>If you compile this small program yourself, does it work and exit 0?

I will try it later and confirm.

>> Compiler stderr:
>>  ccache: error: Failed to create directory
>> /sbuild-nonexistent/.ccache/tmp: Permission denied
>If my guess about the root cause is correct, then this will affect
>package that builds with Meson and does not reset HOME in its packaging
>(but many GNOME packages need a working HOME for their build-time
>so they reset it in debian/rules, as seen in for example glib2.0).

Yes, makes sense, #933799 is also the same issue.

>Perhaps Meson should not automatically use ccache if $HOME is not
>writeable, or perhaps the dh build system for Meson should explicitly
>disable it in this situation.

Yes, this should be fixed at dh level.

>    smcv

Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to