[Debian-med-packaging] Bug#1115489: altree: binary-all FTBFS
Santiago Vila
sanvila at debian.org
Wed Sep 17 13:10:53 BST 2025
tags 1115489 patch
thanks
Hi. The attached patch might help.
Please note that we also need "mv -f" because otherwise a build by
hand using "dpkg-buildpackage -uc -us -b" will ask the user about
overriding permissions when doing the "mv" (I can provide more
details about this in case you never experienced that).
Thanks.
-------------- next part --------------
--- a/debian/rules
+++ b/debian/rules
@@ -21,10 +21,10 @@ endif # !nodoc
INSTALL_DIR != echo debian/altree/usr/lib/*/perl*/*/ALTree/
NATIONAL_ENCODING = Chi2.pm Import.pm Input.pm Node.pm SitePerForet.pm
NATIONAL_ENCODING+= SiteSensPerTree.pm Tree.pm to_rewrite.pm
-execute_after_dh_install:
+execute_after_dh_install-arch:
set -e \
; cd $(INSTALL_DIR) \
; for file in $(NATIONAL_ENCODING) \
; do iconv -f ISO-8859-1 -t UTF-8 < "$${file}" > "$${file}.conv" \
- ; mv -v "$${file}.conv" "$${file}" \
+ ; mv -vf "$${file}.conv" "$${file}" \
; done
More information about the Debian-med-packaging
mailing list