From owner-freebsd-questions@FreeBSD.ORG Thu Jan 2 03:41:50 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D4CA72D for ; Thu, 2 Jan 2014 03:41:50 +0000 (UTC) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BEA051FEE for ; Thu, 2 Jan 2014 03:41:49 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id s023faUj006460; Wed, 1 Jan 2014 20:41:36 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <52C4DFF0.2030108@dreamchaser.org> Date: Wed, 01 Jan 2014 20:41:36 -0700 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: Erich Dollansky Subject: Re: updating /sys/sys References: <52C37801.8010001@dreamchaser.org> <20140101114745.3a3e37fb@X220.alogt.com> <52C3CC18.30407@dreamchaser.org> <20140101184142.5f11b3f6@X220.alogt.com> <52C4530F.3070405@dreamchaser.org> <20140102074837.564f662f@X220.alogt.com> In-Reply-To: <20140102074837.564f662f@X220.alogt.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Wed, 01 Jan 2014 20:41:36 -0700 (MST) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 03:41:50 -0000 On 01/01/14 16:48, Erich Dollansky wrote: >> Unfortunately, it is not possible to rerun freebsd-update on the same >> version to correct a problem such as this. >> >> I am not sure whether /usr/src/sys is considered part of the "world" >> or "kernel" components or not; if it is not, then the above would >> explain the behavior. If it is considered part of "world" or >> "kernel", then it would not explain it. > > You need the header files - which are included there - to compile any > piece of software. This could be the reason why they are there. I understand that! > I am a bit confused about how you update and why. If you compile your > own kernel, just use svn to keep the sources current. If you do not > compile your own kernel, just ignore there things as they will not > affect you. I don't compile my own kernel on this system. However, I can't "just ignore these things". The header files are needed, as you point out, to compile anything. As I described earlier, the header files did in fact change with the dot releases of release 9, and in a manner such that some of the ports would not compile if the header files were not also updated. In particular, sysutils/lsof. So the header files have to be updated with each dot release update. Since the header files were not updated by my "freebsd-update -r 9.2-RELEASE upgrade" command, I had to update them separately. I *suspect* that problem could have been avoided if my /etc/freebsd-update.conf had "StrictComponents yes" set. If freebsd-update allowed updating the current install to itself, I could have changed the StrictComponents flag and rerun it, but freebsd-update does not allow that. So one is left with having to update the source in some other way, such as the one I used. In any case, the system is now consistent and I've changed the StrictComponents flag so it should, I hope, update properly in the future. Gary