arduino / lmp-manifest

Other
12 stars 5 forks source link

Bunch of issues #4

Closed ghost closed 1 year ago

ghost commented 1 year ago

Log attached

PS D:\> cd .\lmp-manifest\
PS D:\lmp-manifest> docker build -t yocto-build .
[+] Building 481.9s (22/22) FINISHED
 => [internal] load build definition from Dockerfile                                                               0.1s
 => => transferring dockerfile: 4.10kB                                                                             0.0s
 => [internal] load .dockerignore                                                                                  0.1s
 => => transferring context: 2B                                                                                    0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                    1.6s
 => [container-tools 1/4] FROM docker.io/library/ubuntu:20.04@sha256:24a0df437301598d1a4b62ddf59fa0ed2969150d70d7  1.1s
 => => resolve docker.io/library/ubuntu:20.04@sha256:24a0df437301598d1a4b62ddf59fa0ed2969150d70d748c84225e6501e9c  0.0s
 => => sha256:1c5c8d0b973ab9d6d7742cf050beefa8ba2efb7779e09bfb1200d6192180766e 2.30kB / 2.30kB                     0.0s
 => => sha256:06d39c85623a79eb68b6cac39f4c4aba8834873ee5fc27be9d9d7655e6313c26 27.50MB / 27.50MB                   0.6s
 => => sha256:24a0df437301598d1a4b62ddf59fa0ed2969150d70d748c84225e6501e9c36b9 1.13kB / 1.13kB                     0.0s
 => => sha256:b39db7fc56971aac21dee02187e898db759c4f26b9b27b1d80b6ad32ff330c76 424B / 424B                         0.0s
 => => extracting sha256:06d39c85623a79eb68b6cac39f4c4aba8834873ee5fc27be9d9d7655e6313c26                          0.4s
 => [stage-2  2/11] RUN apt-get update  && apt-get install -y --no-install-recommends     software-properties-co  92.2s
 => [container-tools 2/4] RUN apt-get update && apt-get install -y wget git make  libgpgme-dev libassuan-dev li  123.0s
 => [fiotools 2/5] RUN apt-get update                                                                             15.8s
 => [fiotools 3/5] RUN apt-get install -y wget git gcc make -y                                                    84.3s
 => [stage-2  3/11] RUN apt-get update  && apt-get install -y --no-install-recommends   android-sdk-libsparse-u  358.5s
 => [fiotools 4/5] RUN wget -P /tmp https://go.dev/dl/go1.18.linux-amd64.tar.gz &&     tar -C /usr/local -xzf /t  16.0s
 => [fiotools 5/5] RUN git clone https://github.com/foundriesio/ostreeuploader.git /ostreeuploader &&     cd /ost  2.2s
 => [container-tools 3/4] RUN wget -P /tmp https://go.dev/dl/go1.18.linux-amd64.tar.gz &&  tar -C /usr/local -xz  13.2s
 => [container-tools 4/4] RUN git clone https://github.com/containers/skopeo.git /skopeo &&  cd /skopeo && git c  10.4s
 => [stage-2  4/11] RUN useradd -c Builder   -d /home/builder   -G sudo,dialout,floppy,plugdev,users   -m   -s /b  0.6s
 => [stage-2  5/11] RUN echo builder:builder | chpasswd                                                            0.6s
 => [stage-2  6/11] RUN sudo -u builder -H git config --global credential.helper 'cache --timeout=3600'            0.5s
 => [stage-2  7/11] COPY --from=fiotools /ostreeuploader/bin/fiopush /usr/bin/                                     0.1s
 => [stage-2  8/11] COPY --from=fiotools /ostreeuploader/bin/fiocheck /usr/bin/                                    0.1s
 => [stage-2  9/11] COPY --from=container-tools /skopeo/bin/skopeo /usr/bin                                        0.1s
 => [stage-2 10/11] RUN mkdir -p /etc/apt/keyrings  && curl -fsSL https://download.docker.com/linux/ubuntu/gpg |  20.0s
 => [stage-2 11/11] RUN mkdir -p /usr/lib/docker/cli-plugins  && wget https://github.com/docker/compose/releases/  2.6s
 => exporting to image                                                                                             3.5s
 => => exporting layers                                                                                            3.5s
 => => writing image sha256:341dba23766ac3aaafa9b3d1fc40d390ef4bd56bb37fa365a211d43198da9e13                       0.0s
 => => naming to docker.io/library/yocto-build                                                                     0.0s
