Kubilay Kocak <koobs.free...@gmail.com> added the comment:

FreeBSD base was updated on the FreeBSD workers, between versions that changes 
the way the base curses library was built, and what it built.

The net results was that any software (from ports) linked against base curses 
needed to be rebuilt, and until then would fail to load with the following 
error:

  ld-elf.so.1: Shared object "libncursesw.so.6" not found, required by "foo"


The test suite should guard/test for the inability to execute (successfully 
load/run) the required commands/functions.

The following tests also failed for the same reason:

======================================================================
ERROR: test_deactivate_with_strict_bash_opts (test.test_venv.BasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.9.koobs-freebsd-564d/build/Lib/test/test_venv.py", 
line 391, in test_deactivate_with_strict_bash_opts
    out, err = check_output([bash, test_script])
  File 
"/usr/home/buildbot/python/3.9.koobs-freebsd-564d/build/Lib/test/test_venv.py", 
line 44, in check_output
    raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['/usr/local/bin/bash', 
'/var/tmp/tmprk2_yuoe/test_strict.sh']' returned non-zero exit status 1.

0:14:07 load avg: 1.31 Re-running test_gdb in verbose mode
test test_gdb crashed -- Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.9.koobs-freebsd-564d/build/Lib/test/libregrtest/runtest.py",
 line 270, in _runtest_inner
    refleak = _runtest_inner2(ns, test_name)
  File 
"/usr/home/buildbot/python/3.9.koobs-freebsd-564d/build/Lib/test/libregrtest/runtest.py",
 line 221, in _runtest_inner2
    the_module = importlib.import_module(abstest)
  File 
"/usr/home/buildbot/python/3.9.koobs-freebsd-564d/build/Lib/importlib/__init__.py",
 line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File 
"/usr/home/buildbot/python/3.9.koobs-freebsd-564d/build/Lib/test/test_gdb.py", 
line 48, in <module>
    gdb_version, gdb_major_version, gdb_minor_version = get_gdb_version()
  File 
"/usr/home/buildbot/python/3.9.koobs-freebsd-564d/build/Lib/test/test_gdb.py", 
line 29, in get_gdb_version
    raise Exception(f"Command {' '.join(cmd)!r} failed "
Exception: Command 'gdb -nx --version' failed with exit code 1: stdout='' 
stderr='ld-elf.so.1: Shared object "libncursesw.so.6" not found, required by 
"gdb"\n'

Would you like me to rebuild bash/gdb to fix the error, or wait for the tests 
to be fixed so that they can handle the error condition?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to