Fwd: Bug#1029574: indent shebang bug and misses LFS support

Santiago Vila <[email protected]> Tue, 24 Jan 2023 20:18:45 +0100
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------YXXSL1MTJVnCr2WGGKWrZQJe
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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 <[email protected]>
Resent-To: [email protected]
Resent-CC: Santiago Vila <[email protected]>
Fecha: Tue, 24 Jan 2023 18:48:01 +0100
De: Helge Deller <[email protected]>

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

--------------YXXSL1MTJVnCr2WGGKWrZQJe
Content-Type: text/x-patch; charset=UTF-8; name="indent.patch"
Content-Disposition: attachment; filename="indent.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtdXAgLi9kZWJpYW4vcnVsZXMub3JnIC4vZGViaWFuL3J1bGVzCi0tLSAuL2RlYmlh
bi9ydWxlcy5vcmcJMjAyMy0wMS0yNCAxNzozOTozNC43NzYwNDk0MjcgKzAwMDAKKysrIC4v
ZGViaWFuL3J1bGVzCTIwMjMtMDEtMjQgMTQ6NTY6MTAuMTc4MjQyNzI5ICswMDAwCkBAIC0y
LDYgKzIsOCBAQAogJToKIAlkaCAkQAogCitleHBvcnQgREVCX0JVSUxEX01BSU5UX09QVElP
TlMgPSBmdXR1cmU9K2xmcworCiBwYWNrYWdlID0gaW5kZW50CiAKIG92ZXJyaWRlX2RoX2F1
dG9fY2xlYW46CmRpZmYgLXVwIC4vcmVncmVzc2lvbi9URVNULm9yZyAuL3JlZ3Jlc3Npb24v
VEVTVAotLS0gLi9yZWdyZXNzaW9uL1RFU1Qub3JnCTIwMjMtMDEtMjQgMTc6Mzg6NTYuMTk5
NjgwMzQ0ICswMDAwCisrKyAuL3JlZ3Jlc3Npb24vVEVTVAkyMDIzLTAxLTI0IDE3OjM5OjA2
LjM1OTc3NzU1MSArMDAwMApAQCAtMSw0ICsxLDQgQEAKLSMvYmluL3NoCisjIS9iaW4vc2gK
IAogIyBDb21wYXJlIHRoZSBvdXRwdXQgb2YgLi4vc3JjL2luZGVudCB0byBjb3JyZWN0IG91
dHB1dAogIyBnZW5lcmF0ZWQgYnkgZWFybGllciB2ZXJzaW9ucwo=

--------------YXXSL1MTJVnCr2WGGKWrZQJe--