add lib32-testing-firmware in your image instead of testing-firmware On Tue, Nov 14, 2023 at 10:26 PM MOHAMMED HASSAN <hassanchatta...@gmail.com> 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 in package testing-firmware requires > libstdc++.so.6(GLIBCXX_3.4.15), 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(GLIBCXX_3.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, 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 libm.so.6, 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 libgcc_s.so.1, 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 libpthread.so.0, 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, but no providers > found in RDEPENDS_testing-firmware? [file-rdeps] > WARNING: testing-firmware-0.1-r0 do_package_qa: QA Issue: > /home/root/Edge/install.sh contained in package testing-firmware requires > /bin/bash, but no providers found in RDEPENDS_testing-firmware? [file-rdeps] > ERROR: 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/aarch64-poky-linux/testing-firmware/0.1-r0/temp/log.do_package_qa.22996 > ERROR: Task > (/Yocto_sdk/yocto_sdk/meta-blaze/recipes-example/testing-firmware/testing-firmware_0.1.bb:do_package_qa) > failed with exit code '1' > > Let me know what errors I am making and how I can resolve them. > Thanks > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61685): https://lists.yoctoproject.org/g/yocto/message/61685 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] -=-=-=-=-=-=-=-=-=-=-=-