i've managed to execute 'make test' in /usr/ports/lang/python/2.7, using
ports/objdirs mounted over NFS, and with DEBUG=-g. unfortunately the
results are not enlightening about the mercurial issue.

for brevity, i'll paste the end of the test suite, but i can paste the full
output of make if desired.

what follows the test suite output is the egdb backtrace of one of the
produced core files; they are both the same afaict.

LD_LIBRARY_PATH=/usr/obj/ports/Python-2.7.14/Python-2.7.14 ./python -Wd -3
-E -tt  ./Lib/test/regrtest.py -l -w
== CPython 2.7.14 (default, May 20 2018, 17:49:51) [GCC 4.2.1 20070719 ]
==   OpenBSD-6.3-octeon-mips64-64bit big-endian
==   /usr/obj/ports/Python-2.7.14/Python-2.7.14/build/test_python_25116
== CPU count: 1
Run tests sequentially
0:00:01 load avg: 1.84 [  1/403] test_grammar
0:00:01 load avg: 1.84 [  2/403] test_opcodes
0:00:01 load avg: 1.84 [  3/403] test_dict
0:00:09 load avg: 1.86 [  4/403] test_builtin
0:00:11 load avg: 1.86 [  5/403] test_exceptions
0:00:12 load avg: 1.86 [  6/403] test_types
0:00:14 load avg: 1.79 [  7/403] test_unittest
0:00:22 load avg: 1.73 [  8/403] test_doctest
0:00:39 load avg: 1.66 [  9/403] test_doctest2
0:00:39 load avg: 1.66 [ 10/403] test_MimeWriter
0:00:39 load avg: 1.66 [ 11/403] test_SimpleHTTPServer
0:00:40 load avg: 1.66 [ 12/403] test_StringIO
0:00:48 load avg: 1.71 [ 13/403] test___all__
0:01:25 load avg: 1.56 [ 14/403] test___future__ -- test___all__ passed in
37 sec
0:01:26 load avg: 1.56 [ 15/403] test__locale
test test__locale failed -- multiple errors occurred; run in verbose mode
for details
0:01:27 load avg: 1.56 [ 16/403/1] test__osx_support -- test__locale failed
0:01:27 load avg: 1.56 [ 17/403/1] test_abc
0:01:29 load avg: 1.52 [ 18/403/1] test_abstract_numbers
0:01:29 load avg: 1.52 [ 19/403/1] test_aepack
test_aepack skipped -- No module named aetypes
0:01:30 load avg: 1.52 [ 20/403/1] test_aifc -- test_aepack skipped
0:01:34 load avg: 1.47 [ 21/403/1] test_al
test_al skipped -- No module named al
0:01:34 load avg: 1.47 [ 22/403/1] test_anydbm -- test_al skipped
0:01:35 load avg: 1.47 [ 23/403/1] test_applesingle
test_applesingle skipped -- No module named MacOS
0:01:36 load avg: 1.47 [ 24/403/1] test_argparse -- test_applesingle skipped
0:02:52 load avg: 1.80 [ 25/403/1] test_array -- test_argparse passed in 1
min 16 sec
0:03:10 load avg: 1.65 [ 26/403/1] test_ascii_formatd
0:03:11 load avg: 1.65 [ 27/403/1] test_ast
0:03:17 load avg: 1.68 [ 28/403/1] test_asynchat
/usr/obj/ports/Python-2.7.14/Python-2.7.14/Lib/threading.py:846:
DeprecationWarning: sys.exc_clear() not supported in 3.x; use except clauses
  self.__exc_clear()
Segmentation fault (core dumped)
*** Error 139 in target 'test' (ignored)
LD_LIBRARY_PATH=/usr/obj/ports/Python-2.7.14/Python-2.7.14 ./python -Wd -3
-E -tt  ./Lib/test/regrtest.py -l -w
== CPython 2.7.14 (default, May 20 2018, 17:49:51) [GCC 4.2.1 20070719 ]
==   OpenBSD-6.3-octeon-mips64-64bit big-endian
==   /usr/obj/ports/Python-2.7.14/Python-2.7.14/build/test_python_21493
== CPU count: 1
Run tests sequentially
0:00:00 load avg: 2.07 [  1/403] test_grammar
0:00:01 load avg: 2.06 [  2/403] test_opcodes
0:00:01 load avg: 2.06 [  3/403] test_dict
0:00:08 load avg: 2.06 [  4/403] test_builtin
0:00:09 load avg: 2.06 [  5/403] test_exceptions
0:00:10 load avg: 2.06 [  6/403] test_types
0:00:11 load avg: 1.97 [  7/403] test_unittest
0:00:18 load avg: 1.98 [  8/403] test_doctest
0:00:33 load avg: 1.97 [  9/403] test_doctest2
0:00:33 load avg: 1.97 [ 10/403] test_MimeWriter
0:00:33 load avg: 1.97 [ 11/403] test_SimpleHTTPServer
0:00:34 load avg: 1.97 [ 12/403] test_StringIO
0:00:41 load avg: 1.98 [ 13/403] test___all__
0:01:01 load avg: 1.85 [ 14/403] test___future__
0:01:01 load avg: 1.85 [ 15/403] test__locale
test test__locale failed -- multiple errors occurred; run in verbose mode
for details
0:01:02 load avg: 1.85 [ 16/403/1] test__osx_support -- test__locale failed
0:01:03 load avg: 1.85 [ 17/403/1] test_abc
0:01:04 load avg: 1.85 [ 18/403/1] test_abstract_numbers
0:01:04 load avg: 1.85 [ 19/403/1] test_aepack
test_aepack skipped -- No module named aetypes
0:01:05 load avg: 1.85 [ 20/403/1] test_aifc -- test_aepack skipped
0:01:08 load avg: 1.79 [ 21/403/1] test_al
test_al skipped -- No module named al
0:01:08 load avg: 1.79 [ 22/403/1] test_anydbm -- test_al skipped
0:01:09 load avg: 1.79 [ 23/403/1] test_applesingle
test_applesingle skipped -- No module named MacOS
0:01:10 load avg: 1.79 [ 24/403/1] test_argparse -- test_applesingle skipped
0:02:25 load avg: 1.89 [ 25/403/1] test_array -- test_argparse passed in 1
min 15 sec
0:02:44 load avg: 1.78 [ 26/403/1] test_ascii_formatd
0:02:44 load avg: 1.78 [ 27/403/1] test_ast
0:02:50 load avg: 1.72 [ 28/403/1] test_asynchat
/usr/obj/ports/Python-2.7.14/Python-2.7.14/Lib/threading.py:846:
DeprecationWarning: sys.exc_clear() not supported in 3.x; use except clauses
  self.__exc_clear()
Segmentation fault (core dumped)
*** Error 139 in /usr/obj/ports/Python-2.7.14/Python-2.7.14 (Makefile:869
'test')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2777
'/usr/obj/ports/Python-2.7.14/.test_done')
*** Error 1 in /usr/ports/lang/python/2.7 (/usr/ports/infrastructure/mk/
bsd.port.mk:2419 'test')
erl#

erl# egdb --batch --ex "bt" python ./build/test_python_21493/python.core
[New process 220298]
[New process 212355]
Core was generated by `python'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000002ddcdf4000 in ?? ()
[Current thread is 1 (process 220298)]
#0  0x0000002ddcdf4000 in ?? ()
#1  0x0000002d9610bcd8 in sock_recv_guts (warning: GDB can't find the start
of the function at 0x2dd052c32c.

    GDB is unable to find the start of the function at 0x2dd052c32c
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
    This problem is most likely caused by an invalid program counter or
stack pointer.
    However, if you think GDB should simply search farther back
from 0x2dd052c32c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
s=0x2d554ef2d0, cbuf=0x2d17bccdc4 "e", len=1, flags=0) at
/usr/obj/ports/Python-2.7.14/Python-2.7.14/Modules/socketmodule.c:2441
#2  0x0000002dd052c32d in ?? ()


On Sun, May 20, 2018 at 3:13 PM, Nick Owens <misch...@offblast.org> wrote:

> are there instructions i can read for operating ports over NFS? i have my
> R400 running 6.3 directly connected via ethernet/switch to my ERL now. i
> turned on nfs, but i'm not sure where to go from there.
>
> On Sun, May 20, 2018 at 8:42 AM, Janne Johansson <icepic...@gmail.com>
> wrote:
>
>>
>>
>> 2018-05-19 22:48 GMT+02:00 Nick Owens <misch...@offblast.org>:
>>
>>> my ERL is very sad and slow with a 500mhz cpu/512M ram and the usb drive
>>> is
>>> very sad and slow at around 1-2MB/s throughput.
>>>
>>> i will see about getting ports going on it, but it may take a while, if
>>> it
>>> even works.
>>>
>>
>> When I do octeon ports builds, having the srouce tree over NFS from an
>> SSD is not a bad idea.
>>
>> --
>> May the most significant bit of your life be positive.
>>
>
>

Reply via email to