Yggdrasil icon indicating copy to clipboard operation
Yggdrasil copied to clipboard

add telnet

Open Moelf opened this issue 2 years ago • 15 comments

Moelf avatar Jun 02 '22 03:06 Moelf

We can't compile this with our old glibc, sigh.

giordano avatar Jun 02 '22 14:06 giordano

what's the solution? I don't mind first build a older telnet honestly

Moelf avatar Jun 02 '22 14:06 Moelf

what's the solution?

At the moment? None, for the time being we're stuck with old glibc.

I don't mind first build a older telnet honestly

I don't think that'd make any difference.

giordano avatar Jun 02 '22 14:06 giordano

why? if it's "old" glibc, then we just need to find an old enough telnet right?

Moelf avatar Jun 02 '22 15:06 Moelf

also the tests were passing yesterday what happened

Moelf avatar Jun 02 '22 15:06 Moelf

6a59a8e (#4978)

giordano avatar Jun 02 '22 15:06 giordano

how does OpenSSH manage to compile?

Moelf avatar Jun 02 '22 15:06 Moelf

#4879

giordano avatar Jun 02 '22 15:06 giordano

Maybe using OpenSSL? I don't know if telnet would like it, but maybe you can try that

giordano avatar Jun 02 '22 15:06 giordano

https://github.com/JuliaParallel/ClusterManagers.jl/blob/ff73e36e108cfd6810d6689c51696930a7503f63/src/condor.jl#L29

I don't think this usage can be replaced telnet -> ssh

Moelf avatar Jun 02 '22 15:06 Moelf

I'm not sure what you mean

giordano avatar Jun 02 '22 15:06 giordano

what do you mean by using OpenSSH?

Moelf avatar Jun 02 '22 15:06 Moelf

I said

Maybe using OpenSSL?

not OpenSSH. And I was answering your question

how does OpenSSH manage to compile?

since OpenSSH has OpenSSL as dependency https://github.com/JuliaPackaging/Yggdrasil/blob/7289473d58445a58f358c48e77aab0f7540c0223/O/OpenSSH/build_tarballs.jl#L71

giordano avatar Jun 02 '22 15:06 giordano

sorry I'm blind today, let's see if it works

Moelf avatar Jun 02 '22 15:06 Moelf

nvm, giving up until we have a new glibc I guess

Moelf avatar Jun 02 '22 15:06 Moelf

For reference, #5501 should help with bringing this forward

giordano avatar Sep 15 '22 22:09 giordano

This is now working right, but the tarball contains more than just telnet

% wget -qO - 'https://julia-bb-buildcache.s3.amazonaws.com/b3e17edd0a76ae284c75f005918cd5a057f51d90b4025ed8dcc50be94582a6f5/689dad91b3ed55dda9f7626cd782bb86a2c22caec1f24fc879710327f24878ce/x86_64-linux-gnu.tar.gz' | tar tzv | grep 'bin/'
-rwxr-xr-x 0/0          229400 1970-01-01 01:00 bin/dnsdomainname
-rwxr-xr-x 0/0          589530 1970-01-01 01:00 bin/ftp
-rwxr-xr-x 0/0          342920 1970-01-01 01:00 bin/ping
-rwxr-xr-x 0/0          288017 1970-01-01 01:00 bin/ping6
-rwxr-xr-x 0/0          288397 1970-01-01 01:00 bin/talk
-rwxr-xr-x 0/0          475518 1970-01-01 01:00 bin/telnet
-rwxr-xr-x 0/0          305131 1970-01-01 01:00 bin/whois

Also, the log shows

[23:17:14] Summary of build decisions:
[23:17:14] 
[23:17:14]   Clients:
[23:17:14] 
[23:17:14]     telnet         yes  -lncurses
[23:17:14]     tftp           no
[23:17:14]     traceroute     no
[23:17:14]     whois          yes
[23:17:14] 
[23:17:14]   Servers:
[23:17:14] 
[23:17:14]     ftpd           yes  
[23:17:14]     inetd          no
[23:17:14]     rexecd         no
[23:17:14]     rlogind        yes  
[23:17:14]     rshd           yes  
[23:17:14]     syslogd        no
[23:17:14]     talkd          yes
[23:17:14]     telnetd        yes  -lncurses
[23:17:14]     tftpd          no
[23:17:14]     uucpd          yes
[23:17:14] 
[23:17:14]   Support:
[23:17:14] 
[23:17:14]     libls          yes

I presume you wanted only telnet, right?

giordano avatar Sep 17 '22 23:09 giordano

That's right

Moelf avatar Sep 18 '22 10:09 Moelf

Now I get

Summary of build decisions:

  Clients:

    dnsdomainname  no
    ftp            no
    hostname       no
    ifconfig       no
    logger         no
    ping           no
    ping6          no
    rcp            no
    rexec          no
    rlogin         no
    rsh            no
    talk           no
    telnet         yes  -lncurses
    tftp           no
    traceroute     no
    whois          no

  Servers:

    ftpd           no
    inetd          no
    rexecd         no
    rlogind        no
    rshd           no
    syslogd        no
    talkd          no
    telnetd        no
    tftpd          no
    uucpd          no

  Support:

    libls          yes

It this what you want? Only telnet client, not the server.

Side comment: please, don't push commits which don't change the content of the T/telnet directory (like rebasing on master or merging it): the cache system we have in place here means that nothing changes in practice, apart from the fact the build log disappears, which makes my work harder.

giordano avatar Sep 18 '22 12:09 giordano

Yeah that looks right to me

Moelf avatar Sep 18 '22 13:09 Moelf