You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# RUYI_DEBUG=x ./ruyi list
debug: [2024-03-25T11:38:09.982178] __file__ = log.py:37
/root/.cache/ruyi/progcache/0.7.0-
beta.20240323/__main__.py,
sys.executable =
/root/.cache/ruyi/progcache/0.7.0-
beta.20240323/python3,
__compiled__ =
__nuitka_version__(major=2,
minor=1, micro=3,
releaselevel='release',
containing_dir='/root',
standalone=True, onefile=True,
macos_bundle_mode=False,
no_asserts=False,
no_docstrings=False,
no_annotations=False,
module=False)
debug: [2024-03-25T11:38:10.048084] argv[0] = ./ruyi, self_exe = log.py:37
/root/ruyi
debug: [2024-03-25T11:38:10.972323] soname libcrypto.so not working: log.py:37
libcrypto.so: cannot open shared
object file: No such file or
directory
debug: [2024-03-25T11:38:11.006466] got defaults from system libcrypto log.py:37
libcrypto.so.3
debug: [2024-03-25T11:38:11.027159] X509_get_default_cert_file_env() = log.py:37
SSL_CERT_FILE
debug: [2024-03-25T11:38:11.043844] X509_get_default_cert_file() = log.py:37
/usr/lib/ssl/cert.pem
debug: [2024-03-25T11:38:11.061634] X509_get_default_cert_dir_env() = log.py:37
SSL_CERT_DIR
debug: [2024-03-25T11:38:11.076874] X509_get_default_cert_dir() = log.py:37
/usr/lib/ssl/certs
Traceback (most recent call last):
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/__main__.py", line 38, in<module>
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/ruyi/cli/__init__.py", line 283, in main
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/ruyi/cli/__init__.py", line 26, in init_argparse
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/ruyi/device/provision_cli.py", line 12, in<module ruyi.device.provision_cli>
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/ruyi/ruyipkg/atom.py", line 6, in<module ruyi.ruyipkg.atom>
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/ruyi/ruyipkg/repo.py", line 6, in<module ruyi.ruyipkg.repo>
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/pygit2/__init__.py", line 217, in<module pygit2>
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/pygit2/settings.py", line 57, in __init__
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/pygit2/settings.py", line 63, in _initialize_tls_certificate_locations
File "/root/.cache/ruyi/progcache/0.7.0-beta.20240323/pygit2/settings.py", line 192, in set_ssl_cert_locations
_pygit2.GitError: OpenSSL error: failed to load certificates: error:00000000:lib(0)::reason(0)
…d paths are not usable
In some cases we apparently dlopen the bundled libcrypto.so.3 (because
the system is not having a libcrypto.so installed), so the paths could
be unreliable and absent on the running system even if they're probed.
Fall back to a list of well-known paths in this case.
Fixes: ruyisdk#103
(cherry picked from commit d697058)
RUYI 版本
0.7.0-beta.20240323
问题描述
riscv64 二进制在 Fedora38 和 oErv 2309 依赖 openssl-devel。
在未安装 openssl-devel 时,将载入 openssl-libs 包提供的
/usr/lib64/libcrypto.so.3
,出现以下错误安装了 openssl-devel 后 ruyi 将载入由该包提供的
/usr/lib64/libcrypto.so
,问题消失而 amd64 架构二进制则不依赖 openssl-devel,可以正常载入
/usr/lib64/libcrypto.so.3
The text was updated successfully, but these errors were encountered: