|
Some checks failed
Forgejo Release postit-deb / release (push) Failing after 0s
dpkg-shlibdeps refuses to build if it cannot resolve ELF NEEDED entries from the cross-arch binaries (libc.so.6, libstdc++.so.6, etc.). The clean answer is dpkg-shlibdeps -l<dir>, which adds extra library search paths. We download the .deb for the libs we know the binaries need (libc6, libstdc++6, libfontconfig1, libfreetype6, libgtk-3-0) from deb.debian.org, extract them into /tmp/arm64-stage/ via 'dpkg-deb -x', and pass ARM64_STAGE through to debian/rules. override_dh_shlibdeps then forwards -l<stage>/usr/lib/aarch64-linux-gnu/ to dpkg-shlibdeps. This mirrors what sbuild/pbuilder do internally: a chroot-less cross-arch stage dir that dh_shlibdeps resolves against. No host installation of arm64 needed (the runner image stays slim, ~50 Mo for binutils-aarch64 and the few libs we extract). |
||
|---|---|---|
| .. | ||
| source | ||
| changelog.in | ||
| compat | ||
| control | ||
| copyright | ||
| postinst | ||
| postit.desktop | ||
| postit.install | ||
| postit.wrapper | ||
| postrm | ||
| rules | ||