Failed to fetch URL while Yocto compilation
Hello,
I am trying to install Teamviewer IOT to a OS for a custom board based on iMX8MN. I use the Zeus version and I have followed this steps:
- I downloaded "meta-teamviewer-iot-agent": https://github.com/teamviewer/meta-teamviewer-iot-agent
- And I followed the steps from the community article
However when I run the compilation the do_fetch fails:
HTTP request sent, awaiting response... 403 Forbidden
2022-07-13 08:04:14 ERROR 403: Forbidden.
Why do I have this issue? How could I solve it?
Many thanks
Best regards, Sonia.
Best Answers
-
HI @arevalo
As you can see from the article it was for Raspberry Pi 3, which has ARM CPU Architecture.
You can basically change the branch for your device with aarch64(ARM64) CPU architecture. (I've just created for you).
git clone --branch=zeus_aarch64 https://github.com/teamviewer/meta-teamviewer-iot-agent
Best Regards,
Davit Ivanyan
Release Engineer of IoT
1
Answers
-
Hi @mircea_c,
The do_fetch worked fine, and this issue was solved to me. Many thanks for it.
However, after install the fixed meta-teamviewer-iot-agent I got an other problem due to the architecture:
ERROR: teamviewer-iot-agent-1.0-r0 do_package_qa: QA Issue: Architecture did not match (ARM, expected AArch64) on /work/aarch64-poky-linux/teamviewer-iot-agent/1.0-r0/packages-split/teamviewer-iot-agent/usr/libexec/teamviewer-iot-agent/TVResource_zhCN.so
Architecture did not match (ARM, expected AArch64) on /work/aarch64-poky-linux/teamviewer-iot-agent/1.0-r0/packages-split/teamviewer-iot-agent/usr/libexec/teamviewer-iot-agent/CertificateManagerHelper
Architecture did not match (ARM, expected AArch64) on /work/aarch64-poky-linux/teamviewer-iot-agent/1.0-r0/packages-split/teamviewer-iot-agent/usr/libexec/teamviewer-iot-agent/teamviewer-iot-agent-config
Architecture did not match (ARM, expected AArch64) on /work/aarch64-poky-linux/teamviewer-iot-agent/1.0-r0/packages-split/teamviewer-iot-agent/usr/libexec/teamviewer-iot-agent/TVResource.so
Architecture did not match (ARM, expected AArch64) on /work/aarch64-poky-linux/teamviewer-iot-agent/1.0-r0/packages-split/teamviewer-iot-agent/usr/libexec/teamviewer-iot-agent/teamviewer-iot-agent
Architecture did not match (ARM, expected AArch64) on /work/aarch64-poky-linux/teamviewer-iot-agent/1.0-r0/packages-split/teamviewer-iot-agent/usr/libexec/teamviewer-iot-agent/mosquitto
Architecture did not match (ARM, expected AArch64) on /work/aarch64-poky-linux/teamviewer-iot-agent/1.0-r0/packages-split/teamviewer-iot-agent/usr/libexec/teamviewer-iot-agent/teamviewer-iot-mon-agent [arch]
Could I solve this issue or do I have any alternative to add teamviewer-iot to my OS?
Best regards, Sonia.
0 -
HI @arevalo
As you can see from the article it was for Raspberry Pi 3, which has ARM CPU Architecture.
You can basically change the branch for your device with aarch64(ARM64) CPU architecture. (I've just created for you).
git clone --branch=zeus_aarch64 https://github.com/teamviewer/meta-teamviewer-iot-agent
Best Regards,
Davit Ivanyan
Release Engineer of IoT
1