Closed RankoR closed 2 months ago
Seems to be an issue with compiling libcamera fork that is part of Raspberry Vanilla project but not part of AOSP.
Sorry, no clue with the issue itself. Compiles fine on Ubuntu 22.04 LTS which has Python 3.10.12.
Looks like some package incompatibility. I didn't manage to build it from arch directly, but created a docker builder instead:
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y bc coreutils dosfstools e2fsprogs fdisk kpartx mtools ninja-build pkg-config python3-pip rsync && \
apt-get install -y git-core gnupg flex bison build-essential zip curl zlib1g-dev libc6-dev-i386 x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig && \
apt-get install -y repo xxd apt-utils openjdk-8-jdk openjdk-11-jdk iputils-ping autoconf openssh-server bsdmainutils simg2img jq && \
apt-get autoremove -y
RUN pip3 install meson mako jinja2 ply pyyaml dataclasses
RUN useradd -m -u 1000 user
USER 1000:1000
ENTRYPOINT ["/bin/bash"]
Build of AOSP 14 for rpi5 fails on Arch Linux:
I understand the recommended system is Ubuntu, but vanilla AOSP (of any version) builds fine on Arch.