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
*** This bug has been marked as a duplicate of bug 277874 ***
(In reply to Thierry Thomas from comment #1) Not fixed. I updated the ports to HEAD and get the error again
Thanks for,the notification! It seems that they reworked the tarball to integrate several patches without bumping revision. I shall fix it ASAP.
(In reply to Thierry Thomas from comment #3) > It seems that they reworked the tarball to integrate several patches without bumping revision. Ye, patched not apply: ===> Applying FreeBSD patches for opencascade-7.8.0 from /usr/ports/cad/opencascade/files Ignoring previously applied (or reversed) patch. 1 out of 1 hunks ignored--saving rejects to adm/UDLIST.rej ===> FAILED Applying FreeBSD patch-adm_UDLIST ===> Cleanly applied FreeBSD patch(es) patch-CMakeLists.txt ===> FAILED to apply cleanly FreeBSD patch(es) patch-adm_UDLIST *** Error code 1
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bbb76dace979e046a3ac1cbcf1ed51595f6d2aea commit bbb76dace979e046a3ac1cbcf1ed51595f6d2aea Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2024-03-22 11:21:35 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2024-03-22 11:21:35 +0000 cad/opencascade: the initial tarball has been reworked Upstream reworked the tarball to integrate several patches without bumping revision. PR: 277881 Reported by: Sergey Kiselev cad/opencascade/Makefile | 2 ++ cad/opencascade/distinfo | 10 +++--- cad/opencascade/files/patch-adm_UDLIST (gone) | 10 ------ ...-src_Message_Message__AttributeMeter.cxx (gone) | 10 ------ ...-src_NCollection_NCollection__Array1.hxx (gone) | 39 ---------------------- ...Collection_NCollection__DynamicArray.hxx (gone) | 29 ---------------- ...rc_NCollection_NCollection__Iterator.hxx (gone) | 19 ----------- 7 files changed, 7 insertions(+), 112 deletions(-)
Should be fixed, thanks!