Yep, removing —enablerepo=local did the trick. Thanks! On 21 Jun 2021, at 13:06, Stephen John Smoogen wrote: > OK I was able to replicate it. My apologies I had a 'local' local on > the machine I was 'duplicating' and my laptop had a > [local] > name=local > baseurl=https://kojipkgs.fedoraproject.org/repos/epel8-build/latest/$basearch/ > cost=2000 > enabled=0 > skip_if_unavailable=False > > so the laptop broke while the buildbox worked. > > [MIRROR] kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm: Status code: > 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm > (IP: 38.145.60.16) > > and yep.. there is my ip address trying to download that file > > access_log:blach.foo.bar - - [21/Jun/2021:17:39:15 +0000] "GET > /repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/redhat-release-8.4-0.6.el8.x86_64.rpm > HTTP/1.1" 403 > 199 "-" "Mock (epel-8-x86_64; x86_64)" > > remove --enablerepo=local and the rebuild works. So the problem must > be with kojiplgs OR something in mock > > Downloading I find kojipkgs is giving a file with > 7dfe04833c8f1bd0fc85c5168764a9b682e13bb714ef88a2bf22b04593f9ac07-primary.xml.gz > which contains > > 7dfe04833c8f1bd0fc85c5168764a9b682e13bb714ef88a2bf22b04593f9ac07-primary.xml.gz: > <location xml:base="https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001" > href="non_modular/kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm"/> > > Looking at the contents of the stuff local is giving.. it is only > those files which are local to IAD2 and nothing else.. as such I would > not use it in your builds. > > On Mon, 21 Jun 2021 at 13:25, Ron Olson <tachoknight@xxxxxxxxx> wrote: >> >> Funny enough, neither did I. >> >> On 21 Jun 2021, at 11:58, Stephen John Smoogen wrote: >> >>> I don't know. >>> >>> on my systems I did a find /etc/mock/ -type f -print | xargs grep >>> infrastructure.fedoraproject.org and did not have any hits. >>> >>> On Mon, 21 Jun 2021 at 10:35, Ron Olson <tachoknight@xxxxxxxxx> wrote: >>>> >>>> Hmm, but why would it be pulling those? I’m merely trying to run mock on my own machine in a script: >>>> >>>> BUILD=epel-8-x86_64 >>>> #echo Cleaning $BUILD >>>> #mock -r $BUILD --scrub=all >>>> mock --clean -r $BUILD --enablerepo=local --spec=swift-lang.spec --sources=../SOURCES --resultdir=$MYDIR/mock-results --buildsrpm --rebuild --rpmbuild-opts=--noclean --no-cleanup-after 2>&1 | tee $MYDIR/mock-results/build-output.txt >>>> >>>> >>>> >>>> On 21 Jun 2021, at 6:48, Stephen John Smoogen wrote: >>>> >>>>> On Sun, 20 Jun 2021 at 18:25, Ron Olson <tachoknight@xxxxxxxxx> wrote: >>>>>> >>>>>> Hey all- >>>>>> >>>>>> I’m trying to run a mock build with EPEL-8 (epel-8-x86_64) and it fails with: >>>>>> >>>>>> >>>>>> [MIRROR] kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm: Status code: 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm (IP: 38.145.60.16) >>>>>> [MIRROR] kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm: Status code: 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm (IP: 38.145.60.16) >>>>>> (230/232): gcc-c++-8.4.1-1.el8.x86_64.rpm 5.9 MB/s | 12 MB 00:02 >>>>>> [MIRROR] kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm: Status code: 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm (IP: 38.145.60.16) >>>>>> [MIRROR] kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm: Status code: 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm (IP: 38.145.60.16) >>>>>> [FAILED] kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm: Status code: 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm (IP: 38.145.60.16) >>>>>> Error: Error downloading packages: >>>>>> Status code: 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest/x86_64/RHEL-8-001/non_modular/kernel-headers-4.18.0-305.3.1.el8_4.x86_64.rpm (IP: 38.145.60.16) >>>>>> >>>>> >>>>> I believe the problem is that you have >>>>> https://infrastructure.fedoraproject.org/repo/rhel/rhel8/koji/latest >>>>> listed in some mock file versus >>>>> https://kojipkgs.fedoraproject.org/repos/epel8-build/latest/$basearch/\n' >>>>> >>>>> The infrastructure URL is only available to Fedoraproject builders >>>>> while the kojipkgs should be available everywhere. >>>>> >>>>> >>>>> >>>>> -- >>>>> Stephen J Smoogen. >>>>> I've seen things you people wouldn't believe. Flame wars in >>>>> sci.astro.orion. I have seen SPAM filters overload because of Godwin's >>>>> Law. All those moments will be lost in time... like posts on BBS... >>>>> time to reboot. >>>>> _______________________________________________ >>>>> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx >>>>> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx >>>>> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >>>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >>>>> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx >>>>> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure >>>> _______________________________________________ >>>> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx >>>> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx >>>> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >>>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >>>> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx >>>> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure >>> >>> >>> >>> -- >>> Stephen J Smoogen. >>> I've seen things you people wouldn't believe. Flame wars in >>> sci.astro.orion. I have seen SPAM filters overload because of Godwin's >>> Law. All those moments will be lost in time... like posts on BBS... >>> time to reboot. >>> _______________________________________________ >>> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx >>> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx >>> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >>> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx >>> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure >> _______________________________________________ >> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx >> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx >> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx >> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure > > > > -- > Stephen J Smoogen. > I've seen things you people wouldn't believe. Flame wars in > sci.astro.orion. I have seen SPAM filters overload because of Godwin's > Law. All those moments will be lost in time... like posts on BBS... > time to reboot. > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure