Re: [yocto] Architecture did not match
On Tue, Nov 14, 2023 at 11:45 PM, Khem Raj wrote: > > in your recipe, you need to add runtime dependencies. e.g. > > RDEPENDS:${PN} += "bash" > > or you can ignore the deps if your image has them all in already. > since your package is binary only. > add > INSANE_SKIP:${PN} = "file-rdeps" > > Tested but still the same error. Also its not a binary file, i couldnt create nodejs binary using yocto. *Let me know if such feature is available.* So the files I have actually is an complete application inside the Edge folder containing the application along with the package-json and the node_modules. Also I have referred to the nodejs page but its not as easy to load the packages as it looks, specially when you have lots of npm packages to download. Do let me know if you have any easier alternatives. Regards, Hassan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61694): https://lists.yoctoproject.org/g/yocto/message/61694 Mute This Topic: https://lists.yoctoproject.org/mt/102600630/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Architecture did not match
in your recipe, you need to add runtime dependencies. e.g. RDEPENDS:${PN} += "bash" or you can ignore the deps if your image has them all in already. since your package is binary only. add INSANE_SKIP:${PN} = "file-rdeps" On Tue, Nov 14, 2023 at 11:29 PM MOHAMMED HASSAN wrote: > > On Tue, Nov 14, 2023 at 11:17 PM, Khem Raj wrote: > > add lib32-testing-firmware in your image instead of testing-firmware > > NOTE: lib32-gst-plugin-video-sink: compiling from external source tree > /Yocto_sdk/yocto_sdk/aml-comp/multimedia/gst-plugin-video-sink > NOTE: lib32-gst-plugin-aml-v4l2dec: compiling from external source tree > /Yocto_sdk/yocto_sdk/aml-comp/multimedia/gst-plugin-aml-v4l2dec > NOTE: u-boot: compiling from external source tree > /Yocto_sdk/yocto_sdk/aml-comp/uboot > ERROR: lib32-testing-firmware-0.1-r0 do_package_qa: QA Issue: Architecture > did not match (x86-64, expected ARM) on > /work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/packages-split/lib32-testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node > Architecture did not match (x86-64, expected ARM) on > /work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/packages-split/lib32-testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node > Architecture did not match (AArch64, expected ARM) on > /work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/packages-split/lib32-testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/android-arm64/node.napi.armv8.node > Architecture did not match (AArch64, expected ARM) on > /work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/packages-split/lib32-testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm64/node.napi.armv8.node > [arch] > WARNING: lib32-testing-firmware-0.1-r0 do_package_qa: QA Issue: > /home/root/Edge/install.sh contained in package lib32-testing-firmware > requires /bin/bash, but no providers found in > RDEPENDS_lib32-testing-firmware? [file-rdeps] > ERROR: lib32-testing-firmware-0.1-r0 do_package_qa: QA run found fatal > errors. Please consider fixing them. > ERROR: Logfile of failure stored in: > /Yocto_sdk/yocto_sdk/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/temp/log.do_package_qa.52476 > ERROR: Task > (virtual:multilib:lib32:/Yocto_sdk/yocto_sdk/meta-blaze/recipes-example/testing-firmware/testing-firmware_0.1.bb:do_package_qa) > failed with exit code '1' > NOTE: Tasks Summary: Attempted 7801 tasks of which 7737 didn't need to be > rerun and 1 failed. > NOTE: Writing buildhistory > NOTE: Writing buildhistory took: 1 seconds > > Summary: 1 task failed: > > Still the same error but now the architecture is shown different. > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61689): https://lists.yoctoproject.org/g/yocto/message/61689 Mute This Topic: https://lists.yoctoproject.org/mt/102600630/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Architecture did not match
On Tue, Nov 14, 2023 at 11:17 PM, Khem Raj wrote: > > add lib32-testing-firmware in your image instead of testing-firmware > > NOTE: lib32-gst-plugin-video-sink: compiling from external source tree /Yocto_sdk/yocto_sdk/aml-comp/multimedia/gst-plugin-video-sink NOTE: lib32-gst-plugin-aml-v4l2dec: compiling from external source tree /Yocto_sdk/yocto_sdk/aml-comp/multimedia/gst-plugin-aml-v4l2dec NOTE: u-boot: compiling from external source tree /Yocto_sdk/yocto_sdk/aml-comp/uboot ERROR: lib32-testing-firmware-0.1-r0 do_package_qa: QA Issue: Architecture did not match (x86-64, expected ARM) on /work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/packages-split/lib32-testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node Architecture did not match (x86-64, expected ARM) on /work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/packages-split/lib32-testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node Architecture did not match (AArch64, expected ARM) on /work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/packages-split/lib32-testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/android-arm64/node.napi.armv8.node Architecture did not match (AArch64, expected ARM) on /work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/packages-split/lib32-testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm64/node.napi.armv8.node [arch] WARNING: lib32-testing-firmware-0.1-r0 do_package_qa: QA Issue: /home/root/Edge/install.sh contained in package lib32-testing-firmware requires /bin/bash, but no providers found in RDEPENDS_lib32-testing-firmware? [file-rdeps] ERROR: lib32-testing-firmware-0.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. ERROR: Logfile of failure stored in: /Yocto_sdk/yocto_sdk/tmp/work/armv7at2hf-neon-pokymllib32-linux-gnueabi/lib32-testing-firmware/0.1-r0/temp/log.do_package_qa.52476 ERROR: Task (virtual:multilib:lib32:/Yocto_sdk/yocto_sdk/meta-blaze/recipes-example/testing-firmware/testing-firmware_0.1.bb:do_package_qa) failed with exit code '1' NOTE: Tasks Summary: Attempted 7801 tasks of which 7737 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 1 seconds Summary: 1 task failed: Still the same error but now the architecture is shown different. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61687): https://lists.yoctoproject.org/g/yocto/message/61687 Mute This Topic: https://lists.yoctoproject.org/mt/102600630/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Architecture did not match
add lib32-testing-firmware in your image instead of testing-firmware On Tue, Nov 14, 2023 at 10:26 PM MOHAMMED HASSAN wrote: > > Hi guys, > So the SDK my vendor provided kernel toolchain of "aarch64-poky-linux-gcc" > while the application uses a 32 bit toolchain > "arm-pokymllib32-linux-gnueabi-gcc". > So i want to just copy my nodejs application to the home directory. To > compensate for the architecture issues I have made the changes in my recipe > file as shown below. > > testing-firmware_0.1.bb: > DESCRIPTION = "Testing firmware for Edge 3 hubs" > > LICENSE = "MIT" > LIC_FILES_CHKSUM = > "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" > > SRC_URI = "file://Edge_3_firmware_testing.zip" > > S = "${WORKDIR}" > INSANE_SKIP:${PN} += "arch:/Edge/node_modules/" > > do_install() { > install -d ${D}/home/root > cp -r ${WORKDIR}/Edge -d ${D}/home/root/ > cp -r ${WORKDIR}/Edge -d ${D}{bindir}/ > } > > FILES_${PN} = "/home/root/Edge" > > But when i try to build the testing firmware I get the following error: > > ERROR: testing-firmware-0.1-r0 do_package_qa: QA Issue: Architecture did not > match (ARM, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware-dbg/home/root/Edge/node_modules/epoll/build/Release/.debug/epoll.node > Architecture did not match (ARM, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware-dbg/home/root/Edge/node_modules/epoll/build/Release/obj.target/.debug/epoll.node > [arch] > ERROR: testing-firmware-0.1-r0 do_package_qa: QA Issue: Architecture did not > match (ARM, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/android-arm/node.napi.armv7.node > Architecture did not match (x86-64, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node > Architecture did not match (x86-64, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node > Architecture did not match (ARM, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node > Architecture did not match (ARM, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware/home/root/Edge/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv6.node > Architecture did not match (ARM, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware/home/root/Edge/node_modules/epoll/build/Release/epoll.node > Architecture did not match (ARM, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware/home/root/Edge/node_modules/epoll/build/Release/obj.target/epoll.node > Architecture did not match (ARM, expected AArch64) on > /work/aarch64-poky-linux/testing-firmware/0.1-r0/packages-split/testing-firmware/home/root/Edge/node_modules/epoll/build/Release/obj.target/epoll/src/epoll.o > [arch] > WARNING: testing-firmware-0.1-r0 do_package_qa: QA Issue: > /home/root/Edge/node_modules/epoll/build/Release/obj.target/epoll.node > contained in package testing-firmware requires libpthread.so.0(GLIBC_2.4), > but no providers found in RDEPENDS_testing-firmware? [file-rdeps] > WARNING: testing-firmware-0.1-r0 do_package_qa: QA Issue: > /home/root/Edge/node_modules/epoll/build/Release/obj.target/epoll.node > contained in package testing-firmware requires libc.so.6(GLIBC_2.9), but no > providers found in RDEPENDS_testing-firmware? [file-rdeps] > WARNING: testing-firmware-0.1-r0 do_package_qa: QA Issue: > /home/root/Edge/node_modules/epoll/build/Release/obj.target/epoll.node > contained in package testing-firmware requires libc.so.6(GLIBC_2.4), but no > providers found in RDEPENDS_testing-firmware? [file-rdeps] > WARNING: testing-firmware-0.1-r0 do_package_qa: QA Issue: > /home/root/Edge/node_modules/epoll/build/Release/obj.target/epoll.node > contained in package testing-firmware requires libstdc++.so.6(CXXABI_1.3.9), > but no providers found in RDEPENDS_testing-firmware? [file-rdeps] > WARNING: testing-firmware-0.1-r0 do_package_qa: QA Issue: > /home/root/Edge/node_modules/epoll/build/Release/obj.target/epoll.node > contained in package testing-firmware requires > libstdc++.so.6(CXXABI_ARM_1.3.3), but no providers found in > RDEPENDS_testing-firmware? [file-rdeps] > WARNING: testing-firmware-0.1-r0 do_package_qa: QA Issue: > /home/root/Edge/node_modules/epoll/build/Release/obj.target/epoll.node > contained
Re: [Yocto] Architecture did not match #yocto
On Fri, 20 Nov 2020 at 17:04, wrote: > I am getting error while building google chromium depot-tools. My intentions > is to build meta-flutter which depends on depot-tools. > > ERROR: depot-tools-git-r0 do_package_qa: QA Issue: Architecture did not match > (x86-64, expected AArch64) on > /work/aarch64-oe-linux/depot-tools/git-r0/packages-split/depot-tools-dev/usr/bin/depot_tools/ninja-linux64 > Architecture did not match (x86, expected AArch64) on > /work/aarch64-oe-linux/depot-tools/git-r0/packages-split/depot-tools-dev/usr/bin/depot_tools/ninja-linux32 > [arch] The recipe for depot-tools is broken and is building native code when a target depot-tools should be x86-64. Whilst that is a valid issue in the recipe, did you mean to build depot-tools-native instead? Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51501): https://lists.yoctoproject.org/g/yocto/message/51501 Mute This Topic: https://lists.yoctoproject.org/mt/78393804/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[Yocto] Architecture did not match #yocto
Hi All, I am getting error while building google chromium depot-tools. My intentions is to build meta-flutter which depends on depot-tools. ERROR: depot-tools-git-r0 do_package_qa: QA Issue: Architecture did not match (x86-64, expected AArch64) on /work/aarch64-oe-linux/depot-tools/git-r0/packages-split/depot-tools-dev/usr/bin/depot_tools/ninja-linux64 Architecture did not match (x86, expected AArch64) on /work/aarch64-oe-linux/depot-tools/git-r0/packages-split/depot-tools-dev/usr/bin/depot_tools/ninja-linux32 [arch] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libc.so.6, but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libgcc_s.so.1(GLIBC_2.0), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/recipes/recipe_modules/gsutil/resources/gsutil_smart_retry.py contained in package depot-tools-dev requires /usr/bin/python, but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libc.so.6(GLIBC_2.2), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libc.so.6(GLIBC_2.1), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libstdc++.so.6, but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libstdc++.so.6(CXXABI_1.3), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux64 contained in package depot-tools-dev requires libc.so.6(GLIBC_2.2.5)(64bit), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/bootstrap/profile.d.python.sh contained in package depot-tools-dev requires /bin/bash, but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux64 contained in package depot-tools-dev requires libc.so.6(GLIBC_2.4)(64bit), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libm.so.6, but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libstdc++.so.6(GLIBCXX_3.4), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libc.so.6(GLIBC_2.1.3), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libc.so.6(GLIBC_2.0), but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA Issue: /usr/bin/depot_tools/ninja-linux32 contained in package depot-tools-dev requires libgcc_s.so.1, but no providers found in RDEPENDS_depot-tools-dev? [file-rdeps] ERROR: depot-tools-git-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. ERROR: Logfile of failure stored in: /home/mio.ten.fujitsu.com/yvelumani/harmony/code/8155_agl/apps/apps_proc/poky/build/tmp-glibc/work/aarch64-oe-linux/depot-tools/git-r0/temp/log.do_package_qa.27049 ERROR: Task (/home/mio.ten.fujitsu.com/yvelumani/harmony/code/8155_agl/apps/apps_proc/meta-flutter/recipes-support/depot-tools/depot-tools_git.bb:do_package_qa) failed with exit code '1' Thanks in Advance. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51498): https://lists.yoctoproject.org/g/yocto/message/51498 Mute This Topic: https://lists.yoctoproject.org/mt/78393804/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: