Created attachment 222993 [details] update diff Simple update to 3.1.3
A commit references this bug: Author: mr Date: Sat Mar 13 11:54:40 UTC 2021 New revision: 568247 URL: https://svnweb.freebsd.org/changeset/ports/568247 Log: Update to version 3.1.3 PR: 254029 Submitted by: madpilot@ Changes: head/deskutils/nextcloudclient/Makefile head/deskutils/nextcloudclient/distinfo
This fails to fetch due to size mismatch: [00:00:13] =======================<phase: fetch >============================ [00:00:13] ===> License GPLv2 accepted by the user [00:00:13] ===> nextcloudclient-3.1.3 depends on file: /usr/local/sbin/pkg - found [00:00:13] => nextcloud-desktop-v3.1.3_GH0.tar.gz doesn't seem to exist in /portdistfiles/. [00:00:13] => Attempting to fetch https://codeload.github.com/nextcloud/desktop/tar.gz/v3.1.3?dummy=/nextcloud-desktop-v3 .1.3_GH0.tar.gz [00:00:13] fetch: https://codeload.github.com/nextcloud/desktop/tar.gz/v3.1.3?dummy=/nextcloud-desktop-v3.1.3_GH0.tar.gz: size unknown [00:00:13] fetch: https://codeload.github.com/nextcloud/desktop/tar.gz/v3.1.3?dummy=/nextcloud-desktop-v3.1.3_GH0.tar.gz: size of remote file is not known [00:00:13] nextcloud-desktop-v3.1.3_GH0.tar.gz 18 MB 9186 kBps 03s [00:00:15] => Fetched file size mismatch (expected 19491747, actual 19552683) [00:00:15] => Trying next site [00:00:15] => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/nextcloud-desktop-v3.1.3_GH0.tar.gz [00:00:16] fetch: http://distcache.FreeBSD.org/ports-distfiles/nextcloud-desktop-v3.1.3_GH0.tar.gz: Not Found [00:00:16] => Couldn't fetch it - please try to retrieve this [00:00:16] => port manually into /portdistfiles/ and try again. [00:00:16] *** Error code 1 [00:00:16] [00:00:16] Stop. [00:00:16] make: stopped in /usr/ports/deskutils/nextcloudclient [00:00:16] build of deskutils/nextcloudclient | nextcloudclient-3.1.3 ended at Sun Mar 14 10:50:50 GMT 2021 [00:00:16] build time: 00:00:04 [00:00:16] !!! build failure encountered !!! [00:00:16] Error: Build failed in phase: fetch portstree info: URL: https://svn.freebsd.org/ports/head Relative URL: ^/head Repository Root: https://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 568375 Node Kind: directory Schedule: normal Last Changed Author: lwhsu Last Changed Rev: 568375 Last Changed Date: 2021-03-14 09:54:20 +0000 (Sun, 14 Mar 2021)
Created attachment 223281 [details] Fix fetch fail # make fetch ===> License GPLv2 accepted by the user ===> nextcloudclient-3.1.3 depends on file: /usr/local/sbin/pkg - found => nextcloud-desktop-v3.1.3_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://codeload.github.com/nextcloud/desktop/tar.gz/v3.1.3?dummy=/nextcloud-desktop-v3.1.3_GH0.tar.gz fetch: https://codeload.github.com/nextcloud/desktop/tar.gz/v3.1.3?dummy=/nextcloud-desktop-v3.1.3_GH0.tar.gz: size unknown fetch: https://codeload.github.com/nextcloud/desktop/tar.gz/v3.1.3?dummy=/nextcloud-desktop-v3.1.3_GH0.tar.gz: size of remote file is not known nextcloud-desktop-v3.1.3_GH0.tar.gz 18 MB 6541 kBps 03s => Fetched file size mismatch (expected 19491747, actual 19552683) => Trying next site => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/nextcloud-desktop-v3.1.3_GH0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/nextcloud-desktop-v3.1.3_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: stopped in /usr/ports/deskutils/nextcloudclient
(In reply to VVD from comment #3) That patch works fine applied against r568453, thank you
Not sure what is happening here. The fixed distinfo posted by VVD is identical to the one I proposed with the update. Don't know why mr@ committed a different size and checksum. I'm doing some extra checks and will commit the fix leveraging the fixit blanket.
Adding back mr as port maintainer.
A commit references this bug: Author: madpilot Date: Tue Mar 16 16:32:32 UTC 2021 New revision: 568576 URL: https://svnweb.freebsd.org/changeset/ports/568576 Log: Fix distinfo. PR: 254029 Changes: head/deskutils/nextcloudclient/distinfo
Fix committed. Thanks!