I tried to disable the root_cache plugin in my /etc/mock/site-defaults.cfg, but mockchain apparently ignored the change. If I understand things correctly, mockchain is putting all the defaults into the fedora-*.cfg (mockbuild.util.setup_default_config_opts), and that overrides site-defaults.cfg.
Same here. I have disabled ccache and enabled tmpfs in my site-defaults.cfg. mockchain carries them over to the site-defaults.cfg it generates, but then not to repo.cfg file.
Created attachment 848959 [details] /etc/mock/site-defaults.cfg
Created attachment 848960 [details] mockchain's site-defaults.cfg
Created attachment 848961 [details] repo.cfg
Daniel (and Julian), The config specified on the command line is applied after the site-defaults, so if you change the root_cache plugin in the config, that overrides the site-defaults file. If you're using a stock config, it shouldn't touch any plugin configs, so changing it in site-defaults should work. Can you give me steps for reproducing the failure so that I can debug locally? I'm guessing I can use the /etc/mock/site-defaults that was attached so what I'm looking for is the mockchain command line you're using that is failing.
Clark, the command line wasn't anything fancy - just -l and -r parameters and a few source rpms.
This is the exact command I used: $ mockchain -l /var/tmp/mock-chain-julas-28957-WJWpel -r fedora-20-x86_64-rpmfusion_free ../../gmtk/devel/gmtk-1.0.9b-0.fc21.src.rpm gnome-mplayer-1.0.9b-0.fc21.src.rpm ../../gecko-mediaplayer/devel/gecko-mediaplayer-1.0.9b-0.fc21.src.rpm
Dear Clark, is there any additional information you need?
This is still a problem with 1.1.41: $ mockchain --continue -l . -r fedora-rawhide-x86_64-rpmfusion_free ../free/ffmpeg/devel/ffmpeg-2.4-1.fc21.src.rpm ../free/mplayer/devel/mplayer-1.1-26.20140919svn.fc21.src.rpm
I think the problem is that the default options are generated (line 204) before the site-defaults.cfg file is copied over (line 274). I tried correcting this by moving files around but I unfortunately don't have enough python knowledge to make it work.
taking
I tested it with mock-1.2.1 (I just released it and it may take few days to reach fedora repo) and it seems to be fixed. I'm not sure which commit fixed it.