Bug 259546 - sysutils/bsdisks cannot fetch / size mismatch
Summary: sysutils/bsdisks cannot fetch / size mismatch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gleb Popov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-30 08:29 UTC by Miroslav Lachman
Modified: 2021-10-30 08:50 UTC (History)
1 user (show)

See Also:
arrowd: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Lachman 2021-10-30 08:29:43 UTC
I tried to build packages for my desktop in poudriere bug bsdisks cannot fetch distfile and 222 dependent ports were skipped.

Fetching from foss.heptapod.net: size mismatch: expected 109764, actual 109757
Fetching from distcache.FreeBSD.org: Not Found

bsdisks/ # make fetch                                                         
===>  License BSD3CLAUSE accepted by the user
===>   bsdisks-0.26 depends on file: /usr/local/sbin/pkg - found
=> bsdutils-bsdisks-e1d6cc627e5371f26a3350f19e19f0d1d017b1f2_GL0.tar.gz doesn't seem to exist in /vol0/poudriere/ports/pchead/distfiles/.
=> Attempting to fetch https://foss.heptapod.net/bsdutils/bsdisks/-/archive/e1d6cc627e5371f26a3350f19e19f0d1d017b1f2.tar.gz?dummy=/bsdutils-bsdisks-e1d6cc627e5371f26a3350f19e19f0d1d017b1f2_GL0.tar.gz
fetch: https://foss.heptapod.net/bsdutils/bsdisks/-/archive/e1d6cc627e5371f26a3350f19e19f0d1d017b1f2.tar.gz?dummy=/bsdutils-bsdisks-e1d6cc627e5371f26a3350f19e19f0d1d017b1f2_GL0.tar.gz: size mismatch: expected 109764, actual 109757
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/bsdutils-bsdisks-e1d6cc627e5371f26a3350f19e19f0d1d017b1f2_GL0.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/bsdutils-bsdisks-e1d6cc627e5371f26a3350f19e19f0d1d017b1f2_GL0.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /vol0/poudriere/ports/pchead/distfiles/ and try again.
*** Error code 1
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-10-30 08:48:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8724cef00af2e26b168a864167e7984be938546d

commit 8724cef00af2e26b168a864167e7984be938546d
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2021-10-30 08:46:01 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2021-10-30 08:47:06 +0000

    sysutils/bsdisks: Refresh distinfo.

    Something happened upstream and the resulting distfile is now of different size.

    PR:             259546

 sysutils/bsdisks/distinfo | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2021-10-30 08:49:06 UTC
Thanks for letting me know, fixed.
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2021-10-30 08:49:52 UTC
Confirmed, thanks. 

root@mowa219-gjp4-8570p-freebsd:/usr/ports/sysutils/bsdisks # git -C /usr/doc pull --ff-only && git -C /usr/ports pull --ff-only && git -C /usr/src pull --ff-only
Already up to date.
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), 45.36 KiB | 434.00 KiB/s, done.
From https://git.freebsd.org/ports
   714b88f8c46c..8724cef00af2  main       -> freebsd/main
Updating 714b88f8c46c..8724cef00af2
Fast-forward
 sysutils/bsdisks/distinfo | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Already up to date.
root@mowa219-gjp4-8570p-freebsd:/usr/ports/sysutils/bsdisks # make fetch
===>  License BSD3CLAUSE accepted by the user
===>   bsdisks-0.26 depends on file: /usr/local/sbin/pkg - found
=> bsdutils-bsdisks-e1d6cc627e5371f26a3350f19e19f0d1d017b1f2_GL0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://foss.heptapod.net/bsdutils/bsdisks/-/archive/e1d6cc627e5371f26a3350f19e19f0d1d017b1f2.tar.gz?dummy=/bsdutils-bsdisks-e1d6cc627e5371f26a3350f19e19f0d1d017b1f2_GL0.tar.gz
bsdutils-bsdisks-e1d6cc627e5371f26a3350f19e19f         107 kB 2131 kBps    00s
===> Fetching all distfiles required by bsdisks-0.26 for building
root@mowa219-gjp4-8570p-freebsd:/usr/ports/sysutils/bsdisks #
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-10-30 08:50:36 UTC
A commit in branch 2021Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=12907c571e8b0fa7578388610412d992ff0003a5

commit 12907c571e8b0fa7578388610412d992ff0003a5
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2021-10-30 08:46:01 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2021-10-30 08:49:40 +0000

    sysutils/bsdisks: Refresh distinfo.

    Something happened upstream and the resulting distfile is now of different size.

    PR:             259546
    (cherry picked from commit 8724cef00af2e26b168a864167e7984be938546d)

 sysutils/bsdisks/distinfo | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)