Hide Forgot
Description of problem: Current master cannot be built on EL7 due to missing objenesis package in ovirt-master-epel repo: yum-builddep /root/rpmbuild/SRPMS/ovirt-engine-4.0.0-0.0.master.20151104112643.el7.centos.src.rpm Getting requirements for ovirt-engine-4.0.0-0.0.master.20151104112643.el7.centos.src --> assertj-core-2.2.0-1.el7.noarch --> 1:java-1.8.0-openjdk-devel-1.8.0.65-2.b17.el7_1.x86_64 --> Already installed : javapackages-tools-3.4.1-6.el7_0.noarch --> Already installed : 1:make-3.82-21.el7.x86_64 --> Already installed : maven-3.0.5-16.el7.noarch --> Already installed : python-2.7.5-18.el7_1.1.x86_64 --> Already installed : unzip-6.0-15.el7.x86_64 --> Already installed : systemd-208-20.el7_1.6.x86_64 --> Running transaction check ---> Package assertj-core.noarch 0:2.2.0-1.el7 will be installed --> Processing Dependency: mvn(org.mockito:mockito-core) for package: assertj-core-2.2.0-1.el7.noarch ---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.65-2.b17.el7_1 will be installed --> Running transaction check ---> Package mockito.noarch 0:1.9.0-18.el7 will be installed --> Processing Dependency: objenesis for package: mockito-1.9.0-18.el7.noarch --> Finished Dependency Resolution Error: Package: mockito-1.9.0-18.el7.noarch (ovirt-master-snapshot-static) Requires: objenesis You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest After adding objenesis package to includepkgs option in ovirt-master-epel repo, build works fine Version-Release number of selected component (if applicable): oVirt master branch How reproducible: 100% Steps to Reproduce: 1. Create an SRPM package for master sources rpmbuild -D"ovirt_build_minimal 1" -ts ovirt-engine-4.0.0_master.tar.gz 2. Try to install all needed dependencies yum-builddep /root/rpmbuild/SRPMS/ovirt-engine-4.0.0-0.0.master.20151104112643.el7.centos.src.rpm Actual results: Build failed Expected results: Build is working properly Additional info:
workaround: enable epel repo.