[Bug 277881] cat/opencascade: Fetched file size mismatch (expected 48428333, actual 48428565)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Mar 2024 08:50:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277881

            Bug ID: 277881
           Summary: cat/opencascade: Fetched file size mismatch (expected
                    48428333, actual 48428565)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: root@dc365.ru

13.2-STABLE live system using ports

# make

Warning: to build OpenCascade, you should have at least
2.6 Gb of free disk space in build area!

===>  License OCTPL accepted by the user
===>   opencascade-7.8.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by opencascade-7.8.0 for building
===>  Extracting for opencascade-7.8.0
=> SHA256 Checksum mismatch for Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz.
===>  Refetch for 1 more times files:  Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz 

Warning: to build OpenCascade, you should have at least
2.6 Gb of free disk space in build area!

===>  License OCTPL accepted by the user
===>   opencascade-7.8.0 depends on file: /usr/local/sbin/pkg - found
=> Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch
https://codeload.github.com/Open-Cascade-SAS/OCCT/tar.gz/V7_8_0?dummy=/Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz
fetch:
https://codeload.github.com/Open-Cascade-SAS/OCCT/tar.gz/V7_8_0?dummy=/Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz:
size unknown
fetch:
https://codeload.github.com/Open-Cascade-SAS/OCCT/tar.gz/V7_8_0?dummy=/Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz:
size of remote file is not known
Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz                 46 MB  648 kBps 01m13s
=> Fetched file size mismatch (expected 48428333, actual 48428565)
=> Trying next site
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz
fetch:
http://distcache.FreeBSD.org/ports-distfiles/Open-Cascade-SAS-OCCT-V7_8_0_GH0.tar.gz:
Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/cad/opencascade
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/cad/opencascade
*** Error code 1

Stop.
make: stopped in /usr/ports/cad/opencascade

I downloaded the snapshot from
https://git.dev.opencascade.org/gitweb/?p=occt.git;a=commit;h=656b0d217fcc3f6611dfabc0206bd2d967ed5265
to check the file size. The size is different from the same snapshot from
GitHub and from the size in distinfo

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