Skip to contentSkip to conversation

python-setuptools dependency loops error #yocto #python

poky Bel Hadj Salem Talel 2 participants 2 messages Jul 13, 2020

lore
Share & tools
lore
#0 lore raw

Hi all,
I have a problem using *python-setuptools* with yocto when bitbaking any recipe that inherits *setuptools* , or even when I execute "bitbake setuptools" but there is no problem with setuptools3, but I need to use python2 for now.
Here is the log:

------------------------------

*ERROR: 176 unbuildable tasks were found.
##########################################                                                                            | ETA:  0:00:00*
*These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.*

*Identifying dependency loops (this may take a short while)...*

*ERROR:*
*Dependency loop #1 found:*
*Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_compile (dependent Tasks ['python-setuptools_40.0.0.bb:do_configure'])*
*Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_install (dependent Tasks ['python-setuptools_40.0.0.bb:do_compile'])*
*Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_populate_sysroot (dependent Tasks ['python-setuptools_40.0.0.bb:do_install'])*
*Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_prepare_recipe_sysroot (dependent Tasks ['python-setuptools_40.0.0.bb:do_populate_sysroot', 'python-native_2.7.15.bb:do_populate_sysroot', 'python-setuptools_40.0.0.bb:do_fetch'])* *Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_configure (dependent Tasks ['python-setuptools_40.0.0.bb:do_prepare_recipe_sysroot', 'python-setuptools_40.0.0.bb:do_patch'])*

*ERROR: Command execution failed: 1

* ------------------------------

Thansk, Talel

#1 lore raw
Quoted 3 lines · Bel Hadj Salem Talel

Hi all,
I have a problem using *python-setuptools* with yocto when bitbaking any recipe that inherits *setuptools* , or even when I execute "bitbake setuptools" but there is no problem with setuptools3, but I need to use python2 for now.

perhaps you can see if commit [1] helps and if sumo already has it then there might be something else going on

[1] https://git.openembedded.org/openembedded-core/commit/?id=3e3c5cc579482041f0233e3e03ace736b62fb364

Quoted 27 lines

Here is the log:

------------------------------

*ERROR: 176 unbuildable tasks were found.
########################################## | ETA:  0:00:00*
*These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.*

*Identifying dependency loops (this may take a short while)...*

*ERROR: *
*Dependency loop #1 found:*
*  Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_compile (dependent Tasks ['python-setuptools_40.0.0.bb:do_configure'])*
*  Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_install (dependent Tasks ['python-setuptools_40.0.0.bb:do_compile'])*
*  Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_populate_sysroot (dependent Tasks ['python-setuptools_40.0.0.bb:do_install'])*
*  Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_prepare_recipe_sysroot (dependent Tasks ['python-setuptools_40.0.0.bb:do_populate_sysroot', 'python-native_2.7.15.bb:do_populate_sysroot', 'python-setuptools_40.0.0.bb:do_fetch'])* *  Task virtual:native:/media/talel/data/sumo/sources/poky/meta/recipes-devtools/python/python-setuptools_40.0.0.bb:do_configure (dependent Tasks ['python-setuptools_40.0.0.bb:do_prepare_recipe_sysroot', 'python-setuptools_40.0.0.bb:do_patch'])*

*ERROR: Command execution failed: 1

*------------------------------

Thansk, Talel