PS D:\lmp-manifest> docker run -v d:\yocto:/dockerVolume -it yocto-build bash
root@d30d567a0c9b:/# su builder
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

builder@d30d567a0c9b:/$ git config --global user.email "bbbbbb@gmail.com"
builder@d30d567a0c9b:/$ git config --global user.name "XXX YYY"
builder@d30d567a0c9b:/$ cd ~
builder@d30d567a0c9b:~$ repo init -u https://github.com/arduino/lmp-manifest.git -m arduino.xml -b release
Downloading Repo source from https://gerrit.googlesource.com/git-repo
repo: Updating release signing keys to keyset ver 2.3

... A new version of repo (2.32) is available.
... New version is available at: /home/builder/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

Your identity is: XXX YYY <bbbbbb@gmail.com>
If you want to change this, please re-run 'repo init' with --config-name

Testing colorized output (for 'repo diff', 'repo status'):
  black    red      green    yellow   blue     magenta   cyan     white
  bold     dim      ul       reverse
Enable color display in this user account (y/N)? y

repo has been initialized in /home/builder
builder@d30d567a0c9b:~$ repo sync

... A new version of repo (2.32) is available.
... New version is available at: /home/builder/.repo/repo/repo
... The launcher is run from: /usr/bin/repo
!!! The launcher is not writable.  Please talk to your sysadmin or distro
!!! to get an update installed.

remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 919 bytes | 919.00 KiB/s, done.
Fetching: 100% (22/22), done in 35.561s
Checking out: 100% (22/22), done in 0.864s
repo sync has finished successfully.
builder@d30d567a0c9b:~$ DISTRO=lmp-xwayland MACHINE=portenta-x8 . setup-environment

Welcome to Foundries.io Linux microPlatform (FIO LMP)

For more information about Linux microPlatform see:
    https://app.foundries.io/docs/latest/

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

Your build environment has been configured with:

    MACHINE = portenta-x8
    DISTRO = lmp-xwayland

You can now run 'bitbake <target>'

Some common targets are:
    lmp-mini-image          - minimal OSTree + OTA capable image
    lmp-base-console-image  - mini-image + Docker container runtime
    lmp-gateway-image       - base-console-image + edge gateway related utilities
    lmp-factory-image       - default (and only available) at FoundriesFactory

builder@d30d567a0c9b:~/build-lmp-xwayland$ echo "ACCEPT_FSL_EULA = \"1\"" >> conf/local.conf
builder@d30d567a0c9b:~/build-lmp-xwayland$ bitbake lmp-partner-arduino-image
WARNING: You are running bitbake under WSLv2, this works properly but you should optimize your VHDX file eventually to avoid running out of storage space
Loading cache: 100% |                                                                                   | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |##################################################################################| Time: 0:00:26
Parsing of 3566 .bb files complete (0 cached, 3566 parsed). 5287 targets, 686 skipped, 10 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "aarch64-lmp-linux"
MACHINE              = "portenta-x8"
DISTRO               = "lmp-xwayland"
DISTRO_VERSION       = "4.0.3"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53"
TARGET_FPU           = ""
meta-lmp-base        = "HEAD:3e4a11a4232ab44e5ea84ffa9778f8b5f43c8d4c"
meta-oe
meta-networking
meta-filesystems
meta-perl
meta-python          = "HEAD:acbe74879807fc6f82b62525d32c823899e19036"
meta-virtualization  = "HEAD:5be54854139acb4796000478394afd66de0792c1"
meta-clang           = "HEAD:da86f6c3a19d7c0cd1e99810ac2000dd1668ffac"
meta-updater         = "HEAD:03fc4eb32bccc43f6aa386408dad30205efa5b8e"
meta-security
meta-tpm
meta-parsec
meta-integrity       = "HEAD:c79262a30bd385f5dbb009ef8704a1a01644528e"
meta-partner-arduino = "HEAD:ab195046ad80f0f2ebb05179b668ecf1a486053e"
meta-arm
meta-arm-toolchain
meta-arm-bsp         = "HEAD:faa70b76c63e010219575cbf8b8b9724df15fc02"
meta-freescale       = "HEAD:2fb1ce365338126aad365012ebb913b3e4a9f1be"
meta-freescale-3rdparty = "HEAD:de0eb1408150d77f9cce97c559f9a5a3c71e5d6c"
meta-raspberrypi     = "HEAD:0135a02ea577bd39dd552236ead2c5894d89da1d"
meta-intel           = "HEAD:15cdda250fc5aa762ac0139087f96411ca696036"
meta-yocto-bsp       = "HEAD:e95bbf710c397bf643c66a6454d57628d2c723e5"
meta-xilinx-core
meta-xilinx-bsp
meta-xilinx-standalone = "HEAD:bac5f428e9948cbc373f2ae891c0c9c8fa0fc45d"
meta-xilinx-tools    = "HEAD:9acf9d1d02f465b3c435283f92557b632becc72a"
meta-tegra           = "HEAD:d60193750012074a5726e879eeca117dc26e6951"
meta-ti-bsp          = "HEAD:2124e7ecd88d1aded320e86da62785c3ab171b27"
meta-st-stm32mp      = "HEAD:00c2494b66b8fa2c0fc2008fa802a2adbeed966e"
meta-sunxi           = "HEAD:ebdbb3341088bdbc188cee10cbe46a0976225e93"
meta-lmp-bsp         = "HEAD:3e4a11a4232ab44e5ea84ffa9778f8b5f43c8d4c"
meta                 = "HEAD:54ee67b1a805a07288925d56e9956aabc23b6ab2"

Initialising tasks: 100% |###############################################################################| Time: 0:00:06
Sstate summary: Wanted 4141 Local 0 Mirrors 0 Missed 4141 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
WARNING: cracklib-native-2.9.7-r0 do_fetch: Failed to fetch URL git://github.com/cracklib/cracklib;protocol=https;branch=master, attempting MIRRORS if available
WARNING: wayland-protocols-1.25.imx-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/imx/wayland-protocols-imx.git;protocol=https;branch=wayland-protocols-imx-1.25, attempting MIRRORS if available
ERROR: wayland-protocols-1.25.imx-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/usr/bin/python3-native:/home/builder/layers/openembedded-core/scripts:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/usr/bin/aarch64-lmp-linux:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/usr/sbin:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/usr/bin:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/sbin:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/bin:/home/builder/bitbake/bin:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/hosttools"; export HOME="/home/builder"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://source.codeaurora.org/external/imx/wayland-protocols-imx.git /home/builder/downloads/git2/source.codeaurora.org.external.imx.wayland-protocols-imx.git --progress failed with exit code 128, no output
ERROR: wayland-protocols-1.25.imx-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://source.codeaurora.org/external/imx/wayland-protocols-imx.git;protocol=https;branch=wayland-protocols-imx-1.25')
ERROR: Logfile of failure stored in: /home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/temp/log.do_fetch.9817
ERROR: Task (/home/builder/build-lmp-xwayland/conf/../../layers/meta-freescale/recipes-graphics/wayland/wayland-protocols_1.25.imx.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 584 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds

Summary: 1 task failed:
  /home/builder/build-lmp-xwayland/conf/../../layers/meta-freescale/recipes-graphics/wayland/wayland-protocols_1.25.imx.bb:do_fetch
Summary: There were 3 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
builder@d30d567a0c9b:~/build-lmp-xwayland$ DISTRO=lmp-xwayland MACHINE=portenta-x8 . setup-environment
bash: setup-environment: No such file or directory
builder@d30d567a0c9b:~/build-lmp-xwayland$ cd ~
builder@d30d567a0c9b:~$ DISTRO=lmp-xwayland MACHINE=portenta-x8 . setup-environment
builder@d30d567a0c9b:~/build-lmp-xwayland$ bitbake lmp-devel-arduino-image
Loading cache: 100% |####################################################################################| Time: 0:00:00
Loaded 5285 entries from dependency cache.
Parsing recipes: 100% |##################################################################################| Time: 0:00:01
Parsing of 3566 .bb files complete (3564 cached, 2 parsed). 5287 targets, 686 skipped, 10 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "aarch64-lmp-linux"
MACHINE              = "portenta-x8"
DISTRO               = "lmp-xwayland"
DISTRO_VERSION       = "4.0.3"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53"
TARGET_FPU           = ""
meta-lmp-base        = "HEAD:3e4a11a4232ab44e5ea84ffa9778f8b5f43c8d4c"
meta-oe
meta-networking
meta-filesystems
meta-perl
meta-python          = "HEAD:acbe74879807fc6f82b62525d32c823899e19036"
meta-virtualization  = "HEAD:5be54854139acb4796000478394afd66de0792c1"
meta-clang           = "HEAD:da86f6c3a19d7c0cd1e99810ac2000dd1668ffac"
meta-updater         = "HEAD:03fc4eb32bccc43f6aa386408dad30205efa5b8e"
meta-security
meta-tpm
meta-parsec
meta-integrity       = "HEAD:c79262a30bd385f5dbb009ef8704a1a01644528e"
meta-partner-arduino = "HEAD:ab195046ad80f0f2ebb05179b668ecf1a486053e"
meta-arm
meta-arm-toolchain
meta-arm-bsp         = "HEAD:faa70b76c63e010219575cbf8b8b9724df15fc02"
meta-freescale       = "HEAD:2fb1ce365338126aad365012ebb913b3e4a9f1be"
meta-freescale-3rdparty = "HEAD:de0eb1408150d77f9cce97c559f9a5a3c71e5d6c"
meta-raspberrypi     = "HEAD:0135a02ea577bd39dd552236ead2c5894d89da1d"
meta-intel           = "HEAD:15cdda250fc5aa762ac0139087f96411ca696036"
meta-yocto-bsp       = "HEAD:e95bbf710c397bf643c66a6454d57628d2c723e5"
meta-xilinx-core
meta-xilinx-bsp
meta-xilinx-standalone = "HEAD:bac5f428e9948cbc373f2ae891c0c9c8fa0fc45d"
meta-xilinx-tools    = "HEAD:9acf9d1d02f465b3c435283f92557b632becc72a"
meta-tegra           = "HEAD:d60193750012074a5726e879eeca117dc26e6951"
meta-ti-bsp          = "HEAD:2124e7ecd88d1aded320e86da62785c3ab171b27"
meta-st-stm32mp      = "HEAD:00c2494b66b8fa2c0fc2008fa802a2adbeed966e"
meta-sunxi           = "HEAD:ebdbb3341088bdbc188cee10cbe46a0976225e93"
meta-lmp-bsp         = "HEAD:3e4a11a4232ab44e5ea84ffa9778f8b5f43c8d4c"
meta                 = "HEAD:54ee67b1a805a07288925d56e9956aabc23b6ab2"

Initialising tasks: 100% |###############################################################################| Time: 0:00:06
Sstate summary: Wanted 3921 Local 0 Mirrors 0 Missed 3921 Current 200 (0% match, 4% complete)
NOTE: Executing Tasks
WARNING: wayland-protocols-1.25.imx-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/imx/wayland-protocols-imx.git;protocol=https;branch=wayland-protocols-imx-1.25, attempting MIRRORS if available
ERROR: wayland-protocols-1.25.imx-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/usr/bin/python3-native:/home/builder/layers/openembedded-core/scripts:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/usr/bin/aarch64-lmp-linux:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/usr/sbin:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/usr/bin:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/sbin:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/recipe-sysroot-native/bin:/home/builder/bitbake/bin:/home/builder/build-lmp-xwayland/tmp-lmp_xwayland/hosttools"; export HOME="/home/builder"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://source.codeaurora.org/external/imx/wayland-protocols-imx.git /home/builder/downloads/git2/source.codeaurora.org.external.imx.wayland-protocols-imx.git --progress failed with exit code 128, no output
ERROR: wayland-protocols-1.25.imx-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://source.codeaurora.org/external/imx/wayland-protocols-imx.git;protocol=https;branch=wayland-protocols-imx-1.25')
ERROR: Logfile of failure stored in: /home/builder/build-lmp-xwayland/tmp-lmp_xwayland/work/cortexa53-mx8mm-lmp-linux/wayland-protocols/1.25.imx-r0/temp/log.do_fetch.14954
ERROR: Task (/home/builder/build-lmp-xwayland/conf/../../layers/meta-freescale/recipes-graphics/wayland/wayland-protocols_1.25.imx.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 643 tasks of which 583 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds

Summary: 1 task failed:
  /home/builder/build-lmp-xwayland/conf/../../layers/meta-freescale/recipes-graphics/wayland/wayland-protocols_1.25.imx.bb:do_fetch
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
builder@d30d567a0c9b:~/build-lmp-xwayland$ DISTRO=lmp-mfgtool MACHINE=portenta-x8 . setup-environment
bash: setup-environment: No such file or directory
builder@d30d567a0c9b:~/build-lmp-xwayland$ cd ~
builder@d30d567a0c9b:~$ DISTRO=lmp-mfgtool MACHINE=portenta-x8 . setup-environment

Welcome to Foundries.io Linux microPlatform (FIO LMP)

For more information about Linux microPlatform see:
    https://app.foundries.io/docs/latest/

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

Your build environment has been configured with:

    MACHINE = portenta-x8
    DISTRO = lmp-mfgtool

You can now run 'bitbake <target>'

Some common targets are:
    lmp-mini-image          - minimal OSTree + OTA capable image
    lmp-base-console-image  - mini-image + Docker container runtime
    lmp-gateway-image       - base-console-image + edge gateway related utilities
    lmp-factory-image       - default (and only available) at FoundriesFactory

builder@d30d567a0c9b:~/build-lmp-mfgtool$ echo "ACCEPT_FSL_EULA = \"1\"" >> conf/local.conf
builder@d30d567a0c9b:~/build-lmp-mfgtool$ cat  conf/local.conf

# CONF_VERSION is increased each time build/conf/ changes incompatibly
CONF_VERSION = "2"

# Which files do we want to parse:
BBMASK = ""

# Don't generate the mirror tarball for SCM repos, the snapshot is enough
BB_GENERATE_MIRROR_TARBALLS = "0"

# Disable build time patch resolution. This would launch a devshell
# and wait for manual intervention. We disable it.
PATCHRESOLVE = "noop"

#
# Parallelism Options
#
# These two options control how much parallelism BitBake should use. The first
# option determines how many tasks bitbake should run in parallel:
# Default to setting automatically based on cpu count
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
#
# The second option controls how many processes make should run in parallel
# when running compile tasks:
# Default to setting automatically based on cpu count
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"

#
# Shared-state files from other locations
#
# Shared state files are prebuilt cache data objects which can
# used to accelerate build time. This variable can be used to configure the
# system to search other mirror locations for these objects before it builds
# the data itself.
#
# This can be a filesystem directory, or a remote url such as http or ftp.
# These would contain the sstate-cache results from previous builds (possibly
# from other machines). This variable works like fetcher MIRRORS/PREMIRRORS
# and points to the cache locations to check for the shared objects.
#SSTATE_MIRRORS ?= "\
#file://.* https://storage.googleapis.com/lmp-cache/sstate-cache/PATH \n \
#"

# enable PR service on build machine itself
# its good for a case when this is the only builder
# generating the feeds
#PRSERV_HOST = "localhost:0"

#
# Default kernel provider
#
# The default kernel provider in the Linux microPlatform is 'linux-lmp', but
# if you wish to use the kernel provided by the board BSP layer, or your own
# kernel, replace the line below with the recipe name used by the desired
# kernel provider.
PREFERRED_PROVIDER_virtual/kernel ?= "linux-lmp"

# By default LmP kernel is configured to load only signed modules.
# The default key provided should only be used for development purposes.
# To create a custom signing key, follow the instructions on kernel documentation.
MODSIGN_KEY_DIR ?= "${TOPDIR}/conf/keys"

#
# SPL / U-Boot proper signing support
#
# Supported key type: RSA 2048
UBOOT_SPL_SIGN_KEYNAME ?= "spldev"
#
# U-Boot / fitImage signing support
#
# Supported key type: RSA 2048
UBOOT_SIGN_KEYDIR ??= "${TOPDIR}/conf/keys"
UBOOT_SIGN_KEYNAME ?= "ubootdev"
#UBOOT_SIGN_ENABLE ?= "1"

#
# OP-TEE: Custom TA signing key
#
# By default OP-TEE uses a development tree available as part of the git
# repository, which should only be used for development purposes. To use a
# custom signing key just generate a custom RSA 2048 key (PEM format) and
# set via the OPTEE_TA_SIGN_KEY variable.
OPTEE_TA_SIGN_KEY ??= "${TOPDIR}/conf/keys/opteedev.key"

#
# UEFI Secure Boot
#
# Folder for UEFI keys and certificates
UEFI_SIGN_KEYDIR ??= "${TOPDIR}/conf/keys/uefi"
#UEFI_SIGN_ENABLE ?= "1"
ACCEPT_FSL_EULA = "1"
builder@d30d567a0c9b:~/build-lmp-mfgtool$ echo "MFGTOOL_FLASH_IMAGE = \"lmp-devel-arduino-image\"" >> conf/local.conf
builder@d30d567a0c9b:~/build-lmp-mfgtool$ bitbake mfgtool-files
WARNING: You are running bitbake under WSLv2, this works properly but you should optimize your VHDX file eventually to avoid running out of storage space
Loading cache: 100% |                                                                                   | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |##################################################################################| Time: 0:00:24
Parsing of 3566 .bb files complete (0 cached, 3566 parsed). 5287 targets, 942 skipped, 10 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "aarch64-lmp-linux"
MACHINE              = "portenta-x8"
DISTRO               = "lmp-mfgtool"
DISTRO_VERSION       = "4.0.3"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53"
TARGET_FPU           = ""
meta-lmp-base        = "HEAD:3e4a11a4232ab44e5ea84ffa9778f8b5f43c8d4c"
meta-oe
meta-networking
meta-filesystems
meta-perl
meta-python          = "HEAD:acbe74879807fc6f82b62525d32c823899e19036"
meta-virtualization  = "HEAD:5be54854139acb4796000478394afd66de0792c1"
meta-clang           = "HEAD:da86f6c3a19d7c0cd1e99810ac2000dd1668ffac"
meta-updater         = "HEAD:03fc4eb32bccc43f6aa386408dad30205efa5b8e"
meta-security
meta-tpm
meta-parsec
meta-integrity       = "HEAD:c79262a30bd385f5dbb009ef8704a1a01644528e"
meta-partner-arduino = "HEAD:ab195046ad80f0f2ebb05179b668ecf1a486053e"
meta-arm
meta-arm-toolchain
meta-arm-bsp         = "HEAD:faa70b76c63e010219575cbf8b8b9724df15fc02"
meta-freescale       = "HEAD:2fb1ce365338126aad365012ebb913b3e4a9f1be"
meta-freescale-3rdparty = "HEAD:de0eb1408150d77f9cce97c559f9a5a3c71e5d6c"
meta-raspberrypi     = "HEAD:0135a02ea577bd39dd552236ead2c5894d89da1d"
meta-intel           = "HEAD:15cdda250fc5aa762ac0139087f96411ca696036"
meta-yocto-bsp       = "HEAD:e95bbf710c397bf643c66a6454d57628d2c723e5"
meta-xilinx-core
meta-xilinx-bsp
meta-xilinx-standalone = "HEAD:bac5f428e9948cbc373f2ae891c0c9c8fa0fc45d"
meta-xilinx-tools    = "HEAD:9acf9d1d02f465b3c435283f92557b632becc72a"
meta-tegra           = "HEAD:d60193750012074a5726e879eeca117dc26e6951"
meta-ti-bsp          = "HEAD:2124e7ecd88d1aded320e86da62785c3ab171b27"
meta-st-stm32mp      = "HEAD:00c2494b66b8fa2c0fc2008fa802a2adbeed966e"
meta-sunxi           = "HEAD:ebdbb3341088bdbc188cee10cbe46a0976225e93"
meta-lmp-bsp         = "HEAD:3e4a11a4232ab44e5ea84ffa9778f8b5f43c8d4c"
meta                 = "HEAD:54ee67b1a805a07288925d56e9956aabc23b6ab2"

Initialising tasks: 100% |###############################################################################| Time: 0:00:03
Sstate summary: Wanted 1813 Local 164 Mirrors 0 Missed 1649 Current 0 (9% match, 0% complete)
NOTE: Executing Tasks
WARNING: imx-atf-2.4+gitAUTOINC+5782363f92-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/imx/imx-atf.git;protocol=https;branch=lf_v2.4, attempting MIRRORS if available
ERROR: imx-atf-2.4+gitAUTOINC+5782363f92-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/builder/layers/openembedded-core/scripts:/home/builder/build-lmp-mfgtool/tmp-lmp_mfgtool/work/cortexa53-mx8mm-lmp-linux/imx-atf/2.4+gitAUTOINC+5782363f92-r0/recipe-sysroot-native/usr/bin/aarch64-lmp-linux:/home/builder/build-lmp-mfgtool/tmp-lmp_mfgtool/work/cortexa53-mx8mm-lmp-linux/imx-atf/2.4+gitAUTOINC+5782363f92-r0/recipe-sysroot/usr/bin/crossscripts:/home/builder/build-lmp-mfgtool/tmp-lmp_mfgtool/work/cortexa53-mx8mm-lmp-linux/imx-atf/2.4+gitAUTOINC+5782363f92-r0/recipe-sysroot-native/usr/sbin:/home/builder/build-lmp-mfgtool/tmp-lmp_mfgtool/work/cortexa53-mx8mm-lmp-linux/imx-atf/2.4+gitAUTOINC+5782363f92-r0/recipe-sysroot-native/usr/bin:/home/builder/build-lmp-mfgtool/tmp-lmp_mfgtool/work/cortexa53-mx8mm-lmp-linux/imx-atf/2.4+gitAUTOINC+5782363f92-r0/recipe-sysroot-native/sbin:/home/builder/build-lmp-mfgtool/tmp-lmp_mfgtool/work/cortexa53-mx8mm-lmp-linux/imx-atf/2.4+gitAUTOINC+5782363f92-r0/recipe-sysroot-native/bin:/home/builder/bitbake/bin:/home/builder/build-lmp-mfgtool/tmp-lmp_mfgtool/hosttools"; export HOME="/home/builder"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://source.codeaurora.org/external/imx/imx-atf.git /home/builder/downloads/git2/source.codeaurora.org.external.imx.imx-atf.git --progress failed with exit code 128, no output
ERROR: imx-atf-2.4+gitAUTOINC+5782363f92-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://source.codeaurora.org/external/imx/imx-atf.git;protocol=https;branch=lf_v2.4')
ERROR: Logfile of failure stored in: /home/builder/build-lmp-mfgtool/tmp-lmp_mfgtool/work/cortexa53-mx8mm-lmp-linux/imx-atf/2.4+gitAUTOINC+5782363f92-r0/temp/log.do_fetch.7935
ERROR: Task (/home/builder/build-lmp-mfgtool/conf/../../layers/meta-freescale/recipes-bsp/imx-atf/imx-atf_2.4.bb:do_fetch) failed with exit code '1'
WARNING: python3-cryptography-native-36.0.2-r0 do_fetch: Failed to fetch URL crate://crates.io/autocfg/1.0.1, attempting MIRRORS if available
NOTE: Tasks Summary: Attempted 768 tasks of which 248 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds

Summary: 1 task failed:
  /home/builder/build-lmp-mfgtool/conf/../../layers/meta-freescale/recipes-bsp/imx-atf/imx-atf_2.4.bb:do_fetch
Summary: There were 3 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
builder@d30d567a0c9b:~/build-lmp-mfgtool$
aentinger commented 1 year ago

Hi @beerko100500 :coffee: :wave:

"Bunch of issue's" isn't very specific and just dumping the whole log is minimally helpful. How about you "name" your issues as well as the specific parts of the log that display those issues?

Mawriyo commented 1 year ago

Hey @beerko100500, So some bad news, I actually am also dealing with this issue as well and am slowly making progress. Essentially your issues all stem from codeaurora being discontinued and shut down. As a result you cant fetch the layer and no replacements can be found since its not specified. In general this is going to mess up a few bitbake recipes for kernels and not just the arduino one. I have personally never seen one that doesn't use source.codeaurora in some capacity. [https://bye.codeaurora.org/] explains whats going on but it does mention where you can find what your looking for but if you can hang in there, I might have a solution for this URL and how you can do it for other ones you may encounter... Unfortunately this specific URL is not the only one and may need time from the development team to update all links from codeaurora to a git one... I know this may not be the response/explanation needed but I feel your pain...

MaxPayne86 commented 1 year ago

New manifest should have fixed this, closing https://github.com/arduino/lmp-manifest/blob/183a09f7dd9df7cceaefe8b2a39ff6596b498f18/conf/local.conf#L96