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 <tachokni...@gmail.com> 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@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to