Package: mawk
Version: 1.3.3-12
Severity: normal

After trying to work out why mawk was failing to build on 
my normal system but succeeding in a clean chroot, I 
realised that this one configure check was giving a 
different value:
checking for byacc... no

becomes:
checking for byacc... byacc

and the build fails:

make[1]: Entering directory `/opt/emdebian/trunk/m/mawk/trunk/mawk-1.3.3'
expect 4 shift/reduce conflicts
byacc  -d parse.y
byacc: 4 shift/reduce conflicts.
mv y.tab.c parse.c
if cmp -s y.tab.h parse.h ;\
           then rm y.tab.h ;\
           else mv y.tab.h parse.h ; fi
cc -g -Wall -O2   -c -o parse.o parse.c
In file included from mawk.h:53,
                 from parse.y:81:
nstd.h:77: error: expected identifier or ‘(’ before ‘__extension__’
nstd.h:78: error: expected identifier or ‘(’ before ‘__extension__’
nstd.h:78: error: expected identifier or ‘(’ before ‘)’ token
nstd.h:81: error: expected identifier or ‘(’ before ‘__extension__’
parse.y: In function ‘field_A2I’:
parse.y:1191: warning: suggest parentheses around && within ||
y.tab.c: In function ‘yyparse’:
y.tab.c:1479: warning: label ‘yyerrlab’ defined but not used
make[1]: *** [parse.o] Error 1

Removing byacc allows the build to proceed as normal.

I don't know, now, why I had byacc actually installed - it didn't have
any reverse dependencies.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) 
(ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mawk depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

mawk recommends no packages.

mawk suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to