Skip to contentSkip to conversation

Infernalis uninstallable - jenkins virtualenv misconfiguration?

DISCUSSION Martin Millnert 1 participant 1 message Nov 7, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

tried to install the infernalis RPMS published on
http://download.ceph.com today, but was met with the following problem:
[root@ceph-dev-clust01-mon01 tmp]# rpm -qpR ceph-9.2.0-0.el7.x86_64.rpm /bin/bash
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh /home/jenkins-build/build/workspace/ceph-build-next/ARCH/x86_64/DIST/centos7/venv/bin/python /usr/bin/env
[snip]

That "Requires: " at least doesn't work on my systems.

I confirmed by building the SRPM in my own build host (without virtualenvs):
[anticimex@rpmbuilder-dev-app3 ceph]$ rpm -qpR rpmbuild/RPMS/x86_64/ceph-9.2.0-0.el7.x86_64.rpm /bin/bash
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/usr/bin/env
/usr/bin/python
[snip]

Seems virtualenv on the jenkins build host is affecting some python path/env variable in the spec file somehow. Haven't dug further.

Regards,

Signature · 1 line
Martin Millnert <[email protected]>