From: Philippe Troin <phil@fifi.org>
To: "Marcus Müller" <marcus_zsh@hostalia.de>, zsh-workers@zsh.org
Subject: Re: [Bug] modules zsh/tcp, zsh/zftp unloadable, probably affecting most modern Linuxes
Date: Sun, 04 Jun 2023 14:17:30 -0700 [thread overview]
Message-ID: <027f2a491b638e2ffaf7766fe4adf29537c11fdf.camel@fifi.org> (raw)
In-Reply-To: <a9055641-4eb8-5d8f-229a-b38dbc63f706@hostalia.de>
On Sun, 2023-06-04 at 22:37 +0200, Marcus Müller wrote:
>
> On 04.06.23 15:51, Marcus Müller wrote:
> > Steps to Reproduce:
> > 1. clean F37 or F38 or debian stable 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
Interestingly:
% zsh -f
% echo $ZSH_VERSION
5.9
% rpm -q zsh
zsh-5.9-5.fc38.x86_64
% zmodload zsh/zftp
zsh: failed to load module `zsh/zftp': /usr/lib64/zsh/5.9/zsh/zftp.so: undefined symbol: freehostent
% autoload zfinit
% zfinit
% zmodload zsh/zftp
% zmodload
zsh/compctl
zsh/complete
zsh/main
zsh/net/tcp
zsh/zftp
zsh/zle
zsh/zutil
If you look at zfinit, it loads zsh/net/tcp first.
% zsh -f
% zmodload zsh/net/tcp
% zmodload zsh/zftp
freehostent is defined in zsh/net/tcp:
% nm --dynamic /usr/lib64/zsh/5.9/zsh/net/tcp.so| grep freehostent
00000000000027c0 T freehostent
Since I think you're supposed to initialize zftp through zfinit, I do
not think this qualifies as a bug.
But the freehostent symbol in zsh/net/tcp.so feels a little funky.
Phil.
next prev parent reply other threads:[~2023-06-04 21:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-04 13:51 Marcus Müller
2023-06-04 20:37 ` Marcus Müller
2023-06-04 21:17 ` Philippe Troin [this message]
2023-06-05 19:35 ` Marcus Müller
2023-06-05 20:07 ` Bart Schaefer
2023-06-06 6:42 ` Jun T
2023-06-06 9:05 ` Peter Stephenson
2023-06-06 14:38 ` Jun. T
2023-06-06 15:01 ` Peter Stephenson
2023-06-06 16:37 ` Philippe Troin
2023-06-06 17:54 ` Mikael Magnusson
2023-06-07 2:05 ` Jun T
2023-06-07 2:35 ` Jun T
2023-06-07 14:40 ` Jun. T
2023-06-23 13:41 ` Jun. T
2023-06-07 9:25 ` Marcus Müller
2023-06-04 22:41 ` Axel Beckert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=027f2a491b638e2ffaf7766fe4adf29537c11fdf.camel@fifi.org \
--to=phil@fifi.org \
--cc=marcus_zsh@hostalia.de \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).