Dne 10. 02. 20 v 6:01 Sérgio Basto napsal(a): > On Fri, 2020-02-07 at 15:44 +0100, Pavel Raiskup wrote: >> Hey all, I'm pleased to announce that a new major release of mock >> tool, >> A 'simple' chroot build environment manager for building RPMs, is >> out. >> >> There are several major changes, namely `--bootstrap-chroot` enabled >> by >> default, default flip from `yum` to `dnf`, simplified mock-core- >> configs >> package, fixed regression in 'use_bootstrap_image' option. And many >> important bugfixes. See release notes here: >> >> >> https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.0 >> >> The new `mock-core-configs 32.0` package now provides configuration >> for >> "branched" Fedora 32, and Rawhide points to Fedora 33. All the >> 33/32/31 configuration files should work fine now, but please make >> sure >> you have the "latest greatest" distribution-gpg-keys 1.36 from >> updates-testing for this to work (thanks to fedora infra team for >> providing the gpg keys in advance, and to Mirek Suchý for shipping it >> in >> new release quickly). >> >> The fedora updates links are: >> >> F31 https://bodhi.fedoraproject.org/updates/FEDORA-2020-8c3f06d776 >> F30 https://bodhi.fedoraproject.org/updates/FEDORA-2020-4ab9c18a6a >> EL8 >> https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-4f9536de5b >> EL7 >> https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-56dcc5ffbf >> >> I disabled time-based auto push and set auto-karma=10, so this >> shouldn't >> land stable too quickly and untested. Please report any issues. > > Hi, > > I found this error , on Fedora 31 running [1] ends with [2] , > have we a easy fix for this ? > > Thank you > > [1] > mock -r epel-7-x86_64 --no-clean ./clamav-0.102.2-1.fc32.src.rpm > > [2] > Wrote: /builddir/build/SRPMS/clamav-0.102.2-1.el7.src.rpm > Traceback (most recent call last): > File "/usr/bin/dnf", line 57, in <module> > from dnf.cli import main > File "/usr/lib/python2.7/site-packages/dnf/__init__.py", line 30, in > <module> > import dnf.base > File "/usr/lib/python2.7/site-packages/dnf/base.py", line 29, in > <module> > import libdnf.transaction > File "/usr/lib64/python2.7/site-packages/libdnf/__init__.py", line 3, > in <module> > from . import conf > File "/usr/lib64/python2.7/site-packages/libdnf/conf.py", line 17, in > <module> > _conf = swig_import_helper() > File "/usr/lib64/python2.7/site-packages/libdnf/conf.py", line 16, in > swig_import_helper > return importlib.import_module('_conf') > File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in > import_module > __import__(name) > ImportError: No module named _conf
Hmm, I have been trying to reproduce and I cannot. Can you post more info? What version of dnf/libdnf you have. Anything in ~/.config/mock.cfg ? Full log. Does it happen only with this src.rpm or with everyone? -- Miroslav Suchy, RHCA Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys _______________________________________________ buildsys mailing list -- buildsys@lists.fedoraproject.org To unsubscribe send an email to buildsys-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/buildsys@lists.fedoraproject.org