Am 28.12.2010 um 19:29 schrieb Pav Lucistnik:

> Renato Botelho píše v út 28. 12. 2010 v 09:55 -0200:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> On Mon, Dec 27, 2010 at 08:53:10PM +0000, Pav Lucistnik wrote:
>>> pav         2010-12-27 20:53:10 UTC
>>> 
>>>  FreeBSD ports repository
>>> 
>>>  Modified files:
>>>    devel/boost-all      common.mk compiled.mk 
>>>    devel/boost-docs     distinfo pkg-plist 
>>>    devel/boost-jam      Makefile distinfo 
>>>    devel/boost-libs     Makefile distinfo pkg-plist 
>>>    devel/boost-libs/files patch-boost__config__compiler__gcc.hpp 
>>>                           patch-boost_asio-ioctl 
>>>                           patch-boost_parameter_aux__maybe.hpp 
>>>                           patch-libs_regex_build_Jamfile.v2 
>>>                           patch-tools_jam_src_build.jam 
>>>    devel/boost-pyste    distinfo 
>>>    devel/boost-pyste/files patch-tools_jam_src_build.jam 
>>>    devel/boost-python-libs distinfo 
>>>    devel/boost-python-libs/files patch-tools_jam_src_build.jam 
>>>  Log:
>>>  - Update to 1.45
>> 
>> Hello Pav,
>> 
>> FYI, After rebuild mongodb with boost 1.45 i got following error:
>> 
>> mongod: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2636: Failed assertion: 
>> "(run->regs_mask[elm] & (1U << bit)) == 0"
>> 
>> mongodb maintainer is also cc'ed.
> 
> Including boost port maintainer.
> 
> -- 
> -- 
> Pav Lucistnik <[email protected]>
>              <[email protected]>
> Any sufficiently advanced technology is indistinguishable from magic. --
> Arthur C. Clarke


renato, i can't reproduce this failure. in my case the current mongodb port 
builds smoothly with boost1.45 --
but: mongod raised an exception on start and crashes with "std::runtime_error: 
locale::facet::_S_create_c_locale name not valid"
i've found a solution by patching the boost-libs port. pav, please take a look 
at https://svn.boost.org/trac/boost/ticket/4688
do u want me to submit these patches?
mirko

- - - 8< - - -

diff -ruN --exclude=CVS /usr/ports/devel/boost-libs/Makefile 
/usr/home/zinn/ports/boost-libs/Makefile
--- /usr/ports/devel/boost-libs/Makefile        2010-12-27 21:53:10.000000000 
+0100
+++ /usr/home/zinn/ports/boost-libs/Makefile    2010-12-29 19:07:48.000000000 
+0100
@@ -6,6 +6,7 @@
 #
 
 PORTNAME=      boost-libs
+PORTREVISION=  1
 COMMENT=       Free portable C++ libraries (without Boost.Python)
 USE_BZIP2=     yes
 
diff -ruN --exclude=CVS 
/usr/ports/devel/boost-libs/files/patch-libs_filesystem__v2__src__v2_path.cpp 
/usr/home/zinn/ports/boost-libs/files/patch-libs_filesystem__v2__src__v2_path.cpp
--- 
/usr/ports/devel/boost-libs/files/patch-libs_filesystem__v2__src__v2_path.cpp   
    1970-01-01 01:00:00.000000000 +0100
+++ 
/usr/home/zinn/ports/boost-libs/files/patch-libs_filesystem__v2__src__v2_path.cpp
   2010-12-29 19:59:37.000000000 +0100
@@ -0,0 +1,11 @@
+--- libs/filesystem/v2/src/v2_path.cpp.orig    2010-12-29 19:23:18.000000000 
+0100
++++ libs/filesystem/v2/src/v2_path.cpp 2010-12-29 19:23:54.000000000 +0100
+@@ -45,7 +45,7 @@
+   {
+ #if !defined(macintosh) && !defined(__APPLE__) && !defined(__APPLE_CC__) 
+     // ISO C calls this "the locale-specific native environment":
+-    static std::locale lc("");
++    static std::locale lc;
+ #else  // Mac OS
+     // "All BSD system functions expect their string parameters to be in 
UTF-8 encoding
+     // and nothing else."
\ No newline at end of file
diff -ruN --exclude=CVS 
/usr/ports/devel/boost-libs/files/patch-libs_filesystem__v3__src__path.cpp 
/usr/home/zinn/ports/boost-libs/files/patch-libs_filesystem__v3__src__path.cpp
--- /usr/ports/devel/boost-libs/files/patch-libs_filesystem__v3__src__path.cpp  
1970-01-01 01:00:00.000000000 +0100
+++ 
/usr/home/zinn/ports/boost-libs/files/patch-libs_filesystem__v3__src__path.cpp  
    2010-12-29 19:59:59.000000000 +0100
@@ -0,0 +1,11 @@
+--- libs/filesystem/v3/src/path.cpp.orig       2010-12-29 19:30:47.000000000 
+0100
++++ libs/filesystem/v3/src/path.cpp    2010-12-29 19:31:36.000000000 +0100
+@@ -760,7 +760,7 @@
+ 
+ #   else
+     // ISO C calls this "the locale-specific native environment":
+-    return std::locale("");
++    return std::locale();
+ 
+ #   endif
+   }

- - - >8 - - -

$ uname -a
FreeBSD kaspar 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 
    [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64

$ echo $LANG
en_US.UTF-8

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to