Red Hat Bugzilla – Bug 1259282
vdsm rpms are built with wrong prefix
Last modified: 2016-02-10 07:58:25 EST
3.6 rpms are built with wrong prefix (/usr/local instead of /usr)
See as example src.rpm from
Moving to amarchuk since he's infra owner this week
We added the flags to configure, but for some reason with current spec it is then passed to install:
+ install -dDm 0755 /builddir/build/BUILDROOT/vdsm-4.16.26-0.fc21.x86_64/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64/var/log/vdsm
install: unrecognized option '--sysconfdir=/etc'
Try 'install --help' for more information.
error: Bad exit status from /var/tmp/rpm-tmp.VxOvvS (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.VxOvvS (%install)
Child return code was: 1
The patch is ready:
1. First https://gerrit.ovirt.org/#/c/45674/ to fix mox extra configure options passing
2. Second sbonazzo change https://gerrit.ovirt.org/#/c/45079/
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
[root@dell-r210ii-04 tmp]# rpm -qlp http://resources.ovirt.org/pub/ovirt-3.6-snapshot/rpm/el7/noarch/vdsm-4.17.17-6.git37bda50.el7.centos.noarch.rpm | grep /usr/local