Package: partclone
Tags: ftbfs, hppa
Version: 0.3.23+repack-1

partclone fails to build from source:
https://buildd.debian.org/status/fetch.php?pkg=partclone&arch=hppa&ver=0.3.23%2Brepack-1&stamp=1676139304&raw=0

Log is:
parallel-tests: installing './test-driver'
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./autogen
make[1]: *** [debian/rules:21: override_dh_auto_configure] Error 127

The problem is, that the "autogen" file is not a script, although
it's marked executable.
It's missing a shebang at the beginning, e.g. "#!/bin/bash", as in this patch:

--- ./autogen.org       2023-02-11 20:43:32.693195078 +0000
+++ ./autogen   2023-02-11 20:43:50.229362857 +0000
@@ -1,3 +1,4 @@
+#!/bin/bash
 libtoolize --force --copy
 aclocal -I m4
 autoconf

It happens on hppa, because some hppa buildds run qemu-user and as such
trigger on a missing shebang.

Thanks,
Helge

Reply via email to