postit-debian/.forgejo
Paul Schneider acb3ee2c8b
Some checks failed
Forgejo Release postit-deb / release (push) Failing after 2m9s
release.yml: install arm64 shlibs on amd64 runner for cross-build shlibdeps
When cross-building PostIt.Desktop for linux-arm64 from an amd64
runner, dpkg-shlibdeps fails to resolve arm64 shlibs (libc6,
libstdc++6, libdl, libm, libpthread, libfontconfig, libgtk-3, etc.):

  dpkg-shlibdeps: error: cannot find library libdl.so.2 needed by
  debian/postit/usr/lib/postit/PostIt.Desktop
  (ELF format: 'elf64-little' abi: '020100b700000000'; RPATH: '')
  dh_shlibdeps: error: ... returned exit code 2

Add arm64 as a foreign architecture via dpkg and install the shlibs
needed at build time. Minimal set: libc6, libstdc++6, libfontconfig1,
libfreetype6, libgtk-3-0. libpthread / libdl / libm are pulled in
transitively via libc6.

Discovered via Forgejo Actions run #10 on tag 1.0.6.
2026-08-17 16:59:47 +01:00
..
workflows release.yml: install arm64 shlibs on amd64 runner for cross-build shlibdeps 2026-08-17 16:59:47 +01:00