ARM-software / arm-enterprise-acs

ARM Enterprise ACS
Apache License 2.0
42 stars 52 forks source link

Build fails with message "ERROR: Nothing PROVIDES 'sbbr'" when building ACS from master branch #91

Closed nluu-ampere closed 3 years ago

nluu-ampere commented 3 years ago

Hi, I'm trying build asc img from master branch. Please help check following:

Building LuvOS Image with SBBR and SBSA for AARCH64 ...

Default kernel command line parameters: 'systemd.log_target=null plymouth.ignore-serial-consoles debug ip=dhcp log_buf_len=1M efi=debug acpi=on crashkernel=256M earlycon uefi_debug'
Append parameters (press Enter for default):
Building all modules
WARNING: Host distribution "ubuntu-18.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.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:05
Parsing of 814 .bb files complete (0 cached, 814 parsed). 1282 targets, 44 skipped, 0 masked, 0 errors.
ERROR: Nothing PROVIDES 'sbbr'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
WARNING: Host distribution "ubuntu-18.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 1282 entries from dependency cache.
ERROR: Nothing PROVIDES 'sbsa'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
WARNING: Host distribution "ubuntu-18.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 1282 entries from dependency cache.
ERROR: Nothing PROVIDES 'sdei'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
WARNING: Host distribution "ubuntu-18.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 1282 entries from dependency cache.
ERROR: Nothing PROVIDES 'luv-live-image'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Build failed..

I checked the bblayers.conf in ./luv/build/conf:

~/arm-enterprise-acs/luv/build$ cat conf/bblayers.conf
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/nluu/arm-enterprise-acs/luv/meta \
  /home/nluu/arm-enterprise-acs/luv/meta-poky \
  /home/nluu/arm-enterprise-acs/luv/meta-yocto-bsp \
  "

So, it seems missing meta-luv,meta-oe, right?

Regards, Nhan

nluu-ampere commented 3 years ago

The issue occurred due to I did not set git info on my system :), Therefore, can not applying luvos-patches

git config --global user.email "you@example.com" 
git config --global user.name "Your Name"