facebook / openbmc

OpenBMC is an open software framework to build a complete Linux image for a Board Management Controller (BMC).
627 stars 280 forks source link

Build for yosemite failed #240

Closed PyMario closed 1 month ago

PyMario commented 2 months ago

I want to build for yosemite.

I have read the Build Host Packages and installed these

Build Log

ubuntu@VM-0-15-ubuntu:~$ git clone -b helium https://github.com/facebook/openbmc.git
Cloning into 'openbmc'...
remote: Enumerating objects: 175753, done.
remote: Counting objects: 100% (175753/175753), done.
remote: Compressing objects: 100% (52203/52203), done.
remote: Total 175753 (delta 116732), reused 175690 (delta 116692), pack-reused 0
Receiving objects: 100% (175753/175753), 52.72 MiB | 13.04 MiB/s, done.
Resolving deltas: 100% (116732/116732), done.
ubuntu@VM-0-15-ubuntu:~$ cd openbmc/
ubuntu@VM-0-15-ubuntu:~/openbmc$ ./sync_yocto.sh
warning: no common commits
remote: Enumerating objects: 78423, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 78423 (delta 0), reused 0 (delta 0), pack-reused 78421
Receiving objects: 100% (78423/78423), 33.55 MiB | 14.52 MiB/s, done.
Resolving deltas: 100% (44288/44288), done.
From https://github.com/openembedded/meta-openembedded
 * branch                rocko      -> FETCH_HEAD
 * [new branch]          rocko      -> yocto-meta-openembedded/rocko
Preparing worktree (detached HEAD eae996301)
HEAD is now at eae996301 glm: update 0.9.8.5 -> 0.9.9-a2 to fix x86_64 (sse-simd) build
warning: no common commits
remote: Enumerating objects: 1998, done.
remote: Counting objects: 100% (459/459), done.
remote: Compressing objects: 100% (116/116), done.
remote: Total 1998 (delta 362), reused 343 (delta 343), pack-reused 1539
Receiving objects: 100% (1998/1998), 1.11 MiB | 550.00 KiB/s, done.
Resolving deltas: 100% (935/935), done.
From https://git.yoctoproject.org/git/meta-security
 * branch                rocko      -> FETCH_HEAD
 * [new branch]          rocko      -> yocto-meta-security/rocko
Preparing worktree (detached HEAD 74860b2b6)
HEAD is now at 74860b2b6 CVE-2018-11652 nikto: arbitray OS command injection via http server field.
warning: no common commits
remote: Enumerating objects: 354490, done.
remote: Counting objects: 100% (31358/31358), done.
remote: Compressing objects: 100% (6795/6795), done.
remote: Total 354490 (delta 28266), reused 24563 (delta 24563), pack-reused 323132
Receiving objects: 100% (354490/354490), 133.01 MiB | 8.31 MiB/s, done.
Resolving deltas: 100% (253674/253674), done.
From https://git.yoctoproject.org/git/poky
 * branch                rocko      -> FETCH_HEAD
 * [new branch]          rocko      -> yocto-poky/rocko
Preparing worktree (detached HEAD 5f660914cd)
HEAD is now at 5f660914cd bitbake: bitbake-user-manual: Fixed section head typo
Applying: rocko: backport support for ':' override
Applying: Remove checks on python
Applying: Add support to build on centOS9
remote: Enumerating objects: 282328, done.
remote: Counting objects: 100% (1889/1889), done.
remote: Compressing objects: 100% (733/733), done.
remote: Total 282328 (delta 1112), reused 1807 (delta 1061), pack-reused 280439
Receiving objects: 100% (282328/282328), 160.53 MiB | 11.59 MiB/s, done.
Resolving deltas: 100% (171449/171449), completed with 35 local objects.
From https://github.com/openbmc/openbmc
 * branch                  master     -> FETCH_HEAD
 * [new branch]            master     -> yocto-lf-openbmc/master
Preparing worktree (detached HEAD 1db3f9caf2)
HEAD is now at 1db3f9caf2 meta-facebook: yosemite4: add settingsd for temporary versions
remote: Enumerating objects: 5686, done.
remote: Counting objects: 100% (3034/3034), done.
remote: Compressing objects: 100% (306/306), done.
remote: Total 5686 (delta 2805), reused 2728 (delta 2728), pack-reused 2652
Receiving objects: 100% (5686/5686), 3.52 MiB | 30.52 MiB/s, done.
Resolving deltas: 100% (3159/3159), completed with 2014 local objects.
From https://github.com/openbmc/openbmc
 * branch                  dunfell    -> FETCH_HEAD
 * [new branch]            dunfell    -> yocto-lf-openbmc/dunfell
