postit-debian/debian
Paul Schneider c25e245f5a
Some checks failed
Forgejo Release postit-deb / release (push) Failing after 7m7s
debian/rules: skip dh_strip on *.so (cross-compiled native libs)
When cross-compiling PostIt.Desktop for linux-arm64 from an amd64
runner container, the .deb ends up shipping HarfBuzzSharp.so and
SkiaSharp.so in ARM64 format. dh_strip invokes objcopy on every
file under debian/postit/, and objcopy on the amd64 host cannot
parse ARM64 .so files:

  objcopy: Unable to recognise the format of the input file
  `debian/postit/usr/lib/postit/libHarfBuzzSharp.so'
  dh_strip: error: ... returned exit code 1
  dh_strip: error: Aborting due to earlier error

Add --exclude=*.so to override_dh_strip. The upstream .so ships
with its own debug symbols; we don't lose anything by skipping
the strip on them.

Also drop the diag.yml workflow that diagnosed the initial
tag-not-found failure — no longer needed.

Discovered via the Forgejo Actions release.yml run on tag 1.0.6.
2026-08-17 16:37:02 +01:00
..
source Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
changelog.in packaging: derive Debian version from POSTIT_GIT_TAG via a changelog template 2026-06-28 13:20:17 +01:00
compat Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
control debian: drop debhelper-compat from Build-Depends (set in compat) 2026-06-28 00:47:30 +01:00
copyright Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postinst Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postit.desktop Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postit.install debian: add postit.install listing files for dh_install 2026-06-28 00:49:14 +01:00
postit.wrapper Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postrm Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
rules debian/rules: skip dh_strip on *.so (cross-compiled native libs) 2026-08-17 16:37:02 +01:00