| Summary: | Disabling ccache breaks mock | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> |
| Component: | mock | Assignee: | Clark Williams <williams> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | jan.kratochvil, mebrown, ville.skytta, williams |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | mock-1.1.18-1.fc16.noarch | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-10 22:49:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan Kratochvil
2011-12-01 19:03:42 UTC
I am using in /etc/mock/site-defaults.cfg: config_opts['plugin_conf']['ccache_enable'] = False Not sure why it got lost /etc/mock/site-defaults.cfg is marked as a config file. BTW ccache in mock is almost completely useless in mock 1.1.16-1.1.18 as the ccache results are not saved to the correct dir but to one that gets destroyed between mock chroot inits. Fix for this is already in mock git but there's no release out with it yet: https://fedorahosted.org/mock/changeset/9149d2661347e6ed43737f0217057715a675b334 https://fedorahosted.org/mock/changeset/70c38cb1b36da1301f7d3df23d788d49d70c6371 Regarding site-defaults.cfg being overwritten on 1.1.18 update, I could not reproduce. I set up a new fedora-16-x86_64 chroot, did a "mock install mock" on it, modified /etc/mock/site-defaults.cfg in the chroot to disable ccache, then upgraded mock in the chroot with "mock --install http://kojipkgs.fedoraproject.org/packages/mock/1.1.18/1.fc16/noarch/mock-1.1.18-1.fc16.noarch.rpm" and got this in the output: warning: /etc/mock/site-defaults.cfg created as /etc/mock/site-defaults.cfg.rpmnew ...and site-defaults.cfg was not overridden. (In reply to comment #2) > Regarding site-defaults.cfg being overwritten on 1.1.18 update, I could not > reproduce. I also cannot reproduce it now, thanks for testing it. (Maybe that I am testing btrfs which has some file problems such as Bug 759426.) Is this still broken with 1.1.18? Not with 1.1.18, thanks. |