Alice Wonder [ARCHIVE] on Nostr: 📅 Original date posted:2016-12-19 📝 Original message:On 12/18/2016 12:51 PM, ...
📅 Original date posted:2016-12-19
📝 Original message:On 12/18/2016 12:51 PM, Douglas Roark via bitcoin-dev wrote:
> On 2016/12/18 12:07, Alice Wonder via bitcoin-dev wrote:
>> I almost did not update to 0.13.0 because the test suite was failing due
>> to python errors. How to fix them was posted on bitcointalk.
>>
>> 0.13.1 came with new python errors in the test suite. So I just said
>> fuck it.
>>
>> When the test suite actually works in my fairly standard environment
>> (CentOS) in the distributed release, I will upgrade.
>
> Can you post more info about the problems you're seeing, how you fixed
> them, your environment, etc., or at least post an issue on Github? I'm
> sure somebody would be happy to help. Some info on how to reproduce the
> problems would be very helpful. :)
>
> Thanks.
For 0.13.0 I had to do
export LANG=en_US.utf8
before running the test suite. I build in clean chroot build environment
to avoid accidental linking to non-standard libraries, and in that
environment the LANG is normally set to C as LANG normally doesn't
matter for compiling software that is expected to run regardless of what
the LANG is.
That I believe was fixed in 0.13.1.
In 0.13.1 the error is
Running test/bitcoin-util-test.py...
Traceback (most recent call last):
File "./test/bitcoin-util-test.py", line 12, in <module>
"bitcoin-util-test.json",buildenv)
File "/builddir/build/BUILD/bitcoin-0.13.1/src/test/bctest.py", line
54, in bctester
bctest(testDir, testObj, buildenv.exeext)
File "/builddir/build/BUILD/bitcoin-0.13.1/src/test/bctest.py", line
26, in bctest
outputData = open(testDir + "/" + outputFn).read()
FileNotFoundError: [Errno 2] No such file or directory:
'./test/data/blanktx.json'
make[3]: *** [check-local] Error 1
make[3]: Leaving directory `/builddir/build/BUILD/bitcoin-0.13.1/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/builddir/build/BUILD/bitcoin-0.13.1/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/bitcoin-0.13.1/src'
make: *** [check-recursive] Error 1
0.13.0 test works just fine (once the LANG is set to something utf8)
Published at
2023-06-07 17:55:01Event JSON
{
"id": "c8859e3a01bffac3f96b4672a3886731f82cfdaff562171cfc5d0f088eed7b90",
"pubkey": "d5fbfd09850cad30b99b533bce83c2e5ec1976ed8891dbbf947bb037367a1799",
"created_at": 1686160501,
"kind": 1,
"tags": [
[
"e",
"ee1c2471d2ec149fd9a9fe6d8637c882d00a6f6b87fc457ebefd47e95089e34a",
"",
"root"
],
[
"e",
"819fb144f2b8c0e908018ae0a965bb9b9c79c56c2d7b96860a8002f0ac6c55ea",
"",
"reply"
],
[
"p",
"533e45ffeb94bc88c14af70b25994838170e7910c1273994b63bce468eac2230"
]
],
"content": "📅 Original date posted:2016-12-19\n📝 Original message:On 12/18/2016 12:51 PM, Douglas Roark via bitcoin-dev wrote:\n\u003e On 2016/12/18 12:07, Alice Wonder via bitcoin-dev wrote:\n\u003e\u003e I almost did not update to 0.13.0 because the test suite was failing due\n\u003e\u003e to python errors. How to fix them was posted on bitcointalk.\n\u003e\u003e\n\u003e\u003e 0.13.1 came with new python errors in the test suite. So I just said\n\u003e\u003e fuck it.\n\u003e\u003e\n\u003e\u003e When the test suite actually works in my fairly standard environment\n\u003e\u003e (CentOS) in the distributed release, I will upgrade.\n\u003e\n\u003e Can you post more info about the problems you're seeing, how you fixed\n\u003e them, your environment, etc., or at least post an issue on Github? I'm\n\u003e sure somebody would be happy to help. Some info on how to reproduce the\n\u003e problems would be very helpful. :)\n\u003e\n\u003e Thanks.\n\nFor 0.13.0 I had to do\n\nexport LANG=en_US.utf8\n\nbefore running the test suite. I build in clean chroot build environment \nto avoid accidental linking to non-standard libraries, and in that \nenvironment the LANG is normally set to C as LANG normally doesn't \nmatter for compiling software that is expected to run regardless of what \nthe LANG is.\n\nThat I believe was fixed in 0.13.1.\n\nIn 0.13.1 the error is\n\n\nRunning test/bitcoin-util-test.py...\nTraceback (most recent call last):\n File \"./test/bitcoin-util-test.py\", line 12, in \u003cmodule\u003e\n \"bitcoin-util-test.json\",buildenv)\n File \"/builddir/build/BUILD/bitcoin-0.13.1/src/test/bctest.py\", line \n54, in bctester\n bctest(testDir, testObj, buildenv.exeext)\n File \"/builddir/build/BUILD/bitcoin-0.13.1/src/test/bctest.py\", line \n26, in bctest\n outputData = open(testDir + \"/\" + outputFn).read()\nFileNotFoundError: [Errno 2] No such file or directory: \n'./test/data/blanktx.json'\nmake[3]: *** [check-local] Error 1\nmake[3]: Leaving directory `/builddir/build/BUILD/bitcoin-0.13.1/src'\nmake[2]: *** [check-am] Error 2\nmake[2]: Leaving directory `/builddir/build/BUILD/bitcoin-0.13.1/src'\nmake[1]: *** [check-recursive] Error 1\nmake[1]: Leaving directory `/builddir/build/BUILD/bitcoin-0.13.1/src'\nmake: *** [check-recursive] Error 1\n\n0.13.0 test works just fine (once the LANG is set to something utf8)",
"sig": "98c31887ea7d1b62859b942cabc3ac0184db96e99b9dddc64044565c869c6a084ac96195a4a2ae4eda309460cada9caa1708172c3eef883e1c77a13cc4938880"
}