From owner-freebsd-stable@FreeBSD.ORG Fri May 26 17:24:03 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C60D116A54B; Fri, 26 May 2006 17:24:03 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24A8743D48; Fri, 26 May 2006 17:24:03 +0000 (GMT) (envelope-from tim@kientzle.com) Received: from [10.0.0.221] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id k4QHO0OZ083789; Fri, 26 May 2006 10:24:01 -0700 (PDT) (envelope-from tim@kientzle.com) Message-ID: <447739B0.2060806@kientzle.com> Date: Fri, 26 May 2006 10:24:00 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Patrick M. Hausen" References: <200605251845.k4PIjdx7070553@freefall.freebsd.org> <4476457A.5050800@alumni.rice.edu> <200605260837.k4Q8btpl031485@freefall.freebsd.org> <4476C99C.50200@alumni.rice.edu> <20060526093443.GC94280@hugo10.ka.punkt.de> In-Reply-To: <20060526093443.GC94280@hugo10.ka.punkt.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Tim Kientzle , freebsd-stable@freebsd.org Subject: Re: (bsd)tar is broken on 6.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2006 17:24:04 -0000 Patrick M. Hausen wrote: >>>I have narrowed the problem to a specific subdirectory and I think I >>>have the explanation: >>> >>>-rw-r--r-- 1 jmz jmz 4312 Apr 16 1947 supclkrd.prg Yes, libarchive in 6.1 has a broken assertion in the tar-writing code that causes it to (erroneously) reject files with very old dates. This is fixed in -CURRENT; I plan to MFC a bunch of fixes like this to 6-STABLE very soon. In the meantime, you can fix this by installing the most current libarchive from: http://people.freebsd.org/~kientzle/libarchive Or you can temporarily patch it by looking in src/lib/libarchive/archive_write_format_pax.c and changing the second call to __archive_write_format_header_ustar() so that the last argument is 0, not 1. (The 1 here enables the above-mentioned assertion checks.) Tim