Created attachment 979672 [details] Proposed fix Description of problem: There is a bug in mockconfig initialization resulting in mockbuild re-creating mockconfig from koji each time it is called. This has various consequences: - cache is wiped each time mockconfig exits, this mean that hundreds of megabytes are re-downloaded each time the mockbuild is run - it creates chroot non compatible with the installed mock config Version-Release number of selected component (if applicable): fedpkg-1.19-1.fc21.noarch How reproducible: Always Steps to Reproduce: 1. fedpk mockbuild in rawhide branch Actual results: Hundreds of megabytes are re-downloaded each time the command is run. Expected results: Packages downloaded only if the mock cache expires or doesn't exists. Additional info: It is due to wrong mockconfig initialization. It uses fedora-devel-ARCH.cfg, but rawhide mock configs are named fedora-rawhide-ARCH.cfg.
(Cc'ing mock maintainer for possible comments) Another option would be to add fedora-devel-* symlinks to mock's fedora-rawhide-* configs, which I'm doing locally until this gets properly fixed: for f in /etc/mock/fedora-rawhide-*.cfg ; do ln -s $(basename $f) ${f/rawhide/devel} done
Those devel symlinks were present in mock as temporary workaround for limited time. It was just for compatibility and it was created in 2008. This was quite long time for transition period. 6 months ago we asked on buildsys mailing list if anybody have objection against removing it: https://lists.fedoraproject.org/pipermail/buildsys/2014-September/004381.html No one raised objection, so I removed it. It would be nice if you can alter fedpkg to use fedora-rawhide* instead of fedora-devel*.
(In reply to Miroslav Suchý from comment #2) > Those devel symlinks were present in mock as temporary workaround for > limited time. It was just for compatibility and it was created in 2008. This > was quite long time for transition period. > 6 months ago we asked on buildsys mailing list if anybody have objection > against removing it: > > https://lists.fedoraproject.org/pipermail/buildsys/2014-September/004381.html > No one raised objection, so I removed it. > > It would be nice if you can alter fedpkg to use fedora-rawhide* instead of > fedora-devel*. This issue was already fixed in Bug 1151956.
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
*** This bug has been marked as a duplicate of bug 1151956 ***