From owner-svn-src-head@FreeBSD.ORG Fri Apr 10 17:32:50 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2E7F29B7; Fri, 10 Apr 2015 17:32:50 +0000 (UTC) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE4E29C7; Fri, 10 Apr 2015 17:32:49 +0000 (UTC) Received: by oblw8 with SMTP id w8so25936991obl.0; Fri, 10 Apr 2015 10:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=TggeRd9D+OMoS3qj6JR2NLFbJaEYMOWB3b5CD99sRZ0=; b=uGi56msL586wgCbC7I9Fx8nLuoxHj9zd/ySoFesRGZvo4HRgPYTOfpamAsBAlWT/wS rpOg0jxfl04/pFJP442XKFX168c4RkY+NfqDm6tZUUk+twVZxVAfBMueYdnugRpgZxBQ uxjlDTflMoWdKAUImScc/uyoc/NqvWXdUDpf6bw22jWkSWmDm9wWZ/uDFpWAT+nmMnwE j7v4YmL4kQDRxmT3KW42Mr7hlJ0dxOxCYi9nu8+yDa5XkFA+3m3qOCIzh8ZwW0DWkoVo 6hSfRg9s7TgPgCKSGl8Vb2/UoiURTqll/Lpwuq1m1UeRMwX37S7Rx31vRbwDM+jO4hcS JBoQ== X-Received: by 10.183.24.168 with SMTP id ij8mr3376992obd.15.1428687169154; Fri, 10 Apr 2015 10:32:49 -0700 (PDT) MIME-Version: 1.0 Sender: rionda@gmail.com Received: by 10.182.180.110 with HTTP; Fri, 10 Apr 2015 10:32:28 -0700 (PDT) In-Reply-To: <55280906.4040503@delphij.net> References: <201504091803.t39I3R4Y042146@svn.freebsd.org> <552803B6.4000005@FreeBSD.org> <55280780.1040104@delphij.net> <55280906.4040503@delphij.net> From: Matteo Riondato Date: Fri, 10 Apr 2015 13:32:28 -0400 X-Google-Sender-Auth: f9VvFRrRBvGYYStxMniOzi9XkNg Message-ID: Subject: Re: svn commit: r281316 - in head: contrib/xz contrib/xz/src/common contrib/xz/src/liblzma/api/lzma contrib/xz/src/liblzma/common contrib/xz/src/liblzma/lz contrib/xz/src/liblzma/lzma contrib/xz/src/xz... To: d@delphij.net Content-Type: text/plain; charset=UTF-8 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Xin LI , Jung-uk Kim X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 17:32:50 -0000 Yep, I confirm that it works. Thanks again. On Fri, Apr 10, 2015 at 1:31 PM, Xin Li wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > On 04/10/15 10:26, Matteo Riondato wrote: >> Thanks. Let me know if I can test any patch. > > r281372 (I have already tested it with some test cases already so > expect it work for you). > >> Best, Matteo >> >> On Fri, Apr 10, 2015 at 1:25 PM, Xin Li >> wrote: On 04/10/15 10:09, Jung-uk Kim wrote: >>>>> On 04/10/2015 12:05, Matteo Riondato wrote: >>>>>> Could this update be causing this error when trying to >>>>>> upgrade the installed packages using "pkg upgrade" ? >>>>> >>>>>> [1/27] Extracting glib-2.42.2: 99% pkg: >>>>>> archive_read_extract(): Lzma library error: Corrupted input >>>>>> data [1/27] Extracting glib-2.42.2: 100% [1/27] Deleting >>>>>> files for glib-2.42.2: 100% >>>>> >>>>>> ? I tried removing the fetched archives from /var/cache/pkg >>>>>> and having pkg fetch them again, so that doesn't seem to be >>>>>> the issue. >>>>> >>>>> Actually libarchive(3) seems broken. >>>>> >>>>> # tar tf tar-1.28.tar.xz > /dev/null || echo FAILURE! tar: >>>>> Truncated input file (needed 976896 bytes, only 0 available) >>>>> tar: Error exit delayed from previous errors. FAILURE! >>>>> >>>>> The same file is fine with GNU tar. >> >> I have see this too. >> >> It seems like the libmd implementation of SHA256 is doing >> something differently than the bundled one and libarchive(3) is >> expecting a different behavior (not 100% sure yet, still figuring >> it out). >> >> The strange part is that xz's 'make check' passed just fine and >> the same archive processed by xz(1) as expected, so yes it's >> possible that we hit a libarchive bug. >> >> As a precaution I have reverted the SHA256 portion of the change >> and the library should work fine with libarchive now. >> >> Cheers, > > - -- > Xin LI https://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.1.2 (FreeBSD) > > iQIcBAEBCgAGBQJVKAkGAAoJEJW2GBstM+nsI9IQAIDlY00SxHVh854CzwN/bXct > gEnXuc2jzsfCwoLUKrczGWYbn6yEZ+GGzq/K1THVbFw6SfVTByQtR6ExWTs4PY1L > 6VkwB4ncDZRlUoiTGjphHz41I3kRyIQalArpS84U+C913JzFlX0JfmFon9hv2KKX > 1LzMXaiNvc6WEJ/WVr0Nq3k/5WZEYZCfI/do6KUG4Hal8EL+cXKiWRMCVKOFewEK > pwWeAyiTw6pya+uFy3VPPByHUh2jb2OqAFQ1ASwIx/rry6pmZ9XUj3nmaKsjWB9H > MrCrgOQPgQF/XSFSrxdmT9zduOGiT8W9HNxLRZUffRLlrXOofl8pYdHdZTzdv10s > HmTWAKsjjueeiUn5Vh6sNEh6958GBpou2Tg+ZuOveEt+p55P2aQgl8fWAhZapxZr > SVvX4nlgG6ZHvEKTi43Kl8TIGCxvOtd884U8KjRrnQgKICId7OfglLNlOfdJsEzA > a5NX7v5vHBb5oa5A9VO7piH5ZEF7GDOdgvODJMlIhIYWc9hcuyVepwJctX4GAdOI > ZvYFaBmSayKq/0zl3DXyUfaH7kRjOURwI6fVwtKvI4ZHO+TE//8gyRVd20YRiNEH > YFS5HV20gR1JXFOhkXB1syIu3JlcLrksjeZLAzc9VoGlOzq/hXxSikBxh5ZZHQYL > xJGCQkLAH1kZVCPsFFQX > =C4ZD > -----END PGP SIGNATURE-----