Subject: Re: can't build pkg_install on 1.6.2
To: Hubert Feyrer <hubertf@netbsd.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 04/24/2004 01:24:01
--Signature=_Sat__24_Apr_2004_01_24_01_+0200_CTD1_R4wBlwTOhN1
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Fri, 23 Apr 2004 21:01:59 +0000 (UTC)
Hubert Feyrer <hubertf@netbsd.org> wrote:

> 
> Trying to install pkgsrc/pkgtools/pkg_install from latest pkgsrc on
> 1.6.2/i386, I get:
> 
> 	===> Building for pkg_install-20040421
> 	...
> 	gcc -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/var/db/pkg\"
> 	-DTAR_CMD=\"/usr/bin/tar\" -DFTP_CMD=\"/usr/bin/ftp\"
> 	-I/home/feyrer/work/pkgsrc/pkgtools/pkg_install/work/libnbcompat
> 	-DDEF_UMASK=0022 -I. -I. -O2 -c ftpio.c
> 	In file included from ftpio.c:87:
> 	/usr/include/sys/poll.h:42: warning: redefinition of `nfds_t'
> 	/home/feyrer/work/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat
> 	/poll.h:42:
> 	warning: `nfds_t' previously declared here
> 	/usr/include/sys/poll.h:44: redefinition of `struct pollfd'
> 	*** Error code 1
> 
> How can I get this going?

This has been fixed this morning, please update libnbcompat/files and try again.

-- 
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Sat__24_Apr_2004_01_24_01_+0200_CTD1_R4wBlwTOhN1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAiaWRypkLYVDran0RAlKCAJ99XPluHITq+nGvU/Qbfhfgwu68TwCggO9+
k4mUoSjB1Yqe7xiQBDT2PBU=
=msMp
-----END PGP SIGNATURE-----

--Signature=_Sat__24_Apr_2004_01_24_01_+0200_CTD1_R4wBlwTOhN1--