Build error when agl-sota enabled in AGL Koi for Raspberry Pi 4 #koi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

I’m facing build issue with latest stable AGL Koi when SOTA feature is enabled with Raspberry Pi 4 as target machine. Snapshot of build error is below and attached content provides additional information relevant to this build error. Please note that Build was successful without agl-sota. This issue comes only when the SOTA is enabled. Any inputs or feedback from SOTA experts to resolve this issue is much appreciated. Thank you.
**************************************
NOTE: Applying patch '0001-board-raspberrypi-add-serial-and-revision-to-the-dev.patch' (../external/meta-updater-raspberrypi/recipes-bsp/u-boot/files/0001-board-raspberrypi-add-serial-and-revision-to-the-dev.patch)
ERROR: Command Error: 'quilt --quiltrc /home/test/workspace_aglkoi/build/tmp/work/raspberrypi4_64-agl-linux/u-boot/1_2020.10-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
Applying patch 0001-board-raspberrypi-add-serial-and-revision-to-the-dev.patch
patching file board/raspberrypi/rpi/rpi.c
Hunk #3 FAILED at 480.
Hunk #4 succeeded at 489 with fuzz 1.
1 out of 4 hunks FAILED -- rejects in file board/raspberrypi/rpi/rpi.c
Patch 0001-board-raspberrypi-add-serial-and-revision-to-the-dev.patch does not apply (enforce with -f)
DEBUG: Python function patch_do_patch finished
DEBUG: Python function do_patch finished
**************************************

Best Regards,
Arunadri Magge
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#9165) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Mute #koi
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_
test@test-H410M-S2:~/workspace_aglkoi$ curl https://storage.googleapis.com/git-repo-downloads/repo > $HOME/bin/repo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 43035  100 43035    0     0  83888      0 --:--:-- --:--:-- --:--:-- 83888
test@test-H410M-S2:~/workspace_aglkoi$ chmod a+x $HOME/bin/repo
test@test-H410M-S2:~/workspace_aglkoi$ repo init -b koi -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
Downloading Repo source from https://gerrit.googlesource.com/git-repo
Downloading manifest from https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
remote: Counting objects: 248, done
remote: Total 1704 (delta 0), reused 1704 (delta 0)
Receiving objects: 100% (1704/1704), 691.94 KiB | 572.00 KiB/s, done.
Resolving deltas: 100% (677/677), done.

repo has been initialized in /home/test/workspace_aglkoi
test@test-H410M-S2:~/workspace_aglkoi$ repo sync
Fetching: 100% (31/31), done in 2m8.530s
Checking out: 100% (31/31), done in 1.010s
repo sync has finished successfully.
test@test-H410M-S2:~/workspace_aglkoi$ source meta-agl/scripts/aglsetup.sh -f -m raspberrypi4 agl-demo
------------ aglsetup.sh: Starting
Generating configuration files:
   Build dir: /home/test/workspace_aglkoi/build
   Machine: raspberrypi4
   Features: agl-appfw-smack agl-demo agl-hmi-framework agl-pipewire 
   Running /home/test/workspace_aglkoi/external/poky/oe-init-build-env
   Templates dir: /home/test/workspace_aglkoi/meta-agl/templates/base
   Config: /home/test/workspace_aglkoi/build/conf/bblayers.conf
   Config: /home/test/workspace_aglkoi/build/conf/local.conf
   Setup script: /home/test/workspace_aglkoi/build/conf/setup.sh
   Executing setup script ... --- beginning of setup script
--- fragment /home/test/workspace_aglkoi/meta-agl/templates/base/01_setup_EULAfunc.sh
--- fragment /home/test/workspace_aglkoi/meta-agl/templates/base/01_setup_pkg_revision.sh
--- fragment /home/test/workspace_aglkoi/meta-agl/templates/base/99_setup_EULAconf.sh
--- end of setup script
OK
Generating setup manifest: /home/test/workspace_aglkoi/build/aglsetup.manifest ... OK
Generating setup file: /home/test/workspace_aglkoi/build/agl-init-build-env ... OK
------------ aglsetup.sh: Done
Common targets are:
- meta-agl layer:
  - included by default
    * agl-image-boot                (just enough to boot)
    * agl-image-minimal             (minimal filesystem with APIs)
    * agl-image-minimal-crosssdk    (crosssdk for ^^)

    * agl-image-weston              (minimal filesystem with weston)

- meta-agl-demo:                    (IVI demo with UI)
  - with 'agl-demo'
    * agl-image-ivi                 (base for IVI targets)
    * agl-image-ivi-crosssdk        (sdk for ^^)

    * agl-image-graphical-qt5       (weston plus qt5 framework libs)
    * agl-image-graphical-qt5-crosssdk  (sdk for ^^)

    * agl-image-graphical-html5     (weston plus chromium for html5)

    * agl-image-cluster             (minimal image with APIs for cluster)
    * agl-image-cluster-qt5         (image with QT5 and APIs for cluster)

    * agl-image-telematics          (image with APIs for telematics)

    * agl-demo-platform             (* default IVI demo target *)
    * agl-demo-platform-crosssdk    (sdk for ^^)

    * agl-cluster-demo-platform     (cluster demo image)
    * agl-cluster-demo-platform-crosssdk  (sdk for ^^)
    * agl-cluster-demo-qtcompositor (cluster demo using own compositor)

    * agl-telematics-demo-platform  (telematics demo image)
    * agl-telematics-demo-platform-crosssdk  (sdk for ^^)


test@test-H410M-S2:~/workspace_aglkoi/build$ bitbake agl-cluster-demo-platform
NOTE: Your conf/bblayers.conf has been automatically updated.
Parsing recipes: 100% |###########################################################################################################################################| Time: 0:00:49
Parsing of 2968 .bb files complete (0 cached, 2968 parsed). 4463 targets, 311 skipped, 7 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-agl-linux"
MACHINE              = "raspberrypi4-64"
DISTRO               = "poky-agl"
DISTRO_VERSION       = "11.0.1+snapshot-20210429"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta-raspberrypi     = "HEAD:77190af02d48adc2b28216775e6318e9eeda571c"
meta-pipewire        = "HEAD:ce23dd8f1f188cc845cdef64ba44ab9e9cd328a7"
meta-security        = "HEAD:c74cc97641fd93e0e7a4383255e9a0ab3deaf9d7"
meta-perl            = "HEAD:346681e7bf9c78008a845fc89031be4fd4ceb3a1"
meta-app-framework   = "HEAD:ce23dd8f1f188cc845cdef64ba44ab9e9cd328a7"
meta-iot-cloud       = "HEAD:4378d7cb5e650402d511ee082e61fca6b2968053"
meta-qt5             = "HEAD:0d8eb956015acdea7e77cd6672d08dce18061510"
meta-filesystems     = "HEAD:346681e7bf9c78008a845fc89031be4fd4ceb3a1"
meta-python2         = "HEAD:07dca1e54f82a06939df9b890c6d1ce1e3197f75"
meta-agl-demo        = "HEAD:199ca8fa191c558159052aba1f56f9cd7fce31a2"
meta-networking      
meta-python          
meta-oe              = "HEAD:346681e7bf9c78008a845fc89031be4fd4ceb3a1"
meta-agl-core        
meta-agl-core-test   
meta-agl-bsp         = "HEAD:ce23dd8f1f188cc845cdef64ba44ab9e9cd328a7"
meta                 
meta-poky            = "HEAD:b573215eafbd79f3d7ac12ff662753b6835baac3"

NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/2.10/x86_64-nativesdk-libc.tar.xz;sha256sum=04333677f81990ce2cf55c3bc256cd84a66085d18fc95ccddfab8581e4aec014 (will check PREMIRRORS first)
Initialising tasks: 100% |########################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 2585 Found 0 Missed 2585 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
WARNING: source-han-sans-jp-fonts-1.004-r0 do_fetch: Failed to fetch URL https://github.com/adobe-fonts/source-han-sans/raw/release/SubsetOTF/SourceHanSansJP.zip, attempting MIRRORS if available
WARNING: source-han-sans-cn-fonts-1.004-r0 do_fetch: Failed to fetch URL https://github.com/adobe-fonts/source-han-sans/raw/release/SubsetOTF/SourceHanSansCN.zip, attempting MIRRORS if available
WARNING: source-han-sans-tw-fonts-1.004-r0 do_fetch: Failed to fetch URL https://github.com/adobe-fonts/source-han-sans/raw/release/SubsetOTF/SourceHanSansTW.zip, attempting MIRRORS if available
NOTE: Tasks Summary: Attempted 6463 tasks of which 1 didn't need to be rerun and all succeeded.

Summary: There were 3 WARNING messages shown.
test@test-H410M-S2:~/workspace_aglkoi/build$ ^C
test@test-H410M-S2:~/workspace_aglkoi/build$ cd ..
test@test-H410M-S2:~/workspace_aglkoi$ source meta-agl/scripts/aglsetup.sh -f -m raspberrypi4 agl-demo agl-sota
------------ aglsetup.sh: Starting
Generating configuration files:
   Build dir: /home/test/workspace_aglkoi/build
   Machine: raspberrypi4
   Features: agl-appfw-smack agl-demo agl-hmi-framework agl-pipewire agl-sota 
   Running /home/test/workspace_aglkoi/external/poky/oe-init-build-env
   Templates dir: /home/test/workspace_aglkoi/meta-agl/templates/base
   Config: /home/test/workspace_aglkoi/build/conf/bblayers.conf
   Config: /home/test/workspace_aglkoi/build/conf/local.conf
   Setup script: /home/test/workspace_aglkoi/build/conf/setup.sh
   Executing setup script ... --- beginning of setup script
--- fragment /home/test/workspace_aglkoi/meta-agl/templates/base/01_setup_EULAfunc.sh
--- fragment /home/test/workspace_aglkoi/meta-agl/templates/base/01_setup_pkg_revision.sh
--- fragment /home/test/workspace_aglkoi/meta-agl/templates/feature/agl-sota/50_setup.sh
--- fragment /home/test/workspace_aglkoi/meta-agl/templates/base/99_setup_EULAconf.sh
--- end of setup script
OK
Generating setup manifest: /home/test/workspace_aglkoi/build/aglsetup.manifest ... OK
Generating setup file: /home/test/workspace_aglkoi/build/agl-init-build-env ... OK
------------ aglsetup.sh: Done
Common targets are:
- meta-agl layer:
  - included by default
    * agl-image-boot                (just enough to boot)
    * agl-image-minimal             (minimal filesystem with APIs)
    * agl-image-minimal-crosssdk    (crosssdk for ^^)

    * agl-image-weston              (minimal filesystem with weston)

- meta-agl-demo:                    (IVI demo with UI)
  - with 'agl-demo'
    * agl-image-ivi                 (base for IVI targets)
    * agl-image-ivi-crosssdk        (sdk for ^^)

    * agl-image-graphical-qt5       (weston plus qt5 framework libs)
    * agl-image-graphical-qt5-crosssdk  (sdk for ^^)

    * agl-image-graphical-html5     (weston plus chromium for html5)

    * agl-image-cluster             (minimal image with APIs for cluster)
    * agl-image-cluster-qt5         (image with QT5 and APIs for cluster)

    * agl-image-telematics          (image with APIs for telematics)

    * agl-demo-platform             (* default IVI demo target *)
    * agl-demo-platform-crosssdk    (sdk for ^^)

    * agl-cluster-demo-platform     (cluster demo image)
    * agl-cluster-demo-platform-crosssdk  (sdk for ^^)
    * agl-cluster-demo-qtcompositor (cluster demo using own compositor)

    * agl-telematics-demo-platform  (telematics demo image)
    * agl-telematics-demo-platform-crosssdk  (sdk for ^^)


test@test-H410M-S2:~/workspace_aglkoi/build$ bitbake agl-cluster-demo-platform
NOTE: Your conf/bblayers.conf has been automatically updated.
Parsing recipes: 100% |###########################################################################################################################################| Time: 0:00:44
Parsing of 3002 .bb files complete (0 cached, 3002 parsed). 4500 targets, 309 skipped, 7 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime network-configuration (connman, networkd-dhcp-conf)
Consider defining a PREFERRED_RPROVIDER entry to match network-configuration

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-agl-linux"
MACHINE              = "raspberrypi4-64"
DISTRO               = "poky-agl"
DISTRO_VERSION       = "11.0.1+snapshot-20210430"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta-updater-raspberrypi = "HEAD:3e4795b85861e63c54f6f7c573f8bd13b3024072"
meta-raspberrypi     = "HEAD:77190af02d48adc2b28216775e6318e9eeda571c"
meta-updater         = "HEAD:cc1b38310f4ebd0558438057a1edfeb4a3555b16"
meta-pipewire        = "HEAD:ce23dd8f1f188cc845cdef64ba44ab9e9cd328a7"
meta-security        = "HEAD:c74cc97641fd93e0e7a4383255e9a0ab3deaf9d7"
meta-perl            = "HEAD:346681e7bf9c78008a845fc89031be4fd4ceb3a1"
meta-app-framework   = "HEAD:ce23dd8f1f188cc845cdef64ba44ab9e9cd328a7"
meta-iot-cloud       = "HEAD:4378d7cb5e650402d511ee082e61fca6b2968053"
meta-qt5             = "HEAD:0d8eb956015acdea7e77cd6672d08dce18061510"
meta-filesystems     = "HEAD:346681e7bf9c78008a845fc89031be4fd4ceb3a1"
meta-python2         = "HEAD:07dca1e54f82a06939df9b890c6d1ce1e3197f75"
meta-agl-demo        = "HEAD:199ca8fa191c558159052aba1f56f9cd7fce31a2"
meta-networking      
meta-python          
meta-oe              = "HEAD:346681e7bf9c78008a845fc89031be4fd4ceb3a1"
meta-agl-core        
meta-agl-core-test   
meta-agl-bsp         = "HEAD:ce23dd8f1f188cc845cdef64ba44ab9e9cd328a7"
meta                 
meta-poky            = "HEAD:b573215eafbd79f3d7ac12ff662753b6835baac3"

Initialising tasks: 100% |########################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 1868 Found 0 Missed 1868 Current 844 (0% match, 31% complete)
NOTE: Executing Tasks
WARNING: autoconf-archive-2019.01.06-r0 do_package_qa: QA Issue: autoconf-archive: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: update-rc.d-0.8-r0 do_package_qa: QA Issue: update-rc.d: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: run-postinsts-1.0-r10 do_package_qa: QA Issue: run-postinsts: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: os-release-1.0-r0 do_package_qa: QA Issue: os-release: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: ostree-initrd-4-r0 do_package_qa: QA Issue: ostree-initrd: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: qemuwrapper-cross-1.0-r0 do_package_qa: QA Issue: qemuwrapper-cross: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: shadow-securetty-4.6-r3 do_package_qa: QA Issue: shadow-securetty: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: linux-libc-headers-5.4-r0 do_package_qa: QA Issue: linux-libc-headers: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: run-agl-postinsts-1.0-r0 do_package_qa: QA Issue: run-agl-postinsts: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: wireless-regdb-2020.11.20-r0 do_package_qa: QA Issue: wireless-regdb: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: bluez-firmware-rpidistro-0.0+gitAUTOINC+96eefffccc-r0 do_package_qa: QA Issue: bluez-firmware-rpidistro: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: tzdata-2021a-r0 do_package_qa: QA Issue: tzdata: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: alsa-topology-conf-1.2.1-r0 do_package_qa: QA Issue: alsa-topology-conf: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: alsa-ucm-conf-1.2.1.2-r0 do_package_qa: QA Issue: alsa-ucm-conf: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: udev-rules-rpi-1.0-r0 do_package_qa: QA Issue: udev-rules-rpi: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: pointercal-0.0-r11 do_package_qa: QA Issue: pointercal: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: wayland-protocols-1.20-r0 do_package_qa: QA Issue: wayland-protocols: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: packagegroup-agl-image-boot-1.0-r0 do_package_qa: QA Issue: packagegroup-agl-image-boot: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: iso-codes-4.4-r0 do_package_qa: QA Issue: iso-codes: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: aktualizr-shared-prov-creds-1.0-1 do_package_qa: QA Issue: aktualizr-shared-prov-creds: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: packagegroup-agl-source-han-sans-ttf-fonts-1.0-r0 do_package_qa: QA Issue: packagegroup-agl-source-han-sans-ttf-fonts: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: dev-mapping-0.1-r0 do_package_qa: QA Issue: dev-mapping: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: packagegroup-agl-profile-cluster-qt5-1.0-r0 do_package_qa: QA Issue: packagegroup-agl-profile-cluster-qt5: recipe doesn't inherit features_check [unhandled-features-check]
WARNING: linux-firmware-rpidistro-20190114-1+rpt8-r0 do_package_qa: QA Issue: linux-firmware-rpidistro: recipe doesn't inherit features_check [unhandled-features-check]
ERROR: u-boot-1_2020.10-r0 do_patch: Command Error: 'quilt --quiltrc /home/test/workspace_aglkoi/build/tmp/work/raspberrypi4_64-agl-linux/u-boot/1_2020.10-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
Applying patch 0001-board-raspberrypi-add-serial-and-revision-to-the-dev.patch
patching file board/raspberrypi/rpi/rpi.c
Hunk #3 FAILED at 480.
Hunk #4 succeeded at 489 with fuzz 1.
1 out of 4 hunks FAILED -- rejects in file board/raspberrypi/rpi/rpi.c
Patch 0001-board-raspberrypi-add-serial-and-revision-to-the-dev.patch does not apply (enforce with -f)
ERROR: Logfile of failure stored in: /home/test/workspace_aglkoi/build/tmp/work/raspberrypi4_64-agl-linux/u-boot/1_2020.10-r0/temp/log.do_patch.10788
ERROR: Task (/home/test/workspace_aglkoi/meta-agl/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot_2020.10.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3795 tasks of which 3021 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/test/workspace_aglkoi/meta-agl/meta-agl-bsp/meta-raspberrypi/recipes-bsp/u-boot/u-boot_2020.10.bb:do_patch
Summary: There were 24 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
test@test-H410M-S2:~/workspace_aglkoi/build$ 






Attachment: log.do_patch.10788
Description: Binary data

Attachment: u-boot_2020.10.bb
Description: Binary data


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux