Re: Buildworld fails due to WITHOUT_CRYPT (3 issues)

From: Beeblebrox <zaphod_at_berentweb.com>
Date: Wed, 24 Dec 2014 12:43:09 +0200
> Instead of using WITHOUT_CRYPT, you could have used WITHOUT_KERBEROS.
I know that, but I don't want to waste time compiling openssl either.

> You can still install openssl from ports.
Thanks. As stated it's just a matter of not wanting to compile something I'm not going to use.

> What's wrong with security/openssh-portable?
Nothing, I just gave dropbear as an example. This port would be preferable of course.

I re-started buildworld after re-enabling all crypto modules (incl
krb5) and it's now breaking at telnet:
===> libexec/telnetd (all)
cc  -O2 -pipe   -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK -DSTREAMSPTY -I/asp/git/src/libexec/telnetd/../../contrib/telnet -I/asp/git/src/libexec/telnetd/../../contrib/telnet/telnet -DAUTHENTICATION -DENCRYPTION -DKRB5 -DFORWARD -Dnet_write=telnet_net_write -DNDEBUG -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments  -o telnetd global.o slc.o state.o sys_term.o telnetd.o termstat.o utility.o authenc.o -L/usr/obj/asp/git/src/lib/libtelnet -ltelnet  -lutil  -lncursesw  -lmp  -lcrypto  -lpam  -lkrb5   -lroken -lpthread
/usr/obj/asp/git/src/lib/libtelnet/libtelnet.a(auth.o): In function `auth_name':
/asp/git/src/lib/libtelnet/../../contrib/telnet/libtelnet/auth.c:(.text+0x9d5): undefined reference to `auth_encrypt_user'
/usr/obj/asp/git/src/lib/libtelnet/libtelnet.a(sra.o): In function `sra_is':
/asp/git/src/lib/libtelnet/../../contrib/telnet/libtelnet/sra.c:(.text+0x290): undefined reference to `auth_encrypt_user'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Herbert: I'm going to have to delete the whole compiled mess and re-start. I'll apply your patch and advise the results.

-- 
FreeBSD_amd64_11-Current_RadeonKMS
Received on Wed Dec 24 2014 - 09:43:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC