Bug 254029 - deskutils/nextcloudclient: update to 3.1.3
Summary: deskutils/nextcloudclient: update to 3.1.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guido Falsi
URL: https://github.com/nextcloud/desktop/...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-05 09:23 UTC by Guido Falsi
Modified: 2021-03-16 16:39 UTC (History)
3 users (show)

See Also:
tech-lists: maintainer-feedback+


Attachments
update diff (831 bytes, patch)
2021-03-05 09:23 UTC, Guido Falsi
no flags Details | Diff
Fix fetch fail (483 bytes, patch)
2021-03-15 07:47 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer freebsd_triage 2021-03-05 09:23:50 UTC
Created attachment 222993 [details]
update diff

Simple update to 3.1.3
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-03-13 11:55:18 UTC
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
Comment 2 tech-lists 2021-03-14 10:55:00 UTC
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)
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2021-03-15 07:47:08 UTC
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
Comment 4 tech-lists 2021-03-15 13:31:16 UTC
(In reply to VVD from comment #3)

That patch works fine applied against r568453, thank you
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2021-03-16 15:15:29 UTC
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.
Comment 6 Guido Falsi freebsd_committer freebsd_triage 2021-03-16 15:16:21 UTC
Adding back mr as port maintainer.
Comment 7 commit-hook freebsd_committer freebsd_triage 2021-03-16 16:32:39 UTC
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
Comment 8 Guido Falsi freebsd_committer freebsd_triage 2021-03-16 16:39:16 UTC
Fix committed. Thanks!