subsequent to bug 908746, I wanted to try to update for a potenital fix, however portage seems to hard require libssl-1.1 which is both not present on the system and impossible to install due to above mentioned issue. Furthermore, hard locking a version like this during a sync seems like a reliable approach towards bricking a lot of installs out there.... tortoise ~ # emerge --sync >>> Syncing repository 'gentoo' into '/usr/portage'... * Using keys from /usr/share/openpgp-keys/gentoo-release.asc * Refreshing keys via WKD ...Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/portage/util/_async/AsyncFunction.py", line 45, in _run result = self.target(*(self.args or []), **(self.kwargs or {})) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 165, in sync taskmaster.run_tasks(tasks, func, status, options=task_opts) File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 65, in run_tasks result = getattr(inst, func)(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/portage/sync/syncbase.py", line 364, in sync return self.update() ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/portage/sync/modules/rsync/rsync.py", line 165, in update self._refresh_keys(openpgp_env) File "/usr/lib/python3.11/site-packages/portage/sync/syncbase.py", line 286, in _refresh_keys if openpgp_env.refresh_keys_wkd(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/gemato/openpgp.py", line 589, in refresh_keys_wkd resp = requests.get(url, proxies=proxies, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 769, in urlopen conn = self._get_conn(timeout=pool_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 295, in _get_conn return conn or self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1056, in _new_conn raise ImportError( ImportError: Can't connect to HTTPS URL because the SSL module is not available. >>> Syncing repository 'steam-overlay' into '/var/db/repos/steam-overlay'... /usr/bin/git fetch origin --depth 1 /usr/libexec/git-core/git-remote-https: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory !!! git fetch error in /var/db/repos/steam-overlay * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. Action: sync for repo: gentoo, returned code = 1 Action: sync for repo: steam-overlay, returned code = 128 tortoise ~ # ls /usr/lib64/libssl libssl3.so libssl.so libssl.so.1.0.0 libssl.so.3 tortoise ~ # Reproducible: Always Steps to Reproduce: 1. just try emerge --sync 2. 3. Actual Results: dies due to missing library of specific version. Expected Results: normal sync.
It seems you have somehow broken the git-remote-https by unmerging openssl-1.1. This is not a Portage bug.
this was installed in 2010. I'm going to need a lot of help to restore this thing to health. =\ Notice the EOL message for this package! https://packages.gentoo.org/packages/dev-libs/openssl Also, it WILL NOT INSTALL even disabling sandbox to work around other but because install ../openssl-1.1.1u/include/openssl/x509v3err.h -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/include/openssl/x509v3err.h install ./include/openssl/opensslconf.h -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/include/openssl/opensslconf.h install libcrypto.a -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/libcrypto.a install libssl.a -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/libssl.a link /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/libcrypto.so -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/libcrypto.so.1.1 link /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/libssl.so -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/libssl.so.1.1 created directory `/var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/pkgconfig' install libcrypto.pc -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/pkgconfig/libcrypto.pc install libssl.pc -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/pkgconfig/libssl.pc install openssl.pc -> /var/tmp/portage/dev-libs/openssl-1.1.1u/image/usr/lib/pkgconfig/openssl.pc sort: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory cksum: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory * ERROR: dev-libs/openssl-1.1.1u::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 2163: Called multilib-minimal_src_install * environment, line 1478: Called multilib_foreach_abi 'multilib-minimal_abi_src_install' * environment, line 1708: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 1390: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' * environment, line 1388: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install' * environment, line 462: Called multilib-minimal_abi_src_install * environment, line 1475: Called multilib_check_headers * environment, line 1513: Called die * The specific snippet of code: * cksum=$(_multilib_header_cksum) || die; * * If you need support, post the output of `emerge --info '=dev-libs/openssl-1.1.1u::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/openssl-1.1.1u::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-libs/openssl-1.1.1u/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/openssl-1.1.1u/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/openssl-1.1.1u/work/openssl-1.1.1u-abi_x86_32.x86' * S: '/var/tmp/portage/dev-libs/openssl-1.1.1u/work/openssl-1.1.1u' * Messages for package dev-libs/openssl-1.1.1u:
This is a bug tracker, not a support forum.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161b4e469a0ef4ff533091bf8c820e0371f61f19 commit 161b4e469a0ef4ff533091bf8c820e0371f61f19 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-22 06:07:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-22 06:10:39 +0000 dev-libs/openssl: use preserve-libs.eclass coreutils[openssl] will make e.g. sort use openssl for acceleration. For users with FEATURES="-preserve-libs" (non-default, pretty rare), we need to use preserve-libs.eclass to force preservation as it'll result in a bricked system otherwise. Reported on the forums at https://forums.gentoo.org/viewtopic-t-1163916.html too. If you've hit this: * you'll likely need to use a rescue environment to install a binary package of coreutils built without openssl, or downgrade openssl instead. See https://wiki.gentoo.org/wiki/Fix_my_Gentoo. * you may want to (although it's not required) set FEATURES="preserved-libs" in make.conf. Bug: https://bugs.gentoo.org/908746 Bug: https://bugs.gentoo.org/908849 Fixes: 842c8893492294933fc5527af41c3c9ab16d0efd Signed-off-by: Sam James <sam@gentoo.org> .../openssl/{openssl-3.0.9.ebuild => openssl-3.0.9-r1.ebuild} | 9 ++++++++- .../openssl/{openssl-3.1.1.ebuild => openssl-3.1.1-r1.ebuild} | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-)
Apologies for dismissing this.