Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system
@ 2020-01-30 12:51 voidlinux-github
  2020-01-30 13:07 ` voidlinux-github
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: voidlinux-github @ 2020-01-30 12:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

New issue by kaihendry on void-packages repository

https://github.com/void-linux/void-packages/issues/18659

Description:
```
hendry@knuckles ~ $ bitcoin-cli
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted
```

Workaround: `LANG=C bitcoin-cli`



```
hendry@knuckles ~ $ xbps-query -S bitcoin
architecture: x86_64-musl
build-date: 2020-01-26 01:06 CST
conflicts:
        litecoin>=0
filename-sha256: d8c0ea89f1cc36aa3717b9678a86324ecdfb45df02494094e6a9a1b8d76cb847
filename-size: 2610KB
homepage: https://bitcoin.org/
install-date: 2020-01-29 17:31 +08
installed_size: 12MB
license: MIT
maintainer: Orphaned <orphan@voidlinux.org>
metafile-sha256: 4c615a7eff063999e362ba8ac58f6c6c97415abc33ba4a5e2c21f878f49e2188
pkgver: bitcoin-0.19.0.1_3
repository: https://void.webconverger.org/current/musl
shlib-provides:
        libbitcoinconsensus.so.0
shlib-requires:
        libboost_filesystem.so.1.72.0
        libboost_thread.so.1.72.0
        libboost_chrono.so.1.72.0
        libdb_cxx-5.3.so
        libcrypto.so.45
        libevent-2.1.so.7
        libstdc++.so.6
        libgcc_s.so.1
        libc.so
        libminiupnpc.so.17
        libevent_pthreads-2.1.so.7
short_desc: Bitcoin is a peer-to-peer network based digital currency
source-revisions: bitcoin:c607b659ff
state: installed
```




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system
  2020-01-30 12:51 [ISSUE] bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system voidlinux-github
@ 2020-01-30 13:07 ` voidlinux-github
  2020-01-30 13:12 ` voidlinux-github
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2020-01-30 13:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/18659#issuecomment-580244137

Comment:
what's your LANG envvar? 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system
  2020-01-30 12:51 [ISSUE] bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system voidlinux-github
  2020-01-30 13:07 ` voidlinux-github
@ 2020-01-30 13:12 ` voidlinux-github
  2020-02-18  8:02 ` yopito
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: voidlinux-github @ 2020-01-30 13:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

New comment by kaihendry on void-packages repository

https://github.com/void-linux/void-packages/issues/18659#issuecomment-580246056

Comment:
```
$ echo $LANG
en_US.UTF-8
```


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system
  2020-01-30 12:51 [ISSUE] bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system voidlinux-github
  2020-01-30 13:07 ` voidlinux-github
  2020-01-30 13:12 ` voidlinux-github
@ 2020-02-18  8:02 ` yopito
  2021-02-05  3:23 ` ericonr
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: yopito @ 2020-02-18  8:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

New comment by yopito on void-packages repository

https://github.com/void-linux/void-packages/issues/18659#issuecomment-587330356

Comment:
same happens with gsmartcontrol and musl, same workaround:
```
$ sudo gsmartcontrol 
<error> [gtk] _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
<error> [gtk] posix_spawn avoided (workdir specified) (fd close requested) 
<error> [gtk] posix_spawn avoided (workdir specified) (fd close requested) 
<warn>  [hz] FS warning: Error while opening file "/proc/scsi/sg/devices": No such file or directory.
<warn>  [app] {anonymous}::read_proc_scsi_sg_devices_file(): Sg devices file doesn't exist.
<error> [gtk] posix_spawn avoided (workdir specified) (fd close requested) 
<error> [gtk] 
<error> [gtk] unhandled exception (type std::exception) in signal handler:
<error> [gtk] what: locale::facet::_S_create_c_locale name not valid
<error> [gtk] 
```


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system
  2020-01-30 12:51 [ISSUE] bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system voidlinux-github
                   ` (2 preceding siblings ...)
  2020-02-18  8:02 ` yopito
