From owner-freebsd-questions@FreeBSD.ORG Wed Oct 23 03:07:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CBCB4E4B for ; Wed, 23 Oct 2013 03:07:39 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) 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 964B02BD2 for ; Wed, 23 Oct 2013 03:07:38 +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 r9N37UO1016810 for ; Tue, 22 Oct 2013 21:07:30 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <52673D72.9080606@dreamchaser.org> Date: Tue, 22 Oct 2013 21:07:30 -0600 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: FreeBSD Mailing List Subject: headers in /usr/include are 9.1 but /usr/src/sys are 9.0 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]); Tue, 22 Oct 2013 21:07:31 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 23 Oct 2013 03:07:39 -0000 Using the generic kernel. Some time ago I upgraded from 9.0 to 9.1 using freebsd-update. originally, under 9.0, I had lsof installed (from ports). Some time after all that I tried to reinstall sysutils/lsof and couldn't. I wasn't desperate and ignored it... Looking into it further, the problem appears to be the result of /usr/src/sys/sys/ containing 9.0.0 versions, and /usr/include/sys/ containing 9.1.0 versions. I didn't think I had system source installed, but apparently I did. I have vague recollections of telling the upgrade process not to upgrade the source because I didn't think I had it installed; but maybe it doesn't even ask. I'm not really familiar with the process and it was a while back. Anyhow... 1. Is /usr/src/sys/sys always present? 2. Do ports normally use headers from /usr/src/sys/sys instead of /usr/include/sys if /usr/src/sys/sys is present? 3. What's the best way to fix this? freebsd-update fetch? Gary