From owner-freebsd-office@FreeBSD.ORG Sun Feb 3 19:50:02 2013 Return-Path: Delivered-To: freebsd-office@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 08454603 for ; Sun, 3 Feb 2013 19:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id EE93B82A for ; Sun, 3 Feb 2013 19:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r13Jo1rR031672 for ; Sun, 3 Feb 2013 19:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r13Jo1in031671; Sun, 3 Feb 2013 19:50:01 GMT (envelope-from gnats) Date: Sun, 3 Feb 2013 19:50:01 GMT Message-Id: <201302031950.r13Jo1in031671@freefall.freebsd.org> To: freebsd-office@FreeBSD.org Cc: From: Raphael Kubo da Costa Subject: Re: ports/168835: devel/boost-all: inkscape 0.48.2 will crash throwing exception "std::runtime_error: locale::facet::_S_create_c_locale name not valid" X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Raphael Kubo da Costa List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2013 19:50:02 -0000 The following reply was made to PR ports/168835; it has been noted by GNATS. From: Raphael Kubo da Costa To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/168835: devel/boost-all: inkscape 0.48.2 will crash throwing exception "std::runtime_error: locale::facet::_S_create_c_locale name not valid" Date: Sun, 03 Feb 2013 21:40:37 +0200 Yes, this bug should be more frequent than before, in fact. r311308 actually removed a few patches added in r267504 which prevented this issue from happening. I'm not 100% sure they were the right fix, though. The problem hasn't been completely solved upstream either ([1] is still open). As [2] explains, the problem is that we build gcc (both in base and ports) without passing --clocale=gnu to it, so when boost calls std::locale("") it will fail if LC_ALL is set to anything but "POSIX" or "C". [1] https://svn.boost.org/trac/boost/ticket/5928 [2] https://svn.boost.org/trac/boost/ticket/4688#comment:17