Date: Sat, 2 Aug 2014 09:04:34 +0200 (CEST) From: Melvyn Sopacua <melvyn@magemana.nl> To: Adam McDougall <mcdouga9@egr.msu.edu> Cc: freebsd-ports@freebsd.org Subject: Re: more problems after last upgrade(s) pkg Message-ID: <alpine.BSF.2.00.1408020858210.75107@fire.magemana.nl> In-Reply-To: <53DBEFC3.2010300@egr.msu.edu> References: <53DB95AB.8070701@lissyara.su> <53DBEFC3.2010300@egr.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Adam, On Fri, 1 Aug 2014, Adam McDougall wrote: > -rw-r--r-- 1 mcdouga9 wheel 2923996 Aug 1 12:36 rt-3.8.17_1.txz > > I deleted it in poudriere, updated my ports tree to include pkg 1.3.4, > let poudriere compile both of those but I still have the issue. > > # pkg rquery %sb rt-3.8.17_1 > 20164010 While there certainly is a bug here (I'm bitten by it too), this is always a false comparison. %sb requests the flat size, which is the size after installation. The package size (which is what fetch is reporting) cannot be queried at the moment. I've added some extra debugging in the release-1.3 branch and am looking to reproduce it now. index 6555512..e2aa789 100644 --- a/libpkg/repo/binary/fetch.c +++ b/libpkg/repo/binary/fetch.c @@ -221,8 +221,8 @@ checksum: unlink(dest); pkg_emit_error("cached package %s-%s: " - "size mismatch, fetching from remote", - name, version); + "size mismatch (%li != %li), fetching from remote", + name, version, pkgsize, st.st_size); return (pkg_repo_binary_try_fetch(repo, pkg, true, mirror, destdir)); } retcode = sha256_file(dest, cksum); -- Melvyn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1408020858210.75107>