From owner-freebsd-questions@FreeBSD.ORG Mon Oct 3 09:21:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89D1B1065672 for ; Mon, 3 Oct 2011 09:21:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 19AFE8FC1A for ; Mon, 3 Oct 2011 09:21:03 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RAehj-0006Yf-Mp for freebsd-questions@freebsd.org; Mon, 03 Oct 2011 11:20:55 +0200 Received: from pool-173-79-99-96.washdc.fios.verizon.net ([173.79.99.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Oct 2011 11:20:55 +0200 Received: from nightrecon by pool-173-79-99-96.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Oct 2011 11:20:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Mon, 03 Oct 2011 05:28:57 -0400 Lines: 52 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-99-96.washdc.fios.verizon.net Subject: Re: updating 8.1 release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2011 09:21:04 -0000 wayne mitchell wrote: > hey > just tried to update a system using 'csup' > current system is: 8.1 RELEASE on a amd machine (amd64 GENERIC kernel) > tried downloading the CURRENT branch ( tag=. ) > when running "make buildworld" > get an exit with error at /usr/lib/libmagic > system gives various warnings about unknown file types and incorrect > variable bounds > then exits with error 1 - 'cannot find any magic files' > > tried this again with ( tag=RELENG_8 ) - exact same problem > tried this again with ( tag=RELENG_8.2 ) - exact same problem > > also tried "make buildworld" in multi-user -and- single-user > > where should i expect to find any magic files on the system tree ? > thanks I wouldn't worry about this. Be better to find out what is wrong. It is unclear exactly what you are trying to achieve, so I'll try some crystal- ball gazing. Going from 8.1 to HEAD might actually be broken at any one given point in time. Not always, but the possibility exists. If you are dead set on this, read the -CURRENT list for hints on breakage. If you are trying to set up a server for use in some form of stable environment I would suggest not using -CURRENT, but rather consider the security branch of either 8.1-RELEASE or 8.2-RELEASE. The csup tags are RELENG_8_1 and RELENG_8_2 respectively. Example supfile: *default host=cvsup.nl.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_8_2 *default delete use-rel-suffix compress src-all Then cd to /usr/obj and do rm -rf *. This will remove leftovers of previous failed build attempts. Once this is cleaned up and you have the correct source (such as 8.2-RELEASE security branch), then just cd /usr/src and kick off the dance with a make buildworld. I just updated 9 machines from 8.2 to the 8.2 security branch and experienced zero trouble. I can't speak to whether -CURRENT will build, as my boxen are for production use and not for development work. If you continue to have a problem trying to update to RELENG_8_2 you are doing something wrong. -Mike