From owner-freebsd-questions Thu Aug 3 19:25:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb1-a.mail.utexas.edu [128.83.126.134]) by hub.freebsd.org (Postfix) with SMTP id 294AC37B9C3 for ; Thu, 3 Aug 2000 19:25:23 -0700 (PDT) (envelope-from oscars@mail.utexas.edu) Received: (qmail 20049 invoked by uid 0); 4 Aug 2000 02:25:16 -0000 Received: from dhcp-199-210.dsl.utexas.edu (HELO osilva-home.mail.utexas.edu) (128.83.199.210) by umbs-smtp-1 with SMTP; 4 Aug 2000 02:25:16 -0000 Message-Id: <4.3.2.7.2.20000803211747.00bb92c0@mail.utexas.edu> X-Sender: oscars@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 03 Aug 2000 21:26:54 -0500 To: fosburgh@flash.net From: Oscar Ricardo Silva Subject: Re: kernel build instructions in /usr/src/UPDATING Cc: freebsd-questions@freebsd.org In-Reply-To: References: <4.3.2.7.2.20000803174103.00b15e40@mail.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 06:53 PM 8/3/00 -0500, Jonathan E Fosburgh, you wrote: > > > > > Anyway, I then attempted to run 'make installworld' but got the same error > > as before: > > > > vm/vm_pager.h -> vm/vm_pager.ph > > vm/vm_param.h -> vm/vm_param.ph > > vm/vm_zone.h -> vm/vm_zone.ph > > vm/vnode_pager.h -> vm/vnode_pager.ph > > *** Error code 1 > > >Go search the archives, I reported this when upgrading 3.x->4.0. >Jonathan Fosburgh I had found your message and tried what you suggested. You said to run "make -k" but from what I've seen this builds the system and when it runs into an error during the build it doesn't stop, but it also doesn't build the portions of the system dependant on the portion that caused the error. Wouldn't that leave me with an incomplete build? I saw that Kris Kenneway had responded saying this was a bug and the solution was to try one of the two following methods: 1. make buildworld 2. make includes 3. make installworld 1. make buildworld 2. make -k installworld 3. make installworld I've tried both ways and I still get the errors about vm/vnode_pager.h Here is your original message along with Kris' reply: ********** > I have tried posting this about three times from my computer at home, > but it never seems to go through. Unfortunately, I do not currently > have access to the log of this, but if this makes it through this time > I will attempt to make it available if anyone requests it. This > problem occurred both when upgrading 3.4-S to 4.0-R and again 4.0-R to > 4.0-S. When perl is installing, it dies with Error code 1 when running > h2ph (I believe that is what it is doing) on vm/vnode_pager.h. This > file exists both under /include and under /src/sys and I can run h2ph > on the one under /src/sys manually (haven't tried the other.) > running make -k is a workaround, but I would like to know if anyone > has an idea what the problem might be. make includes before make installworld, or make -k installworld followed by make installworld, fixes this particular bug (i.e. it won't be necessary again barring future bugs). The problem is that libdes was reabsorbed into libcrypto in 4.0, and the des.h include file replaced by a symlink to openssl/des.h. The problem is that in certain cases perl is run over the headers after the symlink has been created, but before the target file has been installed, so perl follows the symlink into the void and dies. This is (not surprisingly) a bug in the make world process since some of the .ph headers will be out of sync with the .h headers. Now that you've reminded me I'll try and get it fixed so it doesn't affect others in the future. Kris ********** Oscar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message