Subject: pkg/28859: curl 7.12.3 doesn't build on NetBSD 1.6 i386
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <Gilles@Gravier.org>
List: pkgsrc-bugs
Date: 01/04/2005 11:48:00
>Number:         28859
>Category:       pkg
>Synopsis:       curl 7.12.3 doesn't build on NetBSD 1.6 i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 04 11:48:00 +0000 2005
>Originator:     Gilles Gravier
>Release:        1.6
>Organization:
>Environment:
NetBSD mailhost 1.6 NetBSD 1.6 (GENERIC_LAPTOP) #0: Sun Sep  8 19:55:58 UTC 2002     autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC_LAPTOP i386

>Description:
With latest pkgsrc (dated today, Jan 04 2005), doing a "make" in /usr/pkgsrc/www/curl results in the following errors:

===> Building for curl-7.12.3

Making all in lib
/usr/bin/make  all-am

source='select.c' object='select.lo' libtool=yes  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H   -I../include -I../lib -I../lib  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/openssl -I/usr/pkg/include   -O2 -I/usr/pkg/include -I/usr/include -c -o select.lo select.c

 cc -DHAVE_CONFIG_H -I../include -I../lib -I/usr/pkgsrc/www/curl/work/.buildlink/include -I/usr/pkgsrc/www/curl/work/.buildlink/include/openssl -O2 -c select.c -Wp,-MD,.deps/select.TPlo  -fPIC -DPIC -o .libs/select.o

In file included from select.c:27: 

/usr/include/sys/select.h:46: parse error before `pid_t'

/usr/include/sys/select.h:46: warning: no semicolon at end of struct or union

/usr/include/sys/select.h:48: parse error before `}
'
*** Error code 1 



Stop.

make: stopped in /usr/pkgsrc/www/curl/work/curl-7.12.3/lib
*** Error code 1
 


Stop.

make: stopped in /usr/pkgsrc/www/curl/work/curl-7.12.3/lib
*** Error code 1



Stop.

make: stopped in /usr/pkgsrc/www/curl/work/curl-7.12.3
*** Error code 1



Stop.

make: stopped in /usr/pkgsrc/www/curl


And of course it stops.

Can you look into it?

Thanks,
Gilles.
>How-To-Repeat:
cd /usr/pkgsrc/www/curl
make clean
make
>Fix:
N/A