Source: norwegian
Version: 2.0.10-7
Severity: serious
Justification: FTBFS
When awk points to mawk:
> LC_ALL=C update-alternatives --config awk
There are 3 choices for the alternative awk (providing /usr/bin/awk).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/gawk 10 auto mode
1 /usr/bin/gawk 10 manual mode
* 2 /usr/bin/mawk 5 manual mode
3 /usr/bin/original-awk 0 manual mode
then norwegian build fails with:
cat munch2.tmp \
| tr -d ' ' \
| ispell -e -d ./nb.munch.hash \
| sed -e 's/^[-\"a-z...............A-Z...............]\+ //' -e
's/./-/g' \
| awk --source '{i=0; while (i<NF) {i=i+1;print $i,NR}}' \
| sort \
| join - norsk.words \
| sed -e 's/\* //' \
| cut -d ' ' -f2,3 \
| sort -n \
| sed -e '$ p' -e '$ D' -e ':START' -e '$ ! N' \
-e 's/^\([0-9]\+\)\([0-9 ]\+\)\n\1\( [0-9]\+\)$/\1\2\3/' \
-e 't START' -e P -e D \
| awk --source '\
{i = 1;\
s = 0;\
{while (i<NF)\
{i=i+1;\
if ($i<5) {s=s+$i} else {s = s + exp(exp(($i+9)/15)-1)}}};\
if (s<=5) {t=s} else {t=-9+15*log(1+log(s))};\
print $1, int(t)}' \
> munch3.tmp
awk: awk: not an option: --source
not an option: --source
`--source' seems to be supported by GNU awk only.
Regards,
robert
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (200, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.2.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)