[meta-virtualization] Help (python-jsonschema do_compile Failed)

Mark Asselstine mark.asselstine at windriver.com
Thu Dec 10 06:55:44 PST 2015


On Thu, Dec 3, 2015 at 12:50 AM, Li, Xin <lixin.fnst at cn.fujitsu.com> wrote:
> Hi,all
>
>
>
> When I bitbake python-jsonschema,the error is occurred in the step of
> do_compile as following:
>
>
>
> ------------------------------
>
> DEBUG: Executing shell function do_compile
>
> Download error on https://pypi.python.org/simple/vcversioner/: [Errno -5] No
> address associated with hostname -- Some packages may not be found!
>
> Couldn't find index page for 'vcversioner' (maybe misspelled?)
>
> Download error on https://pypi.python.org/simple/: [Errno -5] No address
> associated with hostname -- Some packages may not be found!
>
> No local packages or download links found for vcversioner
>
> Traceback (most recent call last):
>
>   File "setup.py", line 44, in <module>
>
> vcversioner={"version_module_paths" : ["jsonschema/_version.py"]},
>
> -------------------------------
>
> If you know how to fix it, Please tell me.

A download error during do_compile(). My guess is that we have a
missing dependency. With python, Ruby and some other packages we have
to be careful as their builds will actually cause downloads to happen
if a dependency is missing (python will fetch eggs, ruby will fetch
gems...). When I have time I usually do builds with IP tables rules in
place to force errors when these fetches happen so that I can catch
them and fix them. Downloads should only be done by the fetcher and
not bundler, pdb etc. If you see an error about downloading and you
are not in do_fetch() something is wrong.

Start by adding python-vcversioner as a DEPENDS in python-jsonschema
and you should be good to go.

Mark

>
>
>
> Regards,
>
> li
>
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


More information about the meta-virtualization mailing list