[Buildroot] [PATCH v2, 1/1] package/selinux-python: fix dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Apr 21 15:07:00 UTC 2020


On Tue, 21 Apr 2020 16:53:15 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Commit 791292c48d5165515ca08f35d8cbc1ef78d3ed95 forgot to add
> !BR2_PACKAGE_PYTHON dependency, without it the following error will be
> raised if the user selects BR2_PACKAGE_PYTHON and python-selinux:
> 
> WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON3
>   Depends on [n]: !BR2_PACKAGE_PYTHON [=y] && BR2_USE_WCHAR [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && !BR2_STATIC_LIBS [=n]
>   Selected by [y]:
>   - BR2_PACKAGE_SELINUX_PYTHON [=y] && BR2_USE_MMU [=y] && BR2_USE_WCHAR [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && !BR2_STATIC_LIBS [=n]

Aah, yes. Indeed. Now it makes complete sense. And thank you for fixing
this, I indeed completely overlooked that when changing the "select
BR2_PACKAGE_PYTHON3".

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list