Subject: sysutils/strace failure on linux-i386
To: None <pkgsrc-users@netbsd.org>
From: Csaba Henk <csaba-ml@creo.hu>
List: pkgsrc-users
Date: 08/15/2006 12:45:29
sysutils/strace fails on linux-i386 with the following error:

#########################
if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/i386 -I./linux/i386 -Ilinux -I./linux    -Wall -O2 -MT process.o -MD -MP -MF ".deps/process.Tpo" -c -o process.o process.c;  then mv -f ".deps/process.Tpo" ".deps/process.Po"; else rm -f ".deps/process.Tpo"; exit 1; fi
process.c: In function 'sys_ptrace':
process.c:3012: error: duplicate case value
process.c:3011: error: previously used here
process.c:3028: error: duplicate case value
process.c:3027: error: previously used here
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/strace/work/strace-4.5.14
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/strace/work/strace-4.5.14
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/strace
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/strace
########################

The error is caused by the sysutils/strace/patches/patch-ab patch -- if I
revert this patch, the error goes away.

Csaba