Hi, 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: ---cut--- ===> secure/lib/libtelnet rm -f .depend mkdep -f .depend -a -DENCRYPTION -DAUTHENTICATION -DSRA -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet -I/usr/src/secure/lib/libtelnet/../../../cr\ ypto/telnet/libtelnet -DNO_IDEA /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/genget.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet\ /libtelnet/getent.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encr\ ypt.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/auth.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c /usr/src\ /secure/lib/libtelnet/../../../crypto/telnet/libtelnet/sra.c /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c:53: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.c:72: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/auth.c:75: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c:47: openssl/des.h: No such file or directory In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c:52: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory In file included from /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/sra.c:54: /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: openssl/des.h: No such file or directory /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:47: openssl/des.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/src/secure/lib/libtelnet. *** Error code 1 ---cut--- Without NO_OPENSSL it compiles clean. Clues anyone? -jake -- Jarkko Santala <jake(?t)iki.fi> System Administrator http://iki.fi/jake/
On Wed, Mar 03, 2004 at 02:22:13PM +0200, Jarkko Santala wrote:> Hi, > > 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: > > ---cut--- > ===> secure/lib/libtelnet > rm -f .depend > mkdep -f .depend -a -DENCRYPTION -DAUTHENTICATION -DSRA > -I/usr/src/secure/lib/libtelnet/../../../crypto/telnet > -I/usr/src/secure/lib/libtelnet/../../../cr\ > ypto/telnet/libtelnet -DNO_IDEA > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/genget.c > /usr/src/secure/lib/libtelnet/../../../crypto/telnet\ > /libtelnet/getent.c > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encr\ > ypt.c > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/auth.c > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c > /usr/src\ > /secure/lib/libtelnet/../../../crypto/telnet/libtelnet/sra.c > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c > In file included from > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/misc.c:53: > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: > openssl/des.h: No such file or directory > In file included from > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.c:72: > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: > openssl/des.h: No such file or directory > In file included from > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/auth.c:75: > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: > openssl/des.h: No such file or directory > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c:47: > openssl/des.h: No such file or directory > In file included from > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/enc_des.c:52: > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: > openssl/des.h: No such file or directory > In file included from > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/sra.c:54: > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/encrypt.h:64: > openssl/des.h: No such file or directory > /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:47: > openssl/des.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/secure/lib/libtelnet. > *** Error code 1 > ---cut--- > > Without NO_OPENSSL it compiles clean. Clues anyone? >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. Cheers, -- Ruslan Ermilov FreeBSD committer ru@FreeBSD.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040303/dfaf1d8d/attachment.bin
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.
Ruslan Ermilov <ru@FreeBSD.org> writes:> On Sun, Mar 14, 2004 at 10:11:06PM -0800, Dave Hayes wrote: >> 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 >> > Why are you doing this?To show that both /usr/src/secure/usr.bin/telnet and /usr/src/usr.bin/telnet have the same failure. I really want the latter to compile and install, but it won't with NO_OPENSSL defined.> You have requested NO_OPENSSL, so no secure version of telnet(1) > will be built. /usr/src/secure/usr.bin/Makefile won't descend into > the "telnet" subdirectory if you specify NO_OPENSSL.Ok, but that doesn't explain why /usr/src/usr.bin/telnet is failing. ;)>> 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? > Yes, you do something wrong.The question is: what? ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org>>> The opinions expressed above are entirely my own <<<A person being delivered from the danger of a fierce lion does not object whether this service is performed by unknown or illustrious individuals. Why, therefore, do people seek knowledge from celebrities?
Ruslan Ermilov <ru@freebsd.org> writes:> But in the above, you attempted to compile secure/usr.bin/telnet, > not usr.bin/telnet. If you still see a breakage with the latter, > come back to me.Actually, if you check my original message, I did both. To be anally clear: I attempted a compile of usr.bin/telnet which was documented in my original message. I'll paste it again: # 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 As an aside: are people not using "NO_OPENSSL=true"? I've seen more than a few bug incidents with this being defined. Is there some data I'm missing on this subject? ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org>>> The opinions expressed above are entirely my own <<<The net poses a fundamental threat not only to the authority of the government, but to all authority, because it permits people to organize, think, and influence one another without any institutional supervision whatsoever. - John Seabrook "My First Flame"