Bug#934673: geary and libgit2-glib FTBFS in sbuild with ccache installed

Simon McVittie smcv at debian.org
Mon Aug 26 16:44:36 BST 2019


Control: severity -1 important

On Tue, 13 Aug 2019 at 12:07:35 +0100, Simon McVittie wrote:
> On Tue, 13 Aug 2019 at 14:14:01 +0530, Pirate Praveen wrote:
> > 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 every
> 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 tests,
> so they reset it in debian/rules, as seen in for example glib2.0).

On Tue, 13 Aug 2019 at 22:34:23 +0530, Pirate Praveen wrote:
> On Sat, 03 Aug 2019 21:10:48 +0530 Pirate Praveen <praveen at onenetbeyond.org>
> wrote:
> > I tried building in both buster and sid, both builds failed. Built with
> > an uptodate chroot using sbuild.
> 
> This seems caused by ccache installed in chroot, similar to libgit2-glib bug #
> 934673

I don't think these are RC: it won't affect official buildds, and
for users making use of their freedom to fork, there are plenty of
workarounds. (Either don't use sbuild, don't use a user whose home
directory is /sbuild-nonexistent, or don't install ccache in a chroot
where it won't be useful because state doesn't persist between builds)

I've opened a bug for the root cause (currently in both debhelper and
meson because I don't know which one would be better to change).

    smcv



More information about the pkg-gnome-maintainers mailing list