From owner-freebsd-stable Thu Jan 16 15:58:52 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3992437B40F for ; Thu, 16 Jan 2003 15:58:45 -0800 (PST) Received: from silicon.nocdirect.com (silicon.nocdirect.com [66.227.56.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 304B643F13 for ; Thu, 16 Jan 2003 15:58:40 -0800 (PST) (envelope-from freebsd-stable@fair-ware.com) Received: from h0002b338865d.ne.client2.attbi.com ([66.30.213.83] helo=beast) by silicon.nocdirect.com with esmtp (Exim 3.36 #1) id 18ZJtc-0000gQ-00; Thu, 16 Jan 2003 17:58:04 -0600 Reply-To: From: "Paul A. Howes" To: "'FreeBSD-Stable'" Cc: "'Stijn Hoop'" Subject: RE: Problem in /etc/make.conf Date: Thu, 16 Jan 2003 18:59:14 -0500 Organization: Fairware Message-ID: <00c601c2bdbb$46698650$0200a8c0@howesnet> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <20030113124347.GL20203@pcwin002.win.tue.nl> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > 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