[meta-virtualization] [m-c-s][PATCH 06/11] python-testtools: fix build error

Bruce Ashfield bruce.ashfield at gmail.com
Wed Aug 5 18:11:35 PDT 2015


On Wed, Aug 5, 2015 at 4:29 PM, Mark Asselstine
<mark.asselstine at windriver.com> wrote:
> Ran in to a build error:
> distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr')
> ERROR: python setup.py build execution failed.
>
> Fix by DEPENDing on python-pbr.
>

This used to be on purpose. If you added python-pbr to DEPENDS the images
would fail to assemble due to QA errors and overlapping files.

If you say that you've successfully assembled and booted the images and pbr
isn't acting up, I'll merge this .. but otherwise, I'm eyeing the
change for more
testing.

Bruce

> Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> ---
>  meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb b/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb
> index 80a7489..a58c91a 100644
> --- a/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb
> +++ b/meta-openstack/recipes-devtools/python/python-testtools_1.8.0.bb
> @@ -17,4 +17,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
>
>  inherit setuptools
>
> +DEPENDS += " \
> +    python-pbr \
> +"
> +
>  RDEPENDS_${PN} += "python-extras"
> --
> 2.1.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list