4.8p16 buildworld fails with NO_OPENSSL

Dave Hayes dave at jetcafe.org
Sun Mar 14 22:11:14 PST 2004


Ruslan Ermilov <ru at 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 at 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.






More information about the freebsd-stable mailing list