Subject: pkg/19800: Package devel/ptl2 doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.dyndns.org>
List: netbsd-bugs
Date: 01/12/2003 00:15:44
>Number:         19800
>Category:       pkg
>Synopsis:       Package devel/ptl2 doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 11 15:16:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6L
>Organization:
HispaBSD
>Environment:
System: NetBSD xtraeme.dyndns.org 1.6L NetBSD 1.6L (xtrakernel) #1: Mon Jan 6 22:11:27 CET 2003 root@xtraeme.dyndns.org:/usr/src/sys/arch/i386/compile/xtrakernel i386
Architecture: i386
Machine: i386
>Description:

The package devel/ptl2 doesn't compile, it can't find the headers
of the system ... 

>How-To-Repeat:

touch TIMESTAMP.include2
perl /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/gen-errno-c.pl > errno.c
perl /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/gen-errno-h.pl > /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/pthread-errno.h
rm /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/sys/pthread-stdio.h
rm: /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/sys/pthread-stdio.h: No such file or directory
*** Error code 1 (ignored)
echo "/* This file is automatically generated for \"i386-unknown-netbsdelf1.6L\" by perl /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/renamemacro.pl */" >> /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/sys/pthread-stdio.h
echo >> /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/sys/pthread-stdio.h
perl /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/renamemacro.pl 'getchar()' getchar_unlocked >> /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/sys/pthread-stdio.h
perl /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/renamemacro.pl 'putchar(XXX)' putchar_unlocked >> /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/sys/pthread-stdio.h
perl /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/renamemacro.pl 'getc(XXX)' getc_unlocked >> /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/sys/pthread-stdio.h
perl /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/renamemacro.pl 'putc(XXX,YYY)' putc_unlocked >> /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L/include/sys/pthread-stdio.h
cc  `./ccarg.sh`  -g -O3 /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/stk-grow-dir.c -o stk-grow-dir   -L/usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/libaltsys/A.i386-unknown-netbsdelf1.6L -laltsys `cat /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/libaltsys/A.i386-unknown-netbsdelf1.6L/linker_opt` 
In file included from /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/Util/stk-grow-dir.c:24:
/usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/src/ansi.h:82: #error Neither <syscall.h> nor <sys/syscall.h> found.
*** Error code 1
Stop.
make: stopped in /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9/A.i386-unknown-netbsdelf1.6L
*** Error code 1

Stop.
make: stopped in /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9
*** Error code 1

Stop.
make: stopped in /usr/obj.pkgsrc/devel/ptl2/work.i386/PTL-2.1.9
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ptl2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ptl2


>Fix:

Not provided

>Release-Note:
>Audit-Trail:
>Unformatted: