This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author koobs
Recipients koobs, vstinner
Date 2021-02-04.01:12:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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: Shared object "" 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/", 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/", line 44, in check_output
    raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['/usr/local/bin/bash', '/var/tmp/tmprk2_yuoe/']' 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/", 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/", line 221, in _runtest_inner2
    the_module = importlib.import_module(abstest)
  File "/usr/home/buildbot/python/3.9.koobs-freebsd-564d/build/Lib/importlib/", 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/", 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/", 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=' Shared object "" 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?
Date User Action Args
2021-02-04 01:12:53koobssetrecipients: + koobs, vstinner
2021-02-04 01:12:53koobssetmessageid: <>
2021-02-04 01:12:53koobslinkissue43068 messages
2021-02-04 01:12:53koobscreate