Date: Fri, 12 Oct 2007 07:15:36 +1000 From: John Marshall <John.Marshall@riverwillow.com.au> To: Doug Barton <dougb@FreeBSD.org> Cc: "freebsd-ports@freebsd.org" <freebsd-ports@FreeBSD.org> Subject: Re: portmaster 1.21 - "cannot create" messages Message-ID: <470E9278.3080602@riverwillow.com.au> In-Reply-To: <alpine.BSF.0.9999.0710110938210.12203@qbhto.arg> References: <470DF473.1050603@riverwillow.com.au> <alpine.BSF.0.9999.0710110938210.12203@qbhto.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > Ok, I think I found the problem, please try the attached patch. > > Doug > The patch was obviously against a later "dev" version of portmaster, so part of it didn't stick... ----------------------------------- ozsrv01# head -n 4 /usr/local/sbin/portmaster #!/bin/sh # Local version: 1.187 # $FreeBSD: ports/ports-mgmt/portmaster/files/portmaster.sh.in,v 1.21 2007/10/02 04:49:46 dougb Exp $ ----------------------------------- ozsrv01# patch /usr/local/sbin/portmaster pm-cannot-message.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- portmaster 2007/10/07 07:00:12 1.189 |+++ portmaster 2007/10/11 16:26:03 -------------------------- Patching file /usr/local/sbin/portmaster using Plan A... Hunk #1 failed at 1106. Hunk #2 succeeded at 1834 (offset -17 lines). 1 out of 2 hunks failed--saving rejects to /usr/local/sbin/portmaster.rej done ----------------------------------- ...but the second "Hunk" of the patch has made a difference: BEFORE PATCH... ----------------------------------- ozsrv01# portmaster -D zoneinfo-2007.g :: ===>>> Upgrade for zoneinfo-2007.g to zoneinfo-2007.h succeeded /usr/local/sbin/portmaster: cannot create : No such file or directory ===>>> pkg-message for zoneinfo-2007.h ----------------------------------- AFTER PATCH... ----------------------------------- ozsrv01# portmaster -CD apache-2.2.6 :: ===>>> Upgrade for apache-2.2.6 to apache-2.2.6_2 succeeded ===>>> pkg-message for apache-2.2.6_2 ----------------------------------- Thank you. -- John Marshall
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?470E9278.3080602>