On Sat, 11 Jul 2026 11:54:33 -0700 Brian Cain <[email protected]> wrote: > > The debian-hexagon-cross image previously unpacked the codelinaro > clang+llvm hexagon toolchain by piping a .tar.zst archive straight > into "tar --zstd -xC". GNU tar restores the archive's stored file > modes on extraction, including lchmod() on symlinks. Under rootless > podman, where the build runs in a user namespace on overlay storage, > those chmod()/lchmod() calls are rejected with EPERM: > > tar: .../libclang_rt.builtins.a: Cannot change mode to rwxrwxrwx: \ > Operation not permitted > tar: .../x86_64-linux-gnu: Cannot change mode to rwxr-xr-x: \ > Operation not permitted > tar: Exiting with failure status due to previous errors > > tar then exits non-zero and aborts the build, so debian-hexagon-cross > only builds reliably under docker, not rootless podman. > > So instead we can switch to a different packaging. clang, lld > come from LLVM Debian builds from apt.llvm.org, instead of custom ones for > hexagon. And only the hexagon linux sysroot is required, avoiding the > tar issues. > > Signed-off-by: Brian Cain <[email protected]> > ---
Reviewed-by: Matheus Tavares Bernardino <[email protected]>
