El dom, 13 ago 2023 a las 22:16, Lucas Nussbaum (<lu...@debian.org>) escribió:
>
> Source: ivtools
> Version: 2.0.11d.a1-1
> Severity: minor
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
> User: debian...@lists.debian.org
> Usertags: qa-doublebuild

> > dpkg-source: error: cannot represent change to refman.pdf: binary file 
> > contents changed
> > dpkg-source: error: add refman.pdf in debian/source/include-binaries if you 
> > want to store the modified binary in the debian tarball
> > dpkg-source: error: unrepresentable changes to source
> > dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1

Hi,

I have been playing with a patch (attached) to handle this from
debian/rules. Besides refman.pdf there were some other things to
remove on clean target.

Regards,
diff --git a/debian/rules b/debian/rules
index 71543bf..9ab42e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,11 @@ override_dh_auto_configure:
 		--with-PSFontDir=/usr/share/fonts/type1/gsfonts	\
 		--with-clippoly=no
 
+override_dh_clean:
+	rm -f refman.pdf
+	rm -f *.la pnmtopgm Idemo InterViews comterp_run
+	dh_clean
+
 execute_after_dh_install:
 	@echo prevent library files in libiv2 from being duplicated in libiv-unidraw2
 	find debian/libiv2t64/usr/lib -type f -o -type l		\

Reply via email to