Python3 update error on Colibri iMX6ull

Hi
I try to update the python3 of my IMX6ull from 3.5.3 to 3.8.5, i get the recipe from openembedded org and I followed exactly their directions with python3_3.8.5.bb and python3-manifest.json, in the end I get this error

 bitbake python3
Loading cache: 100% |############################################| Time: 0:00:03
Loaded 3925 entries from dependency cache.
WARNING: No recipes available for:
  /home/luc/MT/oe-core/build/../layers/meta-freescale/dynamic-layers/browser-layer/recipes-browser/chromium/chromium-wayland_48.0.2548.0.bbappend
  /home/luc/MT/oe-core/build/../layers/meta-freescale/dynamic-layers/browser-layer/recipes-browser/chromium/chromium_52.0.2743.76.bbappend
  /home/luc/MT/oe-core/build/../layers/meta-toradex-tegra/recipes-graphics/wayland/weston_1.%.bbappend
  /home/luc/MT/oe-core/build/../layers/meta-toradex-tegra/jetson-tk1/recipes-graphics/xorg-xserver/xserver-xorg_1.17.2.bbappend
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/crypt' (but /home/luc/MT/oe-core/build/../layers/openembedded-core/meta/recipes-devtools/python/python3_3.8.5.bb DEPENDS on or otherwise requires it). Close matches:
  virtual/librpc
  virtual/perf
  virtual/libc
ERROR: Required build target 'python3' has no buildable providers.
Missing or unbuildable dependency chain was: ['python3', 'virtual/crypt']

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

What could be the problem?

Thanks!

Hi @Dumitru,

Can you confirm which Toradex BSP are you using for your Yocto Build?

Also, could you tell us why do you need to change this version of Python3?

The main issue is this one: ERROR: Nothing PROVIDES 'virtual/crypt'

I saw that you create a question at StackOverflow here.
We’ll support you through this channel for the moment, ok?

Best regards,
André Curvello

Hi @andrecurvello.tx,
I use BSP 2.8 and I get an error from python3_3.5.3 when I want to import a library but in phyton3_3.8.5 it works.

Best regards, Lucian Dumitru

Hi @andrecurvello.tx ,

It works with BSP 3.0, thank you!

Best regards, Lucian Dumitru

Hi @Dumitru,

But you were conducting tests on your Host development computer, and then porting the changes to the target development board, right?

I’ve found out that there are no providers for virtual/crypt in our default BSP 2.8, but there are at BSP 3.0.

Can you try this BSP 3.0, please?

If that, for some reason, still does not work, you can also try to add this to your new Python recipe: PREFERRED_PROVIDER_virtual/crypt ?= "libxcrypt"

Best regards,
André Curvello

As I expected :slight_smile:

I’m happy to know that now it’s working.
Thanks for the feedback!

Best regards,
André Curvello