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 ...
Mirko Zinn
mail at derzinn.de
Wed Dec 29 20:35:28 UTC 2010
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 at oook.cz>
> <pav at 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 at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
$ echo $LANG
en_US.UTF-8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Signierter Teil der Nachricht
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20101229/d81256f6/PGP.pgp
More information about the cvs-all
mailing list