Subject: Cannot build pkgsrc-2006Q2/pcre under -current
To: NetBSD Users <netbsd-users@netbsd.org>
From: Jukka Marin <jmarin@embedtronics.fi>
List: netbsd-users
Date: 07/28/2006 14:35:47
Like this:

...
creating pcregrep
 c++ -c -O2 -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcrecpp.cc
-fPIC -DPIC -o .libs/pcrecpp.o
/usr/include/g++/bits/type_traits.h:90: error: redefinition of 'struct
__true_type'
/usr/include/g++/bits/cpp_type_traits.h:93: error: previous definition of
'struct __true_type'
/usr/include/g++/bits/type_traits.h:91: error: redefinition of 'struct
__false_type'
/usr/include/g++/bits/cpp_type_traits.h:94: error: previous definition of
'struct __false_type'
*** Error code 1

I tried to cvs up -dP both pkgsrc and userland binaries, no help. :(
What's wrong?

  -jm