From owner-freebsd-questions@FreeBSD.ORG Sat Nov 14 20:18:38 2009 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 4EC1F1065698 for ; Sat, 14 Nov 2009 20:18:38 +0000 (UTC) (envelope-from christopher-ml@telting.org) Received: from smtpauth16.prod.mesa1.secureserver.net (smtpauth16.prod.mesa1.secureserver.net [64.202.165.22]) by mx1.freebsd.org (Postfix) with SMTP id 2BE9F8FC15 for ; Sat, 14 Nov 2009 20:18:38 +0000 (UTC) Received: (qmail 14231 invoked from network); 14 Nov 2009 20:18:37 -0000 Received: from unknown (76.169.198.42) by smtpauth16.prod.mesa1.secureserver.net (64.202.165.22) with ESMTP; 14 Nov 2009 20:18:37 -0000 Message-ID: <4AFF109C.3000505@telting.org> Date: Sat, 14 Nov 2009 12:18:36 -0800 From: Chris User-Agent: Thunderbird 2.0.0.23 (X11/20091108) MIME-Version: 1.0 To: Matthias Apitz References: <4AFED1F5.9040107@telting.org> <20091114162658.GA4511@current.Sisis.de> In-Reply-To: <20091114162658.GA4511@current.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Produce identical packages for checksum comparison? 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: Sat, 14 Nov 2009 20:18:38 -0000 Matthias Apitz wrote: > El día Saturday, November 14, 2009 a las 07:51:17AM -0800, Chris escribió: > > >> I have a somewhat flaky system. I would like to compile ports to >> packages multiple times and do a file comparison. ... >> > > Hi Chris, > > What is behind the idea to compile and pack a given port twice if there > are no errors during the build? > > matthias > > While I don't think there will be differences I won't know until I do it. Call it reassurance. To me it seems like a good stress test. Also every time I update my ports tree I don't know what is going to break. I have a jail running all the time to recompile my ports as they are updated. I maintain between three to five different different ports/packages branches of different checkout dates. The system is somewhat flaky and crashes sometimes. I play with a lot of stuff and am actually using Freebsd as my desktop. I am sure that most of my crashing is due to multiple jails and using nullfs and unionfs but that isn't relevent to my current post. I'm also thinking of building a simple checksum database to track what actually changes and what my options were when I compiled it. It would allow me to better make regression decisions. I could also be free to delete packages and know if I recompile it later that it was the exact same package with the exact same options. Very simple script to do that. Also if say there was an option when compiling ports to produce files with specific time/dates it would be helpful in pinpointing which of my port branches a specific file came from. Chris