1) Install Fedora 18. 2) Run these commands: [root@sharpie ~]# yum update -y [root@sharpie ~]# yum install -y mock [root@sharpie ~]# adduser -m -G mock build [root@sharpie ~]# cat << __EOF__ > /etc/mock/fedora-19branched-ppc64.cfg config_opts['root'] = 'fedora-19branched-ppc64' config_opts['target_arch'] = 'ppc64' config_opts['legal_host_arches'] = ('ppc64',) config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' config_opts['dist'] = 'fc19' # only useful for --resultdir variable subst config_opts['files']['etc/profile.d/mystuff.sh'] = """ export URLGRABBER_DEBUG=info,grabber.log """ config_opts['yum.conf'] = """ [main] cachedir=/var/cache/yum debuglevel=1 reposdir=/dev/null logfile=/var/log/yum.log retries=20 obsoletes=1 gpgcheck=0 assumeyes=1 syslog_ident=mock syslog_device= [fedora] name=fedora baseurl=http://ppc.koji.fedoraproject.org/mash/branched-20130328/19-ppc/ppc64/os/ failovermethod=priority cost=2 [local] name=local baseurl=file:///home/fedora-19branched-ppc64/ cost=1 enabled=0 [fedora-debuginfo] name=fedora-debuginfo baseurl=http://ppc.koji.fedoraproject.org/mash/branched-20130328/19-ppc/ppc64/debug/ failovermethod=priority enabled=0 [fedora-source] name=fedora-source baseurl=http://ppc.koji.fedoraproject.org/mash/branched-20130328/19-ppc/source/SRPMS/ failovermethod=priority """ __EOF__ [root@sharpie ~]# su - build [build@bluebill ~]$ ppc-koji download-build 149714 [build@bluebill ~]$ ppc-koji download-build 149585 [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --clean [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --init [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --shell "mkdir -p /home/fedora-19branched-ppc64/packages/" [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --copyin *.rpm /home/fedora-19branched-ppc64/packages/ [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --install createrepo yum-utils [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --shell "createrepo --outputdir /home/fedora-19branched-ppc64/ /home/fedora-19branched-ppc64/" [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --shell "yum-config-manager --enable local" [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --shell "yum update" [build@bluebill ~]$ mock -r fedora-19branched-ppc64 --install @buildsys-build vim-enhanced pungi startup-notification basesystem automake llvm-libs glibc.ppc yum yum-utils vi wget less fpaste pungi MAKEDEV fedora-kickstarts fedora-packager ... Error Downloading Packages: dracut-027-1.fc19.ppc64: [Errno 256] No more mirrors to try. libgudev1-199-2.fc19.ppc64: [Errno 256] No more mirrors to try.
The suggestion is to put: URLGRABBER_DEBUG=INFO,/tmp/grabber.log into the environment in order to debug the problem further. I tried that by creating /etc/profile.d/mystuff.sh in the mock configuration. This sets the variable. However yum does not use it. yum info info does not create /tmp/grabber.log whereas URLGRABBER_DEBUG=INFO,/tmp/grabber.log yum info info will. So I edited /usr/lib/python2.7/site-packages/urlgrabber/grabber.py and put import os os.environ["URLGRABBER_DEBUG"] = "INFO,/tmp/grabber.log" in front of try: if logspec is None: and now /tmp/grabber.log will be created for yum info info but still not for the mock -r fedora-19branched-ppc64 --install @buildsys-build vim-enhanced pungi startup-notification basesystem automake llvm-libs glibc.ppc yum yum-utils vi wget less fpaste pungi MAKEDEV fedora-kickstarts fedora-packager command.
This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. 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 19 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.
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.