carnhofdaki
commented at 2:51 PM on October 9, 2019:
contributor
Fix by removing "L" as suggested by meeDamian in
#14948 (comment)
# all in .../bitcoin/src/test
$ uname -m
x86_64
$ export LC_ALL=randomnonexistentlocale
$ ./test_bitcoin
Running 369 test cases...
unknown location(0): fatal error: in "fs_tests/fsbridge_fstream": boost::system::system_error: boost::filesystem::path codecvt to string: error
test/fs_tests.cpp(13): last checkpoint: "fsbridge_fstream" test entry
*** 1 failure is detected in the test module "Bitcoin Core Test Suite"
After the patch is applied, the same test under the same conditions runs fine.
$ export LC_ALL=randomnonexistentlocale
$ ./test_bitcoin
Running 369 test cases...
*** No errors detected
Co-Authored-By: bugs@meedamian.com
fanquake added the label Tests on Oct 9, 2019
carnhofdaki force-pushed on Oct 9, 2019
fanquake
commented at 3:02 PM on October 9, 2019:
member
@carnhofdaki please remove any @mentions from your commit message. I have removed the one in your PR description. We don't include them in either as they just result in spam. If you'd like to attribute the change you could use the Co-Authored-By: name <email> syntax in your commit.
laanwj
commented at 3:13 PM on October 9, 2019:
member
ACK (after fanquake's comment addressed)
Comment #14948 (comment)
Turns out this is the only place a L" string is used (besides a windows-specific workaround in src/util/system.cpp, irrelevant to this). No need to test this if we're not using it in the application.
fanquake added the label Waiting for author on Oct 9, 2019
carnhofdaki force-pushed on Oct 10, 2019
carnhofdaki
commented at 7:15 AM on October 10, 2019:
contributor
@fanquake thank you for comment. Done. Is it good now?
meeDamian
commented at 9:01 PM on October 12, 2019:
contributor
please remove any @mentions from your commit message. I have removed the one in your PR description. We don't include them in either as they just result in spam.
💔, but 💯 agree.
This change fixes builds for me, looking forward to merge!
laanwj renamed this: tests: Fix fs_tests for unknows locales tests: Fix fs_tests for unknown locales on Oct 14, 2019
carnhofdaki force-pushed on Oct 15, 2019
tests: Fix fs_tests for unknown locales
Fix by removing "L" as suggested by meeDamian in
https://github.com/bitcoin/bitcoin/issues/14948#issuecomment-522355441
Co-Authored-By: bugs@meedamian.com
d48f664440
carnhofdaki force-pushed on Oct 15, 2019
laanwj
commented at 9:33 AM on October 15, 2019:
member
ACKd48f664440e7bb3ff7a90b6d706a3ac2cfaec95a
Hrmph, we should probably fix the false-positive in github-merge.py for full mail addresses. Those don't get notified (afaik).
laanwj referenced this in commit b544eb6370 on Oct 15, 2019
laanwj merged this on Oct 15, 2019
laanwj closed this on Oct 15, 2019
carnhofdaki deleted the branch on Oct 15, 2019
hebasto
commented at 4:28 PM on October 15, 2019:
member
Post-merge ACK. Tested on ODROID-HC1:
$ gcc --version
gcc (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Could this PR be backported to 0.19?
MarcoFalke removed the label Waiting for author on Oct 15, 2019
MarcoFalke added the label Needs backport (0.19) on Oct 15, 2019
MarcoFalke added this to the milestone 0.19.0 on Oct 15, 2019
carnhofdaki
commented at 7:55 AM on October 16, 2019:
contributor
@hebasto sure! See #17158@MarcoFalke What is the process for backports? (In case I did something wrong)
carnhofdaki referenced this in commit bd9d40dbbd on Oct 16, 2019
laanwj referenced this in commit 3834d3d121 on Oct 16, 2019
fanquake removed the label Needs backport (0.19) on Oct 19, 2019
fanquake
commented at 5:52 PM on October 19, 2019:
member
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:14 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me