Package:  indent
Version: 2.2.12
Tags: hppa, patch, lfs, FTBFS

The indent package has a bug in the script "regression/TEST"
which starts with "#/bin/sh" instead of a correct
shebang which would be "#!/bin/sh". This leads to a FTBFS on
the hppa architecture when running virtualized in qemu-user.

Secondly it would be nice if the indent tool would be built
with large file support. Adding future=+lfs to DEB_BUILD_MAINT_OPTIONS
allows that.

Both are fixed with attached patch. Please apply for next upload.

Thanks,
Helge
diff -up ./debian/rules.org ./debian/rules
--- ./debian/rules.org	2023-01-24 17:39:34.776049427 +0000
+++ ./debian/rules	2023-01-24 14:56:10.178242729 +0000
@@ -2,6 +2,8 @@
 %:
 	dh $@
 
+export DEB_BUILD_MAINT_OPTIONS = future=+lfs
+
 package = indent
 
 override_dh_auto_clean:
diff -up ./regression/TEST.org ./regression/TEST
--- ./regression/TEST.org	2023-01-24 17:38:56.199680344 +0000
+++ ./regression/TEST	2023-01-24 17:39:06.359777551 +0000
@@ -1,4 +1,4 @@
-#/bin/sh
+#!/bin/sh
 
 # Compare the output of ../src/indent to correct output
 # generated by earlier versions

Reply via email to