Preparing worktree (detached HEAD c2858f16b3)
HEAD is now at c2858f16b3 subtree updates
remote: Enumerating objects: 1902, done.
remote: Counting objects: 100% (1074/1074), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 1902 (delta 1035), reused 1035 (delta 1035), pack-reused 828
Receiving objects: 100% (1902/1902), 1.20 MiB | 4.67 MiB/s, done.
Resolving deltas: 100% (1074/1074), completed with 791 local objects.
From https://github.com/openbmc/openbmc
 * branch                  kirkstone  -> FETCH_HEAD
 * [new branch]            kirkstone  -> yocto-lf-openbmc/kirkstone
Preparing worktree (detached HEAD 91c4060797)
HEAD is now at 91c4060797 kirkstone: subtree updates
ubuntu@VM-0-15-ubuntu:~/openbmc$ source openbmc-init-build-env yosemite
Init build environment for platform 'meta-yosemite' with distro rocko...
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

Common targets are:
    yosemite-image
ubuntu@VM-0-15-ubuntu:~/openbmc/build$ bitbake
bitbake              bitbake-diffsigs     bitbake-dumpsig      bitbake-layers       bitbake-prserv       bitbake-prserv-tool  bitbake-selftest     bitbake-whatchanged  bitbake-worker       
ubuntu@VM-0-15-ubuntu:~/openbmc/build$ bitbake
bitbake              bitbake-diffsigs     bitbake-dumpsig      bitbake-layers       bitbake-prserv       bitbake-prserv-tool  bitbake-selftest     bitbake-whatchanged  bitbake-worker       
ubuntu@VM-0-15-ubuntu:~/openbmc/build$ bitbake yosemite-image
/home/ubuntu/openbmc/yocto/rocko/poky/bitbake/lib/bb/fetch2/clearcase.py:159: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if command is 'mkview':
/home/ubuntu/openbmc/yocto/rocko/poky/bitbake/lib/bb/fetch2/clearcase.py:166: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif command is 'rmview':
/home/ubuntu/openbmc/yocto/rocko/poky/bitbake/lib/bb/fetch2/clearcase.py:170: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif command is 'setcs':
WARNING: /home/ubuntu/openbmc/yocto/rocko/poky/meta/lib/oe/maketype.py:99: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  if not isinstance(obj, collections.Callable):

NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: Host distribution "ubuntu-20.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:28
Parsing of 2175 .bb files complete (0 cached, 2175 parsed). 3022 targets, 305 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-devtools/qemu/qemu-system-native_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/rsyslog/librelp_1.10.0.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/rsyslog/librelp_1.5.0.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/timezone/tzdata.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/interfaces/bmcweb_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/sensors/dbus-sensors_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/users/phosphor-user-manager_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm/tpm-tools/tpm-tools_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm/trousers/trousers_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm2/tpm2-tools/tpm2-tools_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-utils/flashrom/flashrom_1.2.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-facebook/recipes-core/packagegroups/packagegroup-security-tpm2.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-facebook/meta-backports/rocko/recipes-kernel/dtc/dtc-native_%.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item virtual/kernel)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: Multiple providers are available for u-boot-mkimage-native (u-boot-mkimage-native, u-boot-tools-native)
Consider defining a PREFERRED_PROVIDER entry to match u-boot-mkimage-native
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-image-zimage)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-base)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-image)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-modules)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-x-tables)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-iptable-filter)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-conntrack-ipv4)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-nat)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-defrag-ipv4)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-iptable-nat)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-conntrack)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-ip-tables)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-ipt-masquerade)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "arm-fb-linux-gnueabi"
MACHINE              = "yosemite"
DISTRO               = "openbmc-fb-rocko"
DISTRO_VERSION       = "yosemite-365ef3abe9"
TUNE_FEATURES        = "arm armv5 thumb dsp"
TARGET_FPU           = "soft"
meta                 
meta-yocto-bsp       = "HEAD:193570a3316d3a0739cd88a4ad6761296301692d"
meta-oe              
meta-networking      
meta-python          = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
..                   
meta-aspeed          
meta-facebook        
meta-yosemite        
meta-python3         
meta-backports       = "helium:365ef3abe92aea94376813b5b2f2e538e9f0231a"

NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/2.3/x86_64-nativesdk-libc.tar.bz2;sha256sum=c6954563dad3c95608117c6fc328099036c832bbd924ebf5fdccb622fc0a8684
WARNING: Your host glibc verson (2.31) is newer than that in uninative (2.28). Disabling uninative so that sstate is not corrupted.
Initialising tasks: 100% |#############################################################################################################################################################################################################| Time: 0:00:03
Checking sstate mirror object availability: 100% |#####################################################################################################################################################################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: gmp-native-6.1.2-r0 do_fetch: Failed to fetch URL https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2, attempting MIRRORS if available
WARNING: cryptodev-linux-native-1.9-r0 do_fetch: Failed to fetch URL git://github.com/cryptodev-linux/cryptodev-linux, attempting MIRRORS if available
WARNING: expat-native-2.2.3-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/expat/expat-2.2.3.tar.bz2, attempting MIRRORS if available
WARNING: popt-native-1.16-r3 do_fetch: Failed to fetch URL https://fossies.org/linux/misc/popt-1.16.tar.gz, attempting MIRRORS if available
WARNING: ninja-native-1.9.0-r0 do_fetch: Failed to fetch URL git://github.com/ninja-build/ninja.git;branch=release, attempting MIRRORS if available
WARNING: meson-native-0.40.1-r0 do_fetch: Failed to fetch URL git://github.com/mesonbuild/meson.git, attempting MIRRORS if available
WARNING: file-native-5.31-r0 do_fetch: Failed to fetch URL git://github.com/file/file.git, attempting MIRRORS if available
WARNING: rpm-native-1_4.13.90+gitAUTOINC+a8e51b3bb0-r0 do_fetch: Failed to fetch URL git://github.com/rpm-software-management/rpm, attempting MIRRORS if available
WARNING: libpcre-8.41-r0 do_fetch: Failed to fetch URL https://ftp.pcre.org/pub/pcre/pcre-8.41.tar.bz2, attempting MIRRORS if available
WARNING: update-rc.d-native-0.7-r5 do_fetch: Failed to fetch URL git://github.com/philb/update-rc.d.git, attempting MIRRORS if available
WARNING: cross-localedef-native-2.26-r0 do_fetch: Failed to fetch URL git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef, attempting MIRRORS if available
WARNING: libnsl2-1.0.5+gitAUTOINC+dfa2f31352-r0 do_fetch: Failed to fetch URL git://github.com/thkukuk/libnsl, attempting MIRRORS if available
WARNING: nlohmann-json-3.9.1-r0 do_fetch: Failed to fetch URL git://github.com/nlohmann/json.git;nobranch=1;protocol=https, attempting MIRRORS if available
WARNING: icu-native-59.1-r0 do_fetch: Checksum mismatch for local file /home/ubuntu/openbmc/build/downloads/icu4c-59_1-src.tgz
Cleaning and trying again.
WARNING: icu-native-59.1-r0 do_fetch: Renaming /home/ubuntu/openbmc/build/downloads/icu4c-59_1-src.tgz to /home/ubuntu/openbmc/build/downloads/icu4c-59_1-src.tgz_bad-checksum_e6ee81f9acc5d484ddd08a60a5477436
WARNING: icu-native-59.1-r0 do_fetch: Checksum failure encountered with download of http://download.icu-project.org/files/icu4c/59.1/icu4c-59_1-src.tgz - will attempt other sources if available
WARNING: cli11-1.8.0+gitAUTOINC+13becaddb6-r0 do_fetch: Failed to fetch URL git://github.com/CLIUtils/CLI11;branch=master;protocol=https, attempting MIRRORS if available
WARNING: coreutils-8.27-r0 do_fetch: Failed to fetch URL http://distfiles.gentoo.org/distfiles/coreutils-8.27-man.tar.xz;name=manpages, attempting MIRRORS if available
WARNING: libxml-parser-perl-native-2.44-r0 do_fetch: Failed to fetch URL http://www.cpan.org/modules/by-module/XML/XML-Parser-2.44.tar.gz, attempting MIRRORS if available
WARNING: libsolv-0.6.28-r0 do_fetch: Failed to fetch URL git://github.com/openSUSE/libsolv.git, attempting MIRRORS if available
WARNING: pps-tools-0.0.0+gitAUTOINC+0deb9c7e13-r0 do_fetch: Failed to fetch URL git://github.com/ago/pps-tools.git, attempting MIRRORS if available
ERROR: linux-aspeed-6.1.12-r1 do_compile: oe_runmake failed
ERROR: linux-aspeed-6.1.12-r1 do_compile: Function failed: do_compile (log file is located at /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1479100)
ERROR: Logfile of failure stored in: /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1479100
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-extended/bc/bc_1.06.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-support/lzop/lzop_1.03.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/gcc/libgcc_7.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: ['libgcc']
| NOTE: Skipping as already exists in sysroot: ['kmod-native', 'kern-tools-native', 'gcc-cross-arm', 'quilt-native', 'binutils-cross-arm', 'bc-native', 'lzop-native', 'xz-native', 'gtk-doc-native', 'autoconf-native', 'automake-native', 'zlib-native', 'gnu-config-native', 'pkgconfig-native', 'libtool-native', 'texinfo-dummy-native', 'bison-native', 'flex-native', 'linux-libc-headers', 'glibc', 'lzo-native', 'gettext-minimal-native', 'gmp-native', 'libmpc-native', 'mpfr-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 HOSTCC=gcc  -isystem/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/include -O2 -pipe -L/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -L/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-rpath-link,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-rpath,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-O1 HOSTCPP=gcc  -E zImage CC=arm-fb-linux-gnueabi-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd -ffile-prefix-map=/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/git=/kernel-source/  LD=arm-fb-linux-gnueabi-ld.bfd   UIMAGE_LOADADDR=0x40008000
|   SYNC    include/config/auto.conf.cmd
|   GEN     Makefile
|   GEN     Makefile
|   SYSHDR  arch/arm/include/generated/uapi/asm/unistd-oabi.h
|   SYSHDR  arch/arm/include/generated/uapi/asm/unistd-eabi.h
|   WRAP    arch/arm/include/generated/uapi/asm/kvm_para.h
|   WRAP    arch/arm/include/generated/uapi/asm/bitsperlong.h
|   WRAP    arch/arm/include/generated/uapi/asm/bpf_perf_event.h
|   WRAP    arch/arm/include/generated/uapi/asm/errno.h
|   WRAP    arch/arm/include/generated/uapi/asm/ioctl.h
|   WRAP    arch/arm/include/generated/uapi/asm/ipcbuf.h
|   WRAP    arch/arm/include/generated/uapi/asm/msgbuf.h
|   WRAP    arch/arm/include/generated/uapi/asm/param.h
|   WRAP    arch/arm/include/generated/uapi/asm/poll.h
|   WRAP    arch/arm/include/generated/uapi/asm/resource.h
|   WRAP    arch/arm/include/generated/uapi/asm/sembuf.h
|   WRAP    arch/arm/include/generated/uapi/asm/shmbuf.h
|   WRAP    arch/arm/include/generated/uapi/asm/siginfo.h
|   WRAP    arch/arm/include/generated/uapi/asm/socket.h
|   WRAP    arch/arm/include/generated/uapi/asm/sockios.h
|   WRAP    arch/arm/include/generated/uapi/asm/termbits.h
|   WRAP    arch/arm/include/generated/uapi/asm/termios.h
|   HOSTCC  scripts/dtc/dtc.o
|   HOSTCC  scripts/dtc/flattree.o
|   HOSTCC  scripts/dtc/fstree.o
|   HOSTCC  scripts/dtc/data.o
|   HOSTCC  scripts/dtc/livetree.o
|   HOSTCC  scripts/dtc/treesource.o
|   HOSTCC  scripts/dtc/srcpos.o
|   UPD     include/config/kernel.release
|   WRAP    arch/arm/include/generated/asm/early_ioremap.h
|   WRAP    arch/arm/include/generated/asm/extable.h
|   WRAP    arch/arm/include/generated/asm/flat.h
|   WRAP    arch/arm/include/generated/asm/parport.h
|   HOSTCC  scripts/dtc/checks.o
|   WRAP    arch/arm/include/generated/asm/compat.h
|   HOSTCC  scripts/dtc/util.o
|   WRAP    arch/arm/include/generated/asm/dma-mapping.h
|   WRAP    arch/arm/include/generated/asm/emergency-restart.h
|   WRAP    arch/arm/include/generated/asm/exec.h
|   WRAP    arch/arm/include/generated/asm/irq_regs.h
|   WRAP    arch/arm/include/generated/asm/kdebug.h
|   LEX     scripts/dtc/dtc-lexer.lex.c
|   WRAP    arch/arm/include/generated/asm/kmap_size.h
|   YACC    scripts/dtc/dtc-parser.tab.[ch]
|   WRAP    arch/arm/include/generated/asm/local.h
|   WRAP    arch/arm/include/generated/asm/local64.h
|   WRAP    arch/arm/include/generated/asm/mmiowb.h
|   WRAP    arch/arm/include/generated/asm/msi.h
|   WRAP    arch/arm/include/generated/asm/preempt.h
|   WRAP    arch/arm/include/generated/asm/rwonce.h
|   WRAP    arch/arm/include/generated/asm/serial.h
|   WRAP    arch/arm/include/generated/asm/simd.h
|   WRAP    arch/arm/include/generated/asm/softirq_stack.h
|   WRAP    arch/arm/include/generated/asm/trace_clock.h
|   WRAP    arch/arm/include/generated/asm/unaligned.h
|   HOSTCC  scripts/dtc/libfdt/fdt.o
|   UPD     include/generated/uapi/linux/version.h
|   HOSTCC  scripts/dtc/libfdt/fdt_ro.o
|   HOSTCC  scripts/dtc/libfdt/fdt_wip.o
|   HOSTCC  scripts/dtc/libfdt/fdt_sw.o
|   HOSTCC  scripts/dtc/libfdt/fdt_rw.o
|   HOSTCC  scripts/dtc/libfdt/fdt_strerror.o
|   HOSTCC  scripts/dtc/libfdt/fdt_empty_tree.o
|   HOSTCC  scripts/dtc/libfdt/fdt_addresses.o
|   HOSTCC  scripts/dtc/libfdt/fdt_overlay.o
|   HOSTCC  scripts/dtc/fdtoverlay.o
|   HOSTCC  scripts/dtc/dtc-lexer.lex.o
|   HOSTCC  scripts/dtc/dtc-parser.tab.o
|   UPD     include/generated/utsrelease.h
|   HOSTLD  scripts/dtc/fdtoverlay
|   UPD     include/generated/compile.h
|   HOSTLD  scripts/dtc/dtc
|   HOSTCC  scripts/kallsyms
|   HOSTCC  scripts/sorttable
|   HOSTCXX scripts/gcc-plugins/arm_ssp_per_task_plugin.so
| In file included from /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/bin/arm-fb-linux-gnueabi/../../lib/arm-fb-linux-gnueabi/gcc/arm-fb-linux-gnueabi/7.3.0/plugin/include/gcc-plugin.h:28,
|                  from /home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/gcc-common.h:7,
|                  from /home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
| /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/bin/arm-fb-linux-gnueabi/../../lib/arm-fb-linux-gnueabi/gcc/arm-fb-linux-gnueabi/7.3.0/plugin/include/system.h:687:10: fatal error: gmp.h: No such file or directory
|   687 | #include <gmp.h>
|       |          ^~~~~~~
| compilation terminated.
| make[2]: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/Makefile:54: scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
| make[1]: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/Makefile.build:500: scripts/gcc-plugins] Error 2
| make[1]: *** Waiting for unfinished jobs....
| make: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/Makefile:1266: scripts] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1479100)
ERROR: Task (/home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_6.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2349 tasks of which 6 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_6.1.bb:do_compile
Summary: There were 25 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Then I installed libgmp3-dev

sudo apt-get install  libgmp3-dev

Try compiling again

ubuntu@VM-0-15-ubuntu:~/openbmc/build$ sudo apt-get install  libgmp3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  crash dblatex dblatex-doc dh-strip-nondeterminism docbook-dsssl docbook-utils docbook-xml docbook-xsl dwz eatmydata fonts-gfs-baskerville fonts-gfs-porson kdump-tools kexec-tools libalgorithm-c3-perl libapache-pom-java libarchive-cpio-perl
  libarchive-zip-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl libclass-c3-perl libclass-c3-xs-perl libclass-data-inheritable-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libcommons-logging-java libcommons-parent-java
  libdata-optlist-perl libdatrie1 libdebhelper-perl libdevel-callchecker-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-lexalias-perl libdevel-stacktrace-perl libdist-checkconflicts-perl libdynaloader-functions-perl
  libeatmydata1 libemail-date-format-perl libeval-closure-perl libexception-class-perl libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libfontbox-java libfwupdplugin1 libipc-shareable-perl libllvm10 liblog-dispatch-perl
  liblog-log4perl-perl libltdl-dev libmime-charset-perl libmime-lite-perl libmime-types-perl libmodule-implementation-perl libmodule-runtime-perl libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl libosp5 libostyle1c2
  libpackage-stash-perl libpackage-stash-xs-perl libpadwalker-perl libparams-classify-perl libparams-util-perl libparams-validationcompiler-perl libpdfbox-java libreadonly-perl libref-util-perl libref-util-xs-perl librole-tiny-perl
  libsgmls-perl libsnappy1v5 libsombok3 libspecio-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-override-perl libsub-quote-perl libtcl8.6 libthai-data libthai0 libtk8.6
  libunicode-linebreak-perl libvariable-magic-perl libxdamage1 libxmlb1 libxss1 libxstring-perl libyaml-tiny-perl makedumpfile openjade opensp preview-latex-style python3-importlib-metadata python3-json-pointer python3-jsonpatch
  python3-jsonschema python3-more-itertools python3-pyrsistent python3-zipp sgml-base sgml-data sgmlspl squashfs-tools tcl tcl8.6 teckit texlive texlive-bibtex-extra texlive-extra-utils texlive-formats-extra texlive-lang-greek
  texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-science texlive-xetex tk tk8.6 xml-core xmlto
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgmp-dev libgmpxx4ldbl
Suggested packages:
  gmp-doc libgmp10-doc libmpfr-dev
The following NEW packages will be installed:
  libgmp-dev libgmp3-dev libgmpxx4ldbl
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 332 kB of archives.
After this operation, 1,808 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.tencentyun.com/ubuntu focal-security/main amd64 libgmpxx4ldbl amd64 2:6.2.0+dfsg-4ubuntu0.1 [9,144 B]
Get:2 http://mirrors.tencentyun.com/ubuntu focal-security/main amd64 libgmp-dev amd64 2:6.2.0+dfsg-4ubuntu0.1 [320 kB]
Get:3 http://mirrors.tencentyun.com/ubuntu focal-security/main amd64 libgmp3-dev amd64 2:6.2.0+dfsg-4ubuntu0.1 [2,020 B]
Fetched 332 kB in 0s (817 kB/s)         
Selecting previously unselected package libgmpxx4ldbl:amd64.
(Reading database ... 149863 files and directories currently installed.)
Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.0+dfsg-4ubuntu0.1_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../libgmp-dev_2%3a6.2.0+dfsg-4ubuntu0.1_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
Selecting previously unselected package libgmp3-dev:amd64.
Preparing to unpack .../libgmp3-dev_2%3a6.2.0+dfsg-4ubuntu0.1_amd64.deb ...
Unpacking libgmp3-dev:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
Setting up libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
Setting up libgmp-dev:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
Setting up libgmp3-dev:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.16) ...
ubuntu@VM-0-15-ubuntu:~/openbmc/build$ bitbake yosemite-image
WARNING: /home/ubuntu/openbmc/yocto/rocko/poky/meta/lib/oe/maketype.py:99: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  if not isinstance(obj, collections.Callable):

