> Sounds like you might have a cached mock root that has an old version > of rpm. Try removing /var/lib/mock/cache/fedora-rawhide-x86_64 and see > if that fixes it. If not we'll have to dig a little deeper. Wiping entire /var/lib/mock won't help either:
mock -r fedora-devel-x86_64 rebuild /root/rpmbuild/SRPMS/soundmodem-0.10-6.fc10.src.rpm INFO: mock.py version 0.9.13 starting... State Changed: init plugins State Changed: start INFO: Start(/root/rpmbuild/SRPMS/soundmodem-0.10-6.fc10.src.rpm) Config(fedora-rawhide-x86_64) State Changed: lock buildroot State Changed: clean State Changed: init State Changed: lock buildroot INFO: enabled root cache INFO: enabled yum cache State Changed: cleaning yum metadata INFO: enabled ccache State Changed: running yum State Changed: creating cache State Changed: setup ERROR: Exception(/root/rpmbuild/SRPMS/soundmodem-0.10-6.fc10.src.rpm) Config(fedora-rawhide-x86_64) 15 minutes 55 seconds INFO: Results and/or logs in: /var/lib/mock//fedora-rawhide-x86_64/result ERROR: Command failed: # /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ resolvedep ccache 'gtk+-devel' 'automake' 'libxml-devel' 'audiofile-devel' 'autoconf' 'alsa-lib-devel' 'gettext-devel' rpmdb: Program version 4.5 doesn't match environment version 4.7 > > I'm about to push mock-0.9.14-1 for f10 (it's on rawhide now) > and since that moves the cache directory from /var/lib/mock/cache > to /var/cache/mock you'll have to rebuild caches again anway. same thing with 0.9.14 cache gets rebuilt but after that same as before: mock -r fedora-devel-x86_64 rebuild /root/rpmbuild/SRPMS/soundmodem-0.10-6.fc10.src.rpm INFO: mock.py version 0.9.14 starting... State Changed: init plugins State Changed: start INFO: Start(/root/rpmbuild/SRPMS/soundmodem-0.10-6.fc10.src.rpm) Config(fedora-rawhide-x86_64) State Changed: lock buildroot State Changed: clean State Changed: init State Changed: lock buildroot Mock Version: 0.9.14 INFO: Mock Version: 0.9.14 INFO: enabled root cache INFO: enabled yum cache State Changed: cleaning yum metadata INFO: enabled ccache State Changed: running yum State Changed: creating cache State Changed: setup ERROR: Exception(/root/rpmbuild/SRPMS/soundmodem-0.10-6.fc10.src.rpm) Config(fedora-rawhide-x86_64) 13 minutes 27 seconds INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-x86_64/result ERROR: Command failed: # /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ resolvedep ccache 'gtk+-devel' 'automake' 'libxml-devel' 'audiofile-devel' 'autoconf' 'alsa-lib-devel' 'gettext-devel' rpmdb: Program version 4.5 doesn't match environment version 4.7 -- Fedora-buildsys-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
