[OE-core] connman dependency of readline

claus.stovgaard at gmail.com claus.stovgaard at gmail.com
Wed Dec 11 21:11:25 UTC 2019


> > it is set to always depend on readline in the DEPENDS variable,
> > even
> > though as far as I know it is only the connmanctl which depend on
> > readline.
> > In EXTRA_OECONF the --enable-client is hardcoded.
> > 
> > The client is though not included in the image unless you also add
> > connman-client.
> > 
> > So I am thinking on creating a patch where I create a
> > PACKAGECONFIG[readline] like bluez5, as I would not need the client
> > and
> > will need not to include readline because of GPLv3.
> 
> If readline is only needed to build the connman client and it is 
> packaged in a separate package, then you are only affected by 
> readline's GPL-3.0 license if you install that package. If you do 
> not install it you are ok even if readline is needed during the 
> build. So there should not be any real need to disable the building 
> of the client.

Thanks for your reply. Was also mixing DEPENDS up with RDEPENDS inside
my head.

Before your mail I had created a small patch and sent. I was
considering just to request it beeing dropped, but on the otherhand it
make it possible to use 

INCOMPATIBLE_LICENSE = "GPL-3.0"

without getting below error. 

ERROR: Nothing PROVIDES 'readline' (but /openembedded/oe-
core/meta/recipes-connectivity/connman/connman_1.37.bb DEPENDS on or
otherwise requires it)
readline was skipped: it has an incompatible license: GPLv3+

Though fine with me if the patch is dropped.

As a side note, is there a way for specifing INCOMPATIBLE_LICENSE on an
image level, and not as here on the build level? If this is the case,
there is no need for my change at all.

Regards
Claus



More information about the Openembedded-core mailing list