WARNING: Host distribution "ubuntu-20.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 3022 entries from dependency cache.
WARNING: No recipes available for:
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-devtools/qemu/qemu-system-native_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/rsyslog/librelp_1.10.0.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/rsyslog/librelp_1.5.0.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/timezone/tzdata.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/interfaces/bmcweb_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/sensors/dbus-sensors_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/users/phosphor-user-manager_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm/tpm-tools/tpm-tools_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm/trousers/trousers_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm2/tpm2-tools/tpm2-tools_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-utils/flashrom/flashrom_1.2.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-facebook/recipes-core/packagegroups/packagegroup-security-tpm2.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-facebook/meta-backports/rocko/recipes-kernel/dtc/dtc-native_%.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item virtual/kernel)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: Multiple providers are available for u-boot-mkimage-native (u-boot-mkimage-native, u-boot-tools-native)
Consider defining a PREFERRED_PROVIDER entry to match u-boot-mkimage-native
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-image)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-base)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-image-zimage)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-modules)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-iptable-nat)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-iptable-filter)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-x-tables)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-defrag-ipv4)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-ipt-masquerade)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-ip-tables)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-conntrack-ipv4)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-nat)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-conntrack)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "arm-fb-linux-gnueabi"
MACHINE              = "yosemite"
DISTRO               = "openbmc-fb-rocko"
DISTRO_VERSION       = "yosemite-365ef3abe9"
TUNE_FEATURES        = "arm armv5 thumb dsp"
TARGET_FPU           = "soft"
meta                 
meta-yocto-bsp       = "HEAD:193570a3316d3a0739cd88a4ad6761296301692d"
meta-oe              
meta-networking      
meta-python          = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
..                   
meta-aspeed          
meta-facebook        
meta-yosemite        
meta-python3         
meta-backports       = "helium:365ef3abe92aea94376813b5b2f2e538e9f0231a"

