Skip to content

iceoryx2 cannot be compiled in Raspberry PI 5b #77

@1511563371

Description

@1511563371

Required information

Operating system:
zc@raspberrypi:~$ uname -a
Linux raspberrypi 6.8.0-1032-raspi #36-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 21 22:27:49 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

Rust version:
zc@raspberrypi:~$ cargo --version
cargo 1.89.0 (c24e10642 2025-06-23)

Observed result or behaviour:
zc@raspberrypi:/iceoryx2$ pwd
/home/zc/iceoryx2
zc@raspberrypi:
/iceoryx2$ sudo ./internal/scripts/install_dependencies_ubuntu.sh
......
Reading package lists... Done
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/noble/main/binary-i386/Packages 404 Not Found [IP: 101.6.15.130 443]
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/noble-updates/main/binary-i386/Packages 404 Not Found [IP: 101.6.15.130 443]
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/noble-backports/main/binary-i386/Packages 404 Not Found [IP: 101.6.15.130 443]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/noble-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.104 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Expected result or behaviour:
i dont need i386 ,but

zc@raspberrypi:~/iceoryx2$ cat ./internal/scripts/install_dependencies_ubuntu.sh

set -e

dpkg --add-architecture i386
apt-get update
apt-get install -y
binutils-dev
build-essential
libclang-dev
clang
cmake
curl
expect
flex
gcc
gcc-multilib
g++
g++-multilib
git
libc6-dev
libc6-dev-i386
libc6-dev-i386-cross
libpython3-all-dev
libstdc++6-i386-cross
libdwarf-dev
libelf-dev

and the rust is directed installed in rpi5 by command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Question
how can i rewrite this install_dependencies_ubuntu.sh file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions