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 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"