Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2003 18:59:14 -0500
From:      "Paul A. Howes" <freebsd-stable@fair-ware.com>
To:        "'FreeBSD-Stable'" <freebsd-stable@freebsd.org>
Cc:        "'Stijn Hoop'" <stijn@win.tue.nl>
Subject:   RE: Problem in /etc/make.conf
Message-ID:  <00c601c2bdbb$46698650$0200a8c0@howesnet>
In-Reply-To: <20030113124347.GL20203@pcwin002.win.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

This gets more and more baffling!  I ran a few test buildworlds to see
what would happen.  If I do _not_ define "NO_OPENSSL=true" in
/etc/make.conf, the build completes with no errors.  I tried it with
both "make" and "make -j4" with the same result.

Now, when I do define NO_OPENSSL in make.conf, the build fails in
different places depending on the "-j#" option I use.

	make -j4 buildworld:

===> lib/libz
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libz.a
/usr/obj/usr/src/i386/usr/lib
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444
/usr/src/lib/libz/zconf.h /usr/src/lib/libz/zlib.h
/usr/obj/usr/src/i386/usr/include
sh /usr/src/tools/install.sh -s -o root -g wheel -m 444     libz.so.2
/usr/obj/usr/src/i386/usr/lib
ln -fs libz.so.2 /usr/obj/usr/src/i386/usr/lib/libz.so
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

	make buildworld

===> 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/../../../crypto/telnet/libtelnet
/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/encrypt.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

Stop in /usr/src/secure/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Any thoughts?

--
Paul A. Howes



-----Original Message-----
From: owner-freebsd-stable@FreeBSD.ORG
[mailto:owner-freebsd-stable@FreeBSD.ORG] On Behalf Of Stijn Hoop
Sent: Monday, January 13, 2003 7:44 AM
To: Paul A. Howes
Cc: 'FreeBSD-Stable'
Subject: Re: Problem in /etc/make.conf


On Mon, Jan 13, 2003 at 06:28:43AM -0500, Paul A. Howes wrote:
> I run 4.7p2 on my server.  I recently installed a new motherboard, and
> decided to rebuild world and kernel with "P4" as the CPU target in
> make.conf because I wanted to optimize the system as much as possible.
> 
> I have been using the OpenSSH and OpenSSL from the ports collection
for
> some time now, using the "*_OVERWRITE_BASE" directive.  So today, I
> decided to switch on the "NO_OPENSSL = true" flag in my
/etc/make.conf.
> I had not reinstalled world since I had started using OpenSSL from
> ports/
> 
> The result is:  I found that buildworld will fail during the "make
> depends" target in /usr/src/crypto/telnet/libtelnet, because
> <openssh/des.h> cannot be included by encrypt.h, found in that
> directory.
> 
> The only other settings I have in make.conf that could possibly affect
> this are "MAKE_IDEA = yes" and "USA_RESIDENT = yes".
> 
> Any thoughts?

Only a probable 'Me too' -- but because I didn't notice the build
failure
before I got to install the system, I had to make do with another
build and could not investigate further at that time.
But I think I had the same error.

If you still have the output of 'make buildworld', you should send a PR
on
the subject, so that this bug report doesn't get lost.

--Stijn

-- 
"A mouse is a device used to point at the xterm you want to type in"
		-- Kim Alm, alt.sysadmin.recovery


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c601c2bdbb$46698650$0200a8c0>