WARNING: Your host glibc verson (2.31) is newer than that in uninative (2.28). Disabling uninative so that sstate is not corrupted.
Initialising tasks: 100% |#############################################################################################################################################################################################################| Time: 0:00:03
Checking sstate mirror object availability: 100% |#####################################################################################################################################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-aspeed-6.1.12-r1 do_compile: oe_runmake failed
ERROR: linux-aspeed-6.1.12-r1 do_compile: Function failed: do_compile (log file is located at /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1537018)
ERROR: Logfile of failure stored in: /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1537018
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-support/lzop/lzop_1.03.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-extended/bc/bc_1.06.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/gcc/libgcc_7.3.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['lzop-native', 'bc-native', 'kern-tools-native', 'gcc-cross-arm', 'kmod-native', 'libgcc', 'quilt-native', 'binutils-cross-arm', 'xz-native', 'autoconf-native', 'libtool-native', 'automake-native', 'gnu-config-native', 'lzo-native', 'flex-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'libmpc-native', 'linux-libc-headers', 'gmp-native', 'zlib-native', 'mpfr-native', 'glibc', 'bison-native', 'gtk-doc-native', 'pkgconfig-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 HOSTCC=gcc  -isystem/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/include -O2 -pipe -L/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -L/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-rpath-link,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-rpath,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-O1 HOSTCPP=gcc  -E zImage CC=arm-fb-linux-gnueabi-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd -ffile-prefix-map=/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/git=/kernel-source/  LD=arm-fb-linux-gnueabi-ld.bfd   UIMAGE_LOADADDR=0x40008000
|   GEN     Makefile
|   HOSTCXX scripts/gcc-plugins/arm_ssp_per_task_plugin.so
| In file included from /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/bin/arm-fb-linux-gnueabi/../../lib/arm-fb-linux-gnueabi/gcc/arm-fb-linux-gnueabi/7.3.0/plugin/include/gcc-plugin.h:28,
|                  from /home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/gcc-common.h:7,
|                  from /home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
| /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/bin/arm-fb-linux-gnueabi/../../lib/arm-fb-linux-gnueabi/gcc/arm-fb-linux-gnueabi/7.3.0/plugin/include/system.h:691:10: fatal error: libiberty.h: No such file or directory
|   691 | #include "libiberty.h"
|       |          ^~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/Makefile:54: scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
| make[1]: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/Makefile.build:500: scripts/gcc-plugins] Error 2
| make: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/Makefile:1266: scripts] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1537018)
ERROR: Task (/home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_6.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1312 tasks of which 1296 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_6.1.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

I am trying to search for missing file. Copy it to the directory. But it still goes wrong.

ubuntu@VM-0-15-ubuntu:~/openbmc$ find ./ -name libiberty.h
./build/tmp/work-shared/gcc-7.3.0-r0/gcc-7.3.0/include/libiberty.h
./build/tmp/work/x86_64-linux/binutils-cross-arm/2.29.1-r0/git/include/libiberty.h
./build/tmp/work/x86_64-linux/bison-native/3.0.4-r0/bison-3.0.4/lib/libiberty.h
./build/tmp/work/armv5e-fb-linux-gnueabi/gdb/8.0-r0/gdb-8.0/include/libiberty.h
ubuntu@VM-0-15-ubuntu:~/openbmc$ cp ./build/tmp/work-shared/gcc-7.3.0-r0/gcc-7.3.0/include/libiberty.h /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/bin/arm-fb-linux-gnueabi/../../lib/arm-fb-linux-gnueabi/gcc/arm-fb-linux-gnueabi/7.3.0/plugin/include/
ubuntu@VM-0-15-ubuntu:~/openbmc$ bitbake yosemite-image
WARNING: /home/ubuntu/openbmc/yocto/rocko/poky/meta/lib/oe/maketype.py:99: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  if not isinstance(obj, collections.Callable):

WARNING: Host distribution "ubuntu-20.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 3022 entries from dependency cache.
WARNING: No recipes available for:
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-devtools/qemu/qemu-system-native_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/rsyslog/librelp_1.10.0.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/rsyslog/librelp_1.5.0.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-extended/timezone/tzdata.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/interfaces/bmcweb_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/sensors/dbus-sensors_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-phosphor/users/phosphor-user-manager_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm/tpm-tools/tpm-tools_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm/trousers/trousers_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-tpm2/tpm2-tools/tpm2-tools_%.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../common/recipes-utils/flashrom/flashrom_1.2.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-facebook/recipes-core/packagegroups/packagegroup-security-tpm2.bbappend
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-facebook/meta-backports/rocko/recipes-kernel/dtc/dtc-native_%.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item virtual/kernel)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: Multiple providers are available for u-boot-mkimage-native (u-boot-mkimage-native, u-boot-tools-native)
Consider defining a PREFERRED_PROVIDER entry to match u-boot-mkimage-native
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-base)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-image)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-image-zimage)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-modules)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-x-tables)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-conntrack-ipv4)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-ipt-masquerade)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-defrag-ipv4)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-iptable-nat)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-iptable-filter)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-ip-tables)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-nat)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12
NOTE: preferred version 4.1.51 of linux-aspeed not available (for item kernel-module-nf-conntrack)
NOTE: versions of linux-aspeed available: 4.1.51+gitAUTOINC+711b34f906 5.0.3+gitAUTOINC+c5c94c1c36 5.10.23+gitAUTOINC+24238561b0 5.15.67+gitAUTOINC+e9f65bcf59 5.6.19+gitAUTOINC+3a0ccf1460 6.0.2 6.1.12

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "arm-fb-linux-gnueabi"
MACHINE              = "yosemite"
DISTRO               = "openbmc-fb-rocko"
DISTRO_VERSION       = "yosemite-365ef3abe9"
TUNE_FEATURES        = "arm armv5 thumb dsp"
TARGET_FPU           = "soft"
meta                 
meta-yocto-bsp       = "HEAD:193570a3316d3a0739cd88a4ad6761296301692d"
meta-oe              
meta-networking      
meta-python          = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
..                   
meta-aspeed          
meta-facebook        
meta-yosemite        
meta-python3         
meta-backports       = "helium:365ef3abe92aea94376813b5b2f2e538e9f0231a"

WARNING: Your host glibc verson (2.31) is newer than that in uninative (2.28). Disabling uninative so that sstate is not corrupted.
Initialising tasks: 100% |#############################################################################################################################################################################################################| Time: 0:00:03
Checking sstate mirror object availability: 100% |#####################################################################################################################################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-aspeed-6.1.12-r1 do_compile: oe_runmake failed
ERROR: linux-aspeed-6.1.12-r1 do_compile: Function failed: do_compile (log file is located at /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1568318)
ERROR: Logfile of failure stored in: /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1568318
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-extended/bc/bc_1.06.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-support/lzop/lzop_1.03.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-extended/xz/xz_5.2.3.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb:do_populate_sysroot', '/home/ubuntu/openbmc/yocto/rocko/poky/meta/recipes-devtools/gcc/libgcc_7.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['gcc-cross-arm', 'bc-native', 'lzop-native', 'quilt-native', 'xz-native', 'kmod-native', 'kern-tools-native', 'binutils-cross-arm', 'libgcc', 'linux-libc-headers', 'zlib-native', 'gnu-config-native', 'texinfo-dummy-native', 'glibc', 'mpfr-native', 'libtool-native', 'libmpc-native', 'automake-native', 'autoconf-native', 'gmp-native', 'flex-native', 'lzo-native', 'gettext-minimal-native', 'pkgconfig-native', 'gtk-doc-native', 'bison-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 HOSTCC=gcc  -isystem/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/include -O2 -pipe -L/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -L/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-rpath-link,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-rpath,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/lib -Wl,-O1 HOSTCPP=gcc  -E zImage CC=arm-fb-linux-gnueabi-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd -ffile-prefix-map=/home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/git=/kernel-source/  LD=arm-fb-linux-gnueabi-ld.bfd   UIMAGE_LOADADDR=0x40008000
|   GEN     Makefile
|   HOSTCXX scripts/gcc-plugins/arm_ssp_per_task_plugin.so
| In file included from /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/bin/arm-fb-linux-gnueabi/../../lib/arm-fb-linux-gnueabi/gcc/arm-fb-linux-gnueabi/7.3.0/plugin/include/coretypes.h:369,
|                  from /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/bin/arm-fb-linux-gnueabi/../../lib/arm-fb-linux-gnueabi/gcc/arm-fb-linux-gnueabi/7.3.0/plugin/include/gcc-plugin.h:29,
|                  from /home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/gcc-common.h:7,
|                  from /home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
| /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/recipe-sysroot-native/usr/bin/arm-fb-linux-gnueabi/../../lib/arm-fb-linux-gnueabi/gcc/arm-fb-linux-gnueabi/7.3.0/plugin/include/hash-table.h:239:10: fatal error: mem-stats-traits.h: No such file or directory
|   239 | #include "mem-stats-traits.h"
|       |          ^~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| ERROR: oe_runmake failed
| make[2]: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/gcc-plugins/Makefile:54: scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
| make[1]: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/scripts/Makefile.build:500: scripts/gcc-plugins] Error 2
| make: *** [/home/ubuntu/openbmc/build/tmp/work-shared/yosemite/kernel-source/Makefile:1266: scripts] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/ubuntu/openbmc/build/tmp/work/yosemite-fb-linux-gnueabi/linux-aspeed/6.1.12-r1/temp/log.do_compile.1568318)
ERROR: Task (/home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_6.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1332 tasks of which 1316 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/ubuntu/openbmc/yocto/rocko/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_6.1.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

log.do_compile.1479100.log log.do_compile.1537018.log log.do_compile.1568318.log