From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 00:20:26 2007 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 8585616A420 for ; Wed, 12 Sep 2007 00:20:26 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 72D1D13C442 for ; Wed, 12 Sep 2007 00:20:25 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from epia-2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 02029DFFEB; Wed, 12 Sep 2007 02:22:03 +0200 (CEST) Date: Wed, 12 Sep 2007 02:23:52 +0200 From: cpghost To: Kris Kennaway Message-ID: <20070912022352.77090199@epia-2.farid-hajji.net> In-Reply-To: <46E72690.8020707@FreeBSD.org> References: <46E72690.8020707@FreeBSD.org> Organization: Cordula's Web X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gabriel Dragffy , freebsd-questions@freebsd.org Subject: Re: Hunks failed, is this bad? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 00:20:26 -0000 On Wed, 12 Sep 2007 01:36:48 +0200 Kris Kennaway wrote: > Gabriel Dragffy wrote: > > Hi all > > > > I hope you can help me. > > > > I have a clean install of freebsd. I changed to /usr and made ports > > directory. Then I ran portsnap fetch and then extract. Then I > > changed to ports-mngmt/portmanager and did make install clean. > > > > When I try to install any port using either 'make install clean' or > > 'portmanager www/lighttpd' (for example) I see hunks failed in > > stdout. As an exaple I saw one of these flas by when installing > > lighttpd: > > > > |--- /usr/ports/Mk/bsd.port.mk Tue Nov 8 01:02:51 2005 > > |+++ bsd.port.mk Wed Nov 16 02:16:57 2005 > > -------------------------- > > Patching file bsd.port.mk using Plan A... > > Hunk #1 failed at 2049. > > 1 out of 1 hunks failed--s > > > > As far as I can tell I see similar errors no matter what port I try > > to install. Is this a problem? > > Yes, and it doesn't make much sense either. Nothing should be > patching bsd.port.mk on the fly, and the date of 2005 is also > suspicious. IIRC, it's portmanager that patches bsd.port.mk on the fly (and backs the change out when it is done). Or it did so a while ago; I don't know if it still does today. Try to update portmanager, or use something else like portmaster or portupgrade, if updating portmanager didn't work. > Kris cpghost. -- Cordula's Web. http://www.cordula.ws/