There will be a missing structure definition error if the current SRCREV is used. Therefore, I need to modify the SRCREV to the latest commit hash of apml_library.
Expected behavior
It should be the latest commit hash and it can be compiled successfully.
To Reproduce
Steps to reproduce the behavior:
mkdir OpenBMC
git clone https://github.com/AMDESE/OpenBMC.git .
. setup sp5
Get access to apml_library from amd
bitbake obmc-phosphor-image
See the error 'Error: aggregate has incomplete type and cannot be defined.'
Unexpected behavior you saw The SRCREV of apml_library is not the latest commit hash, which causes an error.
https://github.com/AMDESE/OpenBMC/blob/6228c6bf72759228f573075fee15090e78ee3e3c/meta-amd/meta-common/recipes-amd/amd-apml/amd-apml.bb#L14
There will be a missing structure definition error if the current SRCREV is used. Therefore, I need to modify the SRCREV to the latest commit hash of apml_library.
Expected behavior It should be the latest commit hash and it can be compiled successfully.
To Reproduce Steps to reproduce the behavior:
mkdir OpenBMC
git clone https://github.com/AMDESE/OpenBMC.git .
. setup sp5
bitbake obmc-phosphor-image
OpenBMC Information:
"Ubuntu" VERSION="18.04.6 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.6 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic
Linux 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux