S32G3-Yocto BSP 42-Package autoconf cannot be installed into the image because it has incompatible l

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G3-Yocto BSP 42-Package autoconf cannot be installed into the image because it has incompatible l

672 Views
MohamedAbdelslam
Contributor III

Hi experts, 
I am building yocto image for bsp42 version for s32g399ardb3. and i have the following error : 
ERROR: fsl-image-auto-1.0-r0 do_rootfs: Package autoconf cannot be installed into the image because it has incompatible license(s): GPL-3.0-or-later. 
I have tried several solutions such as adding LICENSE_FLAGS_ACCEPTED = "GPL-3.0-or-later" in the local.conf file, but no change and the error presist. 
could you please recommend how to troubleshoot this issue? 
here is a complete build result: 

bitbake fsl-image-auto
WARNING: Host distribution "ubuntu-24.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#############################################################################################################################################################################| Time: 0:00:00
Loaded 5546 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################################################################################################| Time: 0:00:00
Parsing of 3716 .bb files complete (3695 cached, 21 parsed). 5564 targets, 1010 skipped, 12 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "s32g399ardb3"
DISTRO = "fsl-auto"
DISTRO_VERSION = "42.0"
TUNE_FEATURES = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:31751bba1c789f15f574773a659b8017d7bcf440"
meta-oe
meta-multimedia
meta-python = "HEAD:0560b848996a0feb410a8cd8ca07c60fe2f3b5bc"
meta-python2 = "HEAD:f02882e2aa9279ca7becca8d0cedbffe88b5a253"
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl
meta-xfce = "HEAD:0560b848996a0feb410a8cd8ca07c60fe2f3b5bc"
meta-virtualization = "HEAD:8b356b91ed0d4bcab72350a2ddcef880f4fa5c26"
meta-security = "HEAD:353078bc06c8b471736daab6ed193e30d533d1f1"
meta-freescale = "HEAD:fb17bfb8edcc9560bc1beb966a68f1f4c08ecfb3"
meta-alb-bsp
meta-alb-sdk = "HEAD:d2e4349255fad0b3cc3e13f06a2e4e3c3a3c4611"
meta-lts-mixins = "kirkstone/rust-1.68:6b3a208f7e14138728a6e581ac75e8973ab48ef3"
meta-clang = "kirkstone:b33aa9c7f54807c113c44b0f2c15a5c5d88ae5ee"
meta-rauc-qemux86 = "kirkstone:c3f3ab4c587f51a74a76546ce2813c8be7c6d128"
meta-rauc = "kirkstone:930ea748b6c80e41e5cd3db12033cb1de88f7305"
meta-kanto = "kirkstone:d2967cc9cdb381233856a3c115df115d4b3be132"
meta-leda-backports
meta-leda-components
meta-leda-bsp
meta-leda-distro
meta-leda-distro-container = "main:84edcd972ff4b465a8a3da88c43676e85cc49887"

Initialising tasks: 100% |########################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 210 Local 196 Mirrors 0 Missed 14 Current 1640 (93% match, 99% complete)
Removing 2 stale sstate objects for arch cortexa53-crypto: 100% |#################################################################################################################################| Time: 0:00:00
Removing 3 stale sstate objects for arch allarch: 100% |##########################################################################################################################################| Time: 0:00:00
Removing 5 stale sstate objects for arch s32g399ardb3: 100% |#####################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
WARNING: os-release-1.0-r0 do_compile: Exception executing git, falling back to DISTRO_VERSION
ERROR: fsl-image-auto-1.0-r0 do_rootfs: Package autoconf cannot be installed into the image because it has incompatible license(s): GPL-3.0-or-later
ERROR: Logfile of failure stored in: /data/Workspace_nxp_sdv/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/s32g399ardb3-fsl-linux/fsl-image-auto/1.0-r0/temp/log.do_rootfs.1317181
ERROR: Task (/data/Workspace_nxp_sdv/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-fsl/images/fsl-image-auto.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4648 tasks of which 4624 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/data/Workspace_nxp_sdv/fsl-auto-yocto-bsp/sources/meta-alb/meta-alb-sdk/recipes-fsl/images/fsl-image-auto.bb:do_rootfs
Summary: There were 2 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code.

Tags (1)
0 Kudos
Reply
1 Reply

634 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @MohamedAbdelslam 

Thanks for your post.

From the BSP42 UM

chenyin_h_0-1734927064498.png

The BSP have been validated on Ubuntu-20.04, which is recommended for working with BSP, from my experience, the Ubuntu-22.04 could also be used for newer version BSPs, but Ubuntu-24.04 is not tested, you may possibly experience unexpected failures. 

I suggest preparing a host equipped with Ubuntu-20.04 for using BSP, sorry for your inconvenience.

 

BR

Chenyin

0 Kudos
Reply