Subject: pkg/10080: PTL2 packages fails to build under NetBSD-current
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.zhadum.de>
List: netbsd-bugs
Date: 05/09/2000 08:26:11
>Number:         10080
>Category:       pkg
>Synopsis:       PTL2 packages fails to build under NetBSD-current
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 09 08:27:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Scheler
>Release:        2000/05/09
>Organization:
Matthias Scheler                            http://www.sighardstrasse.de/~tron/
>Environment:
System: NetBSD lyssa.zhadum.de 1.4Y NetBSD 1.4Y (LYSSA) #0: Tue May 9 12:08:17 CEST 2000 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386


>Description:
The PTL2 package fails to build under today's NetBSD-current:
===> Building for ptl-2.1.2
cd libaltsys ; make
make ARCH=`./utils/config.guess` make-library
[...]
################################################################

         BUILDING LIBALTSYS

################################################################
cd A.i386-unknown-netbsd1.4Y; make
perl ../so/subst.pl < ../so/syscall.src
gcc -O2 -Wall -Wno-format -I.  -c ../so/wrap.c
gcc -O2 -Wall -Wno-format -I.  -c ../so/mallocs.c
gcc -O2 -Wall -Wno-format -I.  -c ../so/stdio.c
../so/stdio.c:31: syntax error before `__builtin_va_alist_t'
*** Error code 1

Stop.

A quick inspection reveals that an invalid function header was created:

/*VARARGS*/
extern int
FPRINTF(va_alist)
    va_dcl
{

Because this problem doesn't show up under NetBSD 1.4.2 it might be related
to the recent gcc 2.96 changes to various include files.

>How-To-Repeat:
cd /usr/pkgsrc/devel/ptl2
make

>Fix:
Sorry, I don't know.

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