Subject: pkg/30380: boost-libs does not build on -current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-bugs
Date: 05/30/2005 19:48:00
>Number:         30380
>Category:       pkg
>Synopsis:       boost-libs does not build on -current
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 30 19:48:00 +0000 2005
>Originator:     Thomas Klausner
>Release:        NetBSD-3.99.5/20050530
>Organization:

>Environment:
	
	
Architecture: i386
Machine: i386
>Description:
devel/boost-libs does not build on -current, breaking monotone.

The first error is:
gcc-C++-action /usr/obj/devel/boost-libs/work.i386/boost_1_32_0/build/bin/boost/libs/regex/build/libboost_regex.so/gcc/release/sha
red-linkable-true/threading-multi/wide_posix_api.o
/usr/obj/devel/boost-libs/work.i386/boost_1_32_0/libs/regex/src/wide_posix_api.cpp: In
   function `regsize_t boost::regerrorW(int, const boost::regex_tW*, wchar_t*, 
   unsigned int)':
/usr/obj/devel/boost-libs/work.i386/boost_1_32_0/libs/regex/src/wide_posix_api.cpp:145: error: `
   swprintf' undeclared in namespace `std'
/usr/obj/devel/boost-libs/work.i386/boost_1_32_0/libs/regex/src/wide_posix_api.cpp:151: error: `
   swprintf' undeclared in namespace `std'

This seems related to the recently committed wchar changes in C++.
>How-To-Repeat:
cd /usr/pkgsrc/devel/boost-libs
make
>Fix:
Sorry, not provided.

>Unformatted: