#267 *Fedora CI - scratch build* needs updated mock-core-configs, srpm creation fails
Closed by msrb. Opened by churchyard.

The Fedora CI - scratch build fails to create SRPm on rawhide and Fedora 35:

+ mock --isolation=simple -r fedora-rawhide-x86_64 --resultdir=./ --buildsrpm --spec python-pygments.spec --source .
+ tee /root/jenkins/workspace/i_dist-git-build-pipeline_master/mock_srpm.log
INFO: mock.py version 2.12 starting (python version = 3.6.8, NVR = mock-2.12-1.el8)...
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
INFO: Start(python-pygments.spec)  Config(fedora-rawhide-x86_64)
Start: clean chroot
Finish: clean chroot
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.12
INFO: Mock Version: 2.12
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.12
INFO: Mock Version: 2.12
Start: dnf update
ERROR: Exception(python-pygments.spec) Config(fedora-rawhide-x86_64) 0 minutes 3 seconds
INFO: Results and/or logs in: ./
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed: 
 # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ -y --releasever 35 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock update --setopt=tsflags=nocontexts

I suppose this is related to a problem I had locally: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/ZPOZNHVHDZEEMDE6F3DGXY6SL5W6UXBO/

It has been fixed in mock-core-configs 35-1:

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/VVIUKZLIYMX322HOC3X4ERVVXI3HVJHT/

https://bodhi.fedoraproject.org/updates/mock-core-configs

Please, update to mock-core-configs >= 35-1


Metadata Update from @msrb:
- Issue assigned to msrb

Done. Thanks ;)

Metadata Update from @msrb:
- Issue status updated to: Closed (was: Open)

Metadata