Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2010 21:16:37 +0100
From:      Mirko Zinn <mail@derzinn.de>
To:        pav@FreeBSD.org
Cc:        cvs-ports@FreeBSD.org, churanov.port.maintainer@gmail.com, cvs-all@FreeBSD.org, Renato Botelho <garga@FreeBSD.org>, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/boost-all common.mk compiled.mk ports/devel/boost-docs distinfo pkg-plist ports/devel/boost-jam Makefile distinfo ports/devel/boost-libs Makefile distinfo pkg-plist ports/devel/boost-libs/files patch-boost__config__compiler__gcc.hpp ...
Message-ID:  <010A485E-99E7-4B2D-A31D-01BF6AF41ED8@derzinn.de>
In-Reply-To: <1293560973.79845.1.camel@hood.oook.cz>
References:  <201012272053.oBRKrAxE068737@repoman.freebsd.org> <20101228115516.GB42588@bluepex.com> <1293560973.79845.1.camel@hood.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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 <pav@oook.cz>
>              <pav@FreeBSD.org>
> 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     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

$ echo $LANG
en_US.UTF-8


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iEYEARECAAYFAk0blykACgkQ5F/97S0F91MocwCdGs5am7aLOokuK+SSspYheOxt
EegAn2qx/9QjJKjjBStnQl9VgFFH0WQD
=H128
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010A485E-99E7-4B2D-A31D-01BF6AF41ED8>