[Bug 257731] www/threejs: Fetch fails with file size mismatch

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Aug 2021 09:00:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257731

            Bug ID: 257731
           Summary: www/threejs: Fetch fails with file size mismatch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: thierry@FreeBSD.org
          Reporter: yasu@utahime.org
             Flags: maintainer-feedback?(thierry@FreeBSD.org)
          Assignee: thierry@FreeBSD.org

Fetch of this port fails with file size mismatch as following.

----------------------------------------------------------------------
yasu@rolling-vm-freebsd2[1165]% pwd
/usr/ports/www/threejs
yasu@rolling-vm-freebsd2[1166]% make fetch
===>  License MIT accepted by the user
===>   three.js-131 depends on file: /usr/local/sbin/pkg - found
=> mrdoob-three.js-r131_GH0.tar.gz doesn't seem to exist in
/net/freebsd/ports/distfiles/.
=> Attempting to fetch
https://codeload.github.com/mrdoob/three.js/tar.gz/r131?dummy=/mrdoob-three.js-r131_GH0.tar.gz
fetch:
https://codeload.github.com/mrdoob/three.js/tar.gz/r131?dummy=/mrdoob-three.js-r131_GH0.tar.gz:
size unknown
fetch:
https://codeload.github.com/mrdoob/three.js/tar.gz/r131?dummy=/mrdoob-three.js-r131_GH0.tar.gz:
size of remote file is not known
mrdoob-three.js-r131_GH0.tar.gz                        265 MB 1728 kBps 02m37s
=> Fetched file size mismatch (expected 278799424, actual 278804443)
=> Trying next site
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/mrdoob-three.js-r131_GH0.tar.gz
fetch:
http://distcache.FreeBSD.org/ports-distfiles/mrdoob-three.js-r131_GH0.tar.gz:
Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /net/freebsd/ports/distfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/threejs
yasu@rolling-vm-freebsd2[1167]% 
----------------------------------------------------------------------

According to the commit log of ports tree, this port was updated to r131 on Jun
30th.

----------------------------------------------------------------------
yasu@rolling-vm-freebsd2[1172]% git log -n 1 --date=default -- www/threejs/    
                            /usr/ports
commit 21c583814d9e
Author: Thierry Thomas <thierry@FreeBSD.org>
Date:   Fri Jul 30 18:23:17 2021 +0200

    www/threejs: upgrade to r131

    Release notes at <https://github.com/mrdoob/three.js/releases/tag/r131>.
yasu@rolling-vm-freebsd2[1173]%
----------------------------------------------------------------------

But on upstream repository tag 'r131' currently points to the commit on August
5th.

https://github.com/mrdoob/three.js/commits/r131

So it seems the tag is changed after this port is updated to r131.

-- 
You are receiving this mail because:
You are the assignee for the bug.