From db013aaa03e3d5477adc6de5fbbe916e92fe3808 Mon Sep 17 00:00:00 2001 From: "Douglas Cerna (Soy Douglas)" Date: Mon, 10 Jun 2024 06:23:23 +0200 Subject: [PATCH] Override dh_strip to exclude orjson Ignore orjson because the *.so file included its Python 3.10 wheel contains an 8-byte build ID which debugedit does not support. --- debs/jammy/archivematica/debian-archivematica/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debs/jammy/archivematica/debian-archivematica/rules b/debs/jammy/archivematica/debian-archivematica/rules index 83e6f183..b3bd6303 100755 --- a/debs/jammy/archivematica/debian-archivematica/rules +++ b/debs/jammy/archivematica/debian-archivematica/rules @@ -8,3 +8,8 @@ export DH_VIRTUALENV_INSTALL_ROOT=/usr/share/archivematica/virtualenvs override_dh_virtualenv: dh_virtualenv --python=python3 --requirements=requirements.txt --skip-install + +# Ignore orjson because the *.so file included its Python 3.10 wheel contains +# an 8-byte build ID which debugedit does not support. +override_dh_strip: + dh_strip --exclude=orjson