When running `zmodload zsh/zftp`, it fails due to missing symbol `freehostent`. This is worrisome, because a) that's a broken feature, and b) `freehostent` shouldn't be used on glibc systems (far as I can tell) – `man freehostent` tells us that the function is *not* present in glibc and deprecated. Reproducible: Always Steps to Reproduce: 1. clean F37 or F38 installation 2. `sudo dnf --refresh install -y zsh` 3. `zsh` 4. in zsh: `zmodload zsh/zftp` Actual Results: zsh: failed to load module `zsh/zftp': /usr/lib64/zsh/5.9/zsh/zftp.so: undefined symbol: freehostent Expected Results: loading of module
Oh, can reproduce on debian as well. Opening an upstream bug.
Upstream bug report email: https://www.zsh.org/mla/workers/2023/msg00550.html
This is the same bug as #1277996. It was fix by commit b5cac6b for zsh rpm by adding export LIBLDFLAGS='-z lazy' to zsh.spec. https://src.fedoraproject.org/rpms/zsh/c/b5cac6b431f08c03d2712fa9aac41b7cb43b9384 But in recent Fedora '-z lazy' does not overwrite the '-Wl,-z,now'. It _seems_ we need to use '-Wl,-z,lazy'.
I've committed a patch to the zsh git master: https://sourceforge.net/p/zsh/code/ci/a84fdd7c8f77935ecce99ff2b0bdba738821ed79/ With this patch zsh works with full RELRO and you need not use '-z lazy' nor '-Wl,-z,lazy'.
FEDORA-2023-e7f216e793 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e7f216e793
FEDORA-2023-8001f5baa2 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8001f5baa2
FEDORA-2023-e94b314247 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e94b314247
FEDORA-2023-e94b314247 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-e7f216e793 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e7f216e793` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e7f216e793 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-8001f5baa2 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8001f5baa2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8001f5baa2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-e7f216e793 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-8001f5baa2 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.