NetBSD Problem Report #53529

From wiz@yt.nih.at  Thu Aug 16 12:39:51 2018
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C37667A150
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Aug 2018 12:39:50 +0000 (UTC)
Message-Id: <20180816123944.08B2D2AC0E2@yt.nih.at>
Date: Thu, 16 Aug 2018 14:39:44 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: boost does not like my locale again
X-Send-Pr-Version: 3.95

>Number:         53529
>Category:       toolchain
>Synopsis:       boost does not like my locale again
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 16 12:40:00 +0000 2018
>Originator:     Thomas Klausner
>Release:        NetBSD 8.99.24
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:


Architecture: x86_64
Machine: amd64
>Description:
For some time I had seen

 terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid

when starting programs using boost (like gnucash); then it stopped
with a boost update, but another recent update brought it back. (I'm pretty
sure it was around 1.67.0).

pkgsrc compiled using gcc in case it matters,
# env | grep -e LC -e LANG
LC_CTYPE=de_AT.UTF-8
LC_TIME=de_AT.UTF-8

Perhaps it's a boost package bug instead?
See also PR 48291.
>How-To-Repeat:
# gnucash

>Fix:
Not known.

Workaround:
# unset LC_CTYPE
# unset LC_TIME
# gnucash

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.