2019-02-13 12:59:09,728 [INFO] {50017} koji.build.buildroot:487 Running mock as kojibuilder INFO: mock.py version 1.4.13 starting (python version = 2.7.5)... Start: init plugins INFO: selinux enabled Finish: init plugins Start: run Start: clean chroot Finish: clean chroot Start: chroot init INFO: calling preinit hooks INFO: enabled HW Info plugin Mock Version: 1.4.13 INFO: Mock Version: 1.4.13 Start: yum install Finish: yum install Finish: chroot init INFO: Installed packages: Finish: run 2019-02-13 12:59:28,014 [INFO] {50270} koji.build.buildroot:487 Running mock as kojibuilder INFO: mock.py version 1.4.13 starting (python version = 2.7.5)... Start: init plugins INFO: selinux enabled Finish: init plugins Start: run INFO: Start(/var/tmp/koji/tasks/2172/2172/local/work/tasks/2171/2171/blktap-kernel4.9-3.12.0-1.0.156.1.xcp.src.rpm) Config(dev-testing-344-107) Start: chroot init INFO: calling preinit hooks INFO: enabled HW Info plugin Mock Version: 1.4.13 INFO: Mock Version: 1.4.13 Finish: chroot init Start: build phase for blktap-kernel4.9-3.12.0-1.0.156.1.xcp.src.rpm Start: build setup for blktap-kernel4.9-3.12.0-1.0.156.1.xcp.src.rpm ERROR: Exception(/var/tmp/koji/tasks/2172/2172/local/work/tasks/2171/2171/blktap-kernel4.9-3.12.0-1.0.156.1.xcp.src.rpm) Config(dev-testing-344-107) 0 minutes 0 seconds INFO: Results and/or logs in: /var/lib/mock/dev-testing-344-107/result ERROR: Command failed: # /usr/bin/yum-builddep --installroot /var/lib/mock/dev-testing-344-107/root/ /var/lib/mock/dev-testing-344-107/root//builddir/build/SRPMS/blktap-kernel4.9-3.12.0-1.0.156.1.xcp.src.rpm --setopt=tsflags=nocontexts Failed to set locale, defaulting to C Getting requirements for blktap-kernel4.9-3.12.0-1.0.156.1.xcp.src --> e2fsprogs-devel-1.42.9-7.el7.x86_64 --> libaio-devel-0.3.109-13.el7.x86_64 --> systemd-219-19.el7_2.7.xs7.3.x86_64 --> autogen-5.18-5.el7.x86_64 --> autoconf-2.69-11.el7.noarch --> automake-1.13.4-3.el7.noarch --> libtool-2.4.2-21.el7_2.x86_64 --> libuuid-devel-2.23.2-26.el7_2.2.x86_64 --> xen-devel-4.7.6-6.1.1.xcp.x86_64 --> xen-dom0-libs-devel-4.7.6-6.1.1.xcp.x86_64 --> zlib-devel-1.2.7-15.el7.x86_64 --> xen-libs-devel-4.7.6-6.1.1.xcp.x86_64 --> libcmocka-devel-1.1.3-1.el7.x86_64 --> lcov-1.13-1.el7.noarch --> git-1.8.3.1-6.el7.x86_64 --> kernel-exp-headers-4.9-156.1.x86_64 Error: kernel-exp-headers conflicts with kernel-headers-4.4.52-4.0.12.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest