Subject: pkg/18612: devel/ptl2 fails to build
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/10/2002 23:44:30
>Number:         18612
>Category:       pkg
>Synopsis:       devel/ptl2 package fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 10 14:45:00 PDT 2002
>Originator:     Eric Jacoboni
>Release:        NetBSD 1.6I
System: NetBSD 1.6I NetBSD 1.6I (TITINE-$Revision: 1.516 $) #14: Wed Oct 9 23:44:13 CEST 2002 i386
Architecture: i386
Machine: i386
Trying to update ptl2 to the last revision, build fails on:

perl /usr/pkgsrc/devel/ptl2/work.i386/PTL-2.1.8/Util/ 'putc(XXX,YYY)' putc_unlocked >> /usr/pkgsrc/devel/ptl2/work.i386/PTL-2.1.8/A.i386-unknown-netbsdelf1.6I/include/sys/pthread-stdio.h
cc  `./`  -g -O3 /usr/pkgsrc/devel/ptl2/work.i386/PTL-2.1.8/Util/stk-grow-dir.c -o stk-grow-dir   -L/usr/pkgsrc/devel/ptl2/work.i386/PTL-2.1.8/libaltsys/A.i386-unknown-netbsdelf1.6I -laltsys `cat /usr/pkgsrc/devel/ptl2/work.i386/PTL-2.1.8/libaltsys/A.i386-unknown-netbsdelf1.6I/linker_opt`
In file included from /usr/pkgsrc/devel/ptl2/work.i386/PTL-2.1.8/Util/stk-grow-dir.c:24:
/usr/pkgsrc/devel/ptl2/work.i386/PTL-2.1.8/src/ansi.h:82: #error Neither <syscall.h> nor <sys/syscall.h> found.
*** Error code 1

Of course, i do have /usr/include/sys/syscall.h on my box...

If i change the ansi.h to explicitely mention "/usr/include/sys/syscall.h", 
this error disappear but the build fails on another file...

I don't think the last patch is the culprit (i've tried to build without it
and the problem remains). 
See supra.
Wish i know some... But, sorry, no idea.