#1110312 isochron FTCBFS: unable to find .pc file during clean

Package:
isochron
Source:
isochron
Description:
Tool for Time Sensitive Networking testing
Submitter:
Nilesh Patra
Date:
2025-08-31 15:55:04 UTC
Severity:
normal
Tags:
#1110312#5
Date:
2025-08-03 04:27:32 UTC
From:
To:
Isochron fails to cross-build because it's unable to detect
.pc file during clean target.

During cross-build the relevant triplet prefixed names are passed
only during build. Please consider to apply patch pasted at the
end of this mail.

Thanks
Nilesh

diff --git a/debian/rules b/debian/rules
index 3237d7b..2c72399 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@ DPKG_EXPORT_BUILDFLAGS = 1
  export DEB_BUILD_MAINT_OPTIONS = hardening=+all
  include /usr/share/dpkg/default.mk
  export DH_VERBOSE = 1
+include /usr/share/dpkg/architecture.mk
+DPKG_EXPORT_BUILDTOOLS=1
+include /usr/share/dpkg/buildtools.mk

  %:
         dh $@