Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 22:11:06 -0800
From:      Dave Hayes <dave@jetcafe.org>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: 4.8p16 buildworld fails with NO_OPENSSL 
Message-ID:  <200403150611.i2F6B6uZ069323@hokkshideh2.jetcafe.org>

next in thread | raw e-mail | index | archive | help
Ruslan Ermilov <ru@freebsd.org> writes:
> On Wed, Mar 03, 2004 at 02:22:13PM +0200, Jarkko Santala wrote:
>> Just cvsupped the sources to 4.8p16 from 4.8 and tried to make buildworld
>> with NO_OPENSSL defined in /etc/make.conf. Here's the result:
...
> This has been fixed in RELENG_4 in src/secure/lib/Makefile,v 1.19.2.5.
> You can pull up that revision manually, as these fixes won't go into
> security branches.

I'm using that version and it still appears not to work (modulo my
naivete):

# cd /usr/src/secure/usr.bin/telnet
# make
....
cc -O2 -pipe  -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE  -DENCRYPTION 
-DAUTHENTICATION -DIPSEC -DINET6  -I/usr/src/secure/usr.bin/telnet/../../../cry
pto/telnet -I/usr/src/secure/usr.bin/telnet/../../../crypto/telnet/libtelnet/  
 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
  -o telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o 
terminal.o utilities.o -ltermcap /usr/src/secure/usr.bin/telnet/../../lib/libte
lnet/libtelnet.a -lmp  -lcrypto -lcrypt -lipsec -lpam
cc: /usr/src/secure/usr.bin/telnet/../../lib/libtelnet/libtelnet.a: No such 
file or directory
*** Error code 1

Stop in /usr/src/secure/usr.bin/telnet.
# cd /usr/src/usr.bin/telnet
# make
Warning: Object directory not changed from original /usr/src/usr.bin/telnet
cc -O2 -pipe  -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE  
-I/usr/src/usr.bin/telnet/../../lib -I/usr/src/usr.bin/telnet/../../lib/libteln
et/ -DINET6 -DIPSEC     -o telnet commands.o main.o network.o ring.o sys_bsd.o 
telnet.o terminal.o utilities.o -ltermcap /usr/src/usr.bin/telnet/../../lib/lib
telnet/libtelnet.a -lipsec
cc: /usr/src/usr.bin/telnet/../../lib/libtelnet/libtelnet.a: No such file or 
directory
*** Error code 1

Stop in /usr/src/usr.bin/telnet.

It appears to be looking for libtelnet.a in both cases, which is not
built if NO_OPENSSL is defined per src/secure/lib/Makefile,v
1.19.2.5. (and I am reading the Makefile right).

Am I doing something wrong or is this a bug?
------
Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org 
>>> The opinions expressed above are entirely my own <<<

One of the most common defenses against really learning something is
to believe that one knows it already.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403150611.i2F6B6uZ069323>