From owner-freebsd-ports@FreeBSD.ORG Mon Aug 3 05:21:52 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1948E106566C for ; Mon, 3 Aug 2009 05:21:52 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-vw0-f180.google.com (mail-vw0-f180.google.com [209.85.212.180]) by mx1.freebsd.org (Postfix) with ESMTP id B83CE8FC08 for ; Mon, 3 Aug 2009 05:21:51 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by vws10 with SMTP id 10so1309499vws.7 for ; Sun, 02 Aug 2009 22:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wDizuD/Unl81N6lnMsctN7r5CWFed7MOzHizduLKIJA=; b=Z+V3REZlaVfuRCGP7MKVyTuNJNJp69Ll1v/hKCRZmvUngDBXGRfGBdZDjBPFbMcSRu PnGrzWBmZownW+p2NVKnmLmamr86fb7DZ+Wc40xBJnWnN4vMXFtk3Y16PgnT3obRZKWG NQHyNvrBJ5SEJsMLI7W93CT8obyWvOv+0MVkY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ABMguZ+dZ+/n/xnqRIcVR+/GWk7RcDxNxu4CQFZ4uknT2RYiiGGwSvtw79h2aEPFn7 Tiq6av0zVW378/LpETLfkhqPUkQTUfmuBNSWl9saYbRwA9BrwTeTGICDra8FV380qaG3 35f7ZwDDeOfF0Q0wQIfk5pw1vFfYuxhUM89U4= MIME-Version: 1.0 Received: by 10.220.75.148 with SMTP id y20mr4231216vcj.100.1249275003870; Sun, 02 Aug 2009 21:50:03 -0700 (PDT) In-Reply-To: <9EC698AF-15E1-4B95-A7BB-B0E4B7063B25@optusnet.com.au> References: <9EC698AF-15E1-4B95-A7BB-B0E4B7063B25@optusnet.com.au> Date: Mon, 3 Aug 2009 00:50:03 -0400 Message-ID: From: "illoai@gmail.com" To: Tom Mende Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: freebsd-update & userland sources X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2009 05:21:56 -0000 2009/8/2 Tom Mende : > Is there a way to get freebsd-update to keep userland sources up to date? > > I had thought that having src, world and kernel as components in the > freebsd-update.conf file would do this but it doesn't seem to. Do I just = add > usr.bin and usr.sbin to the components list in the conf file and run > freebsd-update or is it more complex than this? I have read the man pages= on > this but there must be a gap between my english and how the man pages are > written because I'm obviously missing the point somewhere. > > By way of background, I am trying not to use csup / cvsup and like proces= ses > as their past, admittedly incorrect, usage by me, combined with my > incompetent salvage operations, has hosed my systems to the point of need= ing > to be reinstalled from scratch. I have been using a combination of portsn= ap > and freebsd-update to keep my 7.2-RELEASE system up to date and commenced > this at about 6.3-RELEASE and have managed to not hose the system since t= hat > time. It now however appears I need to have userland sources to keep > fusefs-kmod up to date. > > /usr/ports/sysutils/fusefs-kmod>make install clean > =3D=3D=3D> =A0fusefs-kmod-0.3.9.p1.20080208_6 requires the userland sourc= es to be > installed. Set SRC_BASE if it is not in /usr/src. > *** Error code 1 > > Stop in /usr/ports/sysutils/fusefs-kmod. > > > .if !exists(${SRC_BASE}/sbin/mount) > IGNORE=3D =A0 =A0 =A0 =A0 requires the userland sources to be installed. = Set SRC_BASE > if it is not in /usr/src > .endif > > > I have got around this by manually downloading the > fusefs-kmod-0.3.9.p1.20080208_6.tbz, pkg_adding it, and then forcing the > packages that have this pkg as a dependency to portupgrade with the -f > option. Now portupgrade hits this pkg warning message (IGNORE msg) everyt= ime > it runs. > It sounds like you could solve this by merely downloading and untarring the sources. Or untarring the sources from your CD, if you have one. Download everything in http://mirror.pacific.net.au/FreeBSD/releases/i386/7.2-RELEASE/src/ into a directory and issue ./install.sh all This should work fine, even if you are running some other architecture as the sources are the same. --=20 --