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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-61--333499005
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=windows-1252

Am 28.12.2010 um 19:29 schrieb Pav Lucistnik:

> Renato Botelho p=ED=9Ae v =FAt 28. 12. 2010 v 09:55 -0200:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>=20
>> On Mon, Dec 27, 2010 at 08:53:10PM +0000, Pav Lucistnik wrote:
>>> pav         2010-12-27 20:53:10 UTC
>>>=20
>>>  FreeBSD ports repository
>>>=20
>>>  Modified files:
>>>    devel/boost-all      common.mk compiled.mk=20
>>>    devel/boost-docs     distinfo pkg-plist=20
>>>    devel/boost-jam      Makefile distinfo=20
>>>    devel/boost-libs     Makefile distinfo pkg-plist=20
>>>    devel/boost-libs/files patch-boost__config__compiler__gcc.hpp=20
>>>                           patch-boost_asio-ioctl=20
>>>                           patch-boost_parameter_aux__maybe.hpp=20
>>>                           patch-libs_regex_build_Jamfile.v2=20
>>>                           patch-tools_jam_src_build.jam=20
>>>    devel/boost-pyste    distinfo=20
>>>    devel/boost-pyste/files patch-tools_jam_src_build.jam=20
>>>    devel/boost-python-libs distinfo=20
>>>    devel/boost-python-libs/files patch-tools_jam_src_build.jam=20
>>>  Log:
>>>  - Update to 1.45
>>=20
>> Hello Pav,
>>=20
>> FYI, After rebuild mongodb with boost 1.45 i got following error:
>>=20
>> mongod: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2636: Failed =
assertion: "(run->regs_mask[elm] & (1U << bit)) =3D=3D 0"
>>=20
>> mongodb maintainer is also cc'ed.
>=20
> Including boost port maintainer.
>=20
> --=20
> --=20
> 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=3DCVS /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 @@
 #
=20
 PORTNAME=3D      boost-libs
+PORTREVISION=3D  1
 COMMENT=3D       Free portable C++ libraries (without Boost.Python)
 USE_BZIP2=3D     yes
=20
diff -ruN --exclude=3DCVS =
/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_p=
ath.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_p=
ath.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__)=20
+     // 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=3DCVS =
/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 @@
+=20
+ #   else
+     // ISO C calls this "the locale-specific native environment":
+-    return std::locale("");
++    return std::locale();
+=20
+ #   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


--Apple-Mail-61--333499005
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: Signierter Teil der Nachricht
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

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

--Apple-Mail-61--333499005--



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