I see - this will be the source of your problem, your image depends on
this package, but it can't be built due to this license incompatibility.
Depending on your requirements, you can approach it on a few ways (this
is not an exhaustive list, of course, I'm sure others could give other,
even better ones):
- if you don't need systemd, remove it.
- if you need systemd, but don't need swap support, remove swap support
from the systemd recipe
- if you need systemd and swap support, find a non-gplv3 grep
alternative, and set it as your preferred provider. You could check for
example if grep from busybox is enough.
On 28.01.25 04:45, Ganesh Mahajan via Lists.Yoctoproject.Org wrote:
Hi Gyorgy,
Yes i do get an error when building util-liunx, but its due to
incompatible license.
build@ubuntu-bionic:~/project/build$ bitbake util-linux
Loading cache: 100%
|######################################################################################################|
Time: 0:00:04
Loaded 5080 entries from dependency cache.
Parsing recipes: 100%
|####################################################################################################|
Time: 0:00:02
Parsing of 3026 .bb files complete (3023 cached, 3 parsed). 5083
targets, 537 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
*ERROR: Nothing RPROVIDES 'grep' (but
/home/build/project/meta/recipes-core/util-linux/util-linux_2.39.3.bb
RDEPENDS on or otherwise requires it)*
*grep was skipped: it has incompatible license(s): GPL-3.0-only*
*NOTE: Runtime target 'grep' is unbuildable, removing...*
*Missing or unbuildable dependency chain was: ['grep']*
*ERROR: Required build target 'util-linux' has no buildable providers.*
*Missing or unbuildable dependency chain was: ['util-linux', 'grep']
*Ganesh
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64658): https://lists.yoctoproject.org/g/yocto/message/64658
Mute This Topic: https://lists.yoctoproject.org/mt/110836989/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-