Dear indent authors / hello Andrej.

I received the following report from the Debian bug system.

The shebang thing is clearly an upstream bug.

Regarding the LFS issue, I wonder if it would be possible for
the ./configure script to take care of that (I have no idea).

Thanks.

-------- Mensaje reenviado --------
Asunto: Bug#1029574: indent shebang bug and misses LFS support
Resent-Date: Tue, 24 Jan 2023 17:51:02 +0000
Resent-From: Helge Deller <del...@gmx.de>
Resent-To: debian-bugs-d...@lists.debian.org
Resent-CC: Santiago Vila <sanv...@debian.org>
Fecha: Tue, 24 Jan 2023 18:48:01 +0100
De: Helge Deller <del...@gmx.de>

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