Bug 260332 - deskutils/xdg-desktop-portal: fails to fetch
Summary: deskutils/xdg-desktop-portal: fails to fetch
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: Gleb Popov
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2021-12-11 03:50 UTC by Jan Beich
Modified: 2021-12-16 12:16 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (arrowd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2021-12-11 03:50:05 UTC
$ make checksum TRYBROKEN= MASTER_SITE_BACKUP= DISTDIR=$(mktemp -dt distfiles)
===>  License LGPL21 accepted by the user
===>   xdg-desktop-portal-1.8.1_3 depends on file: /usr/local/sbin/pkg - found
=> flatpak-xdg-desktop-portal-1.8.1_GH0.tar.gz doesn't seem to exist in /tmp/distfiles.jjf6eyk9/.
=> Attempting to fetch https://codeload.github.com/flatpak/xdg-desktop-portal/tar.gz/1.8.1?dummy=/flatpak-xdg-desktop-portal-1.8.1_GH0.tar.gz
fetch: https://codeload.github.com/flatpak/xdg-desktop-portal/tar.gz/1.8.1?dummy=/flatpak-xdg-desktop-portal-1.8.1_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/flatpak/xdg-desktop-portal/tar.gz/1.8.1?dummy=/flatpak-xdg-desktop-portal-1.8.1_GH0.tar.gz: size of remote file is not known
flatpak-xdg-desktop-portal-1.8.1_GH0.tar.gz            268 kB 1259 kBps    00s
=> 1.patch doesn't seem to exist in /tmp/distfiles.jjf6eyk9/.
=> Attempting to fetch https://patch-diff.githubusercontent.com/raw/arrowd/xdg-desktop-portal/pull/1.patch
fetch: https://patch-diff.githubusercontent.com/raw/arrowd/xdg-desktop-portal/pull/1.patch: size unknown
fetch: https://patch-diff.githubusercontent.com/raw/arrowd/xdg-desktop-portal/pull/1.patch: size of remote file is not known
1.patch                                               7101  B 6872 kBps    00s
=> Fetched file size mismatch (expected 7091, actual 7101)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /tmp/distfiles.jjf6eyk9/ and try again.
*** Error code 1
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-12-16 12:16:14 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=94daa1596e94f34a82a0852ef1ba85c7081d4ee1

commit 94daa1596e94f34a82a0852ef1ba85c7081d4ee1
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2021-12-16 11:07:20 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2021-12-16 12:15:01 +0000

    deskutils/xdg-desktop-portal: Update to 1.10.1

    Rehost the patch from GitHub to my own site, as GH keeps changing the
    raw output, which breaks fetch.

    PR:             260332

 deskutils/xdg-desktop-portal/Makefile  |  7 +++----
 deskutils/xdg-desktop-portal/distinfo  | 10 +++++-----
 deskutils/xdg-desktop-portal/pkg-plist |  3 +++
 3 files changed, 11 insertions(+), 9 deletions(-)