@ 2021-02-05  3:23 ` ericonr
  2021-02-08 11:00 ` ascaron37
  2021-02-18 22:25 ` [ISSUE] [CLOSED] Lots of C++ application using C++ locales crash with "locale::facet::_S_create_c_locale name not valid on musl system" q66
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-02-05  3:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/18659#issuecomment-773759024

Comment:
This is because `libstdc++` sucks a bit on non-glibc, where it assumes no locale besides the `"C"` are supported.

Thanks for bringing other failing applications to our attention... Ideally, they would do like `snapper` does: #5212, where it only complains. We can consider including a patch that disables the exception, but it's a bit misleading, unfortunately. I would like to get this solved on the libstdc++ side, but it is a lot of work.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system
  2020-01-30 12:51 [ISSUE] bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system voidlinux-github
                   ` (3 preceding siblings ...)
  2021-02-05  3:23 ` ericonr
@ 2021-02-08 11:00 ` ascaron37
  2021-02-18 22:25 ` [ISSUE] [CLOSED] Lots of C++ application using C++ locales crash with "locale::facet::_S_create_c_locale name not valid on musl system" q66
  5 siblings, 0 replies; 7+ messages in thread
From: ascaron37 @ 2021-02-08 11:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

New comment by ascaron37 on void-packages repository

https://github.com/void-linux/void-packages/issues/18659#issuecomment-775060509

Comment:
PrusaSlicer has the same problem and workaround on x86_64-musl as well:
```
An error occured while setting up locale.
You may need to reconfigure the missing locales, likely by running the "locale-gen" and "dpkg-reconfigure locales" commands.
PrusaSlicer will now terminate.

locale::facet::_S_create_c_locale name not valid
```

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] Lots of C++ application using C++ locales crash with "locale::facet::_S_create_c_locale name not valid on musl system"
  2020-01-30 12:51 [ISSUE] bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system voidlinux-github
                   ` (4 preceding siblings ...)
  2021-02-08 11:00 ` ascaron37
@ 2021-02-18 22:25 ` q66
  5 siblings, 0 replies; 7+ messages in thread
From: q66 @ 2021-02-18 22:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]

Closed issue by kaihendry on void-packages repository

https://github.com/void-linux/void-packages/issues/18659

Description:
```
hendry@knuckles ~ $ bitcoin-cli
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted
```

Workaround: `LANG=C bitcoin-cli`



```
hendry@knuckles ~ $ xbps-query -S bitcoin
architecture: x86_64-musl
build-date: 2020-01-26 01:06 CST
conflicts:
        litecoin>=0
filename-sha256: d8c0ea89f1cc36aa3717b9678a86324ecdfb45df02494094e6a9a1b8d76cb847
filename-size: 2610KB
homepage: https://bitcoin.org/
install-date: 2020-01-29 17:31 +08
installed_size: 12MB
license: MIT
maintainer: Orphaned <orphan@voidlinux.org>
metafile-sha256: 4c615a7eff063999e362ba8ac58f6c6c97415abc33ba4a5e2c21f878f49e2188
pkgver: bitcoin-0.19.0.1_3
repository: https://void.webconverger.org/current/musl
shlib-provides:
        libbitcoinconsensus.so.0
shlib-requires:
        libboost_filesystem.so.1.72.0
        libboost_thread.so.1.72.0
        libboost_chrono.so.1.72.0
        libdb_cxx-5.3.so
        libcrypto.so.45
        libevent-2.1.so.7
        libstdc++.so.6
        libgcc_s.so.1
        libc.so
        libminiupnpc.so.17
        libevent_pthreads-2.1.so.7
short_desc: Bitcoin is a peer-to-peer network based digital currency
source-revisions: bitcoin:c607b659ff
state: installed
```




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-18 22:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 12:51 [ISSUE] bitcoin-cli locale::facet::_S_create_c_locale name not valid on musl system voidlinux-github
2020-01-30 13:07 ` voidlinux-github
2020-01-30 13:12 ` voidlinux-github
2020-02-18  8:02 ` yopito
2021-02-05  3:23 ` ericonr
2021-02-08 11:00 ` ascaron37
2021-02-18 22:25 ` [ISSUE] [CLOSED] Lots of C++ application using C++ locales crash with "locale::facet::_S_create_c_locale name not valid on musl system" q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).