Package: dpatch
Version: 2.0.38

If original-awk is set as the default awk provider (because the admin
has changed the awk alternative manually, or they removed all other
providers), dpatch FTBFS:

,----
| DPATCH_REVISION="2.0.38" \
|   SYSCONFDIR="/etc" ../tools/shpp.awk <dpatch.shpp >dpatch
| /bin/sh: 1: ../tools/shpp.awk: not found
`----

That's because original-awk, unlike mawk and gawk, does not provide
/usr/bin/nawk as symlink to awk.  Attached is a one-character fix.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.12.2-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE= (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpatch depends on:
ii  bash      4.4-5
ii  dpkg-dev  1.19.0
ii  perl      5.24.1-7

Versions of packages dpatch recommends:
ii  fakeroot    1.21-3.1
ii  patchutils  0.3.4-2

Versions of packages dpatch suggests:
ii  curl  7.52.1-5

-- no debconf information

diff -Nru dpatch-2.0.38/tools/shpp.awk dpatch-2.0.38local1/tools/shpp.awk
--- dpatch-2.0.38/tools/shpp.awk	2015-11-30 11:34:18.000000000 +0100
+++ dpatch-2.0.38local1/tools/shpp.awk	2017-07-19 23:31:58.000000000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/nawk -f
+#!/usr/bin/awk -f
 # shpp.awk -- Simple preprocessor for shell scripts
 #
 #  Copyright (C) 2003  Miles Bader <[email protected]>

Reply via email to