Hi, On 2022-01-05 14:01, Alberto Garcia wrote: > On Tue, Jan 04, 2022 at 07:40:51PM +0200, Andrius Merkys wrote: >> I attempted to rebuild grilo-plugins via sbuild on sid chroot and the >> build failed with the following: > [...] >> Comparing my build log with the one from buildd [1] I notice a bit newer >> meson build system and 'ccache cc' being used: > ccache is not a build dependency, doesn't it build without it > installed?
Right, it should, but sbuild pulls in ccache. Not sure if it became a transitive dependency or is this sbuild-specific. > ccache creates a .cache directory in $HOME to store its data, so the > options are: > > 1. create that directory somewhere else (where?) /tmp seems to be a good choice, 'mktemp -d' could be used to do so. I recall employing this option in some package. > 2. Add Build-Conflicts: ccache This is my least-favorite option. > 3. Make sure that Meson never uses ccache automatically. Also a good option, if Meson has means to control this. Andrius