Bug 260113

Summary: graphics/nsxiv unable to fetch
Product: Ports & Packages Reporter: tech-lists
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (0mp)
Priority: ---    
Version: Latest   
Hardware: arm64   
OS: Any   

Description tech-lists 2021-11-29 12:43:31 UTC
unable to fetch:

[...]

[00:00:03] =>> Building graphics/nsxiv
[00:00:03] build started at Mon Nov 29 12:35:47 GMT 2021
[00:00:03] port directory: /usr/ports/graphics/nsxiv
[00:00:03] package name: nsxiv-27.1.20
[00:00:03] building for: FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT 1400042 arm64
[00:00:03] maintained by: 0mp@FreeBSD.org
[00:00:03] Makefile datestamp: -rw-r--r--  1 root  wheel  990 Nov  4 19:02 /usr/ports/graphics/nsxiv/Makefile
[00:00:03] Ports top last git commit: 93eaf8d35
[00:00:03] Ports top unclean checkout: no
[00:00:03] Port dir last git commit: 6fa3abe29
[00:00:03] Port dir unclean checkout: no
[00:00:03] Poudriere version: poudriere-git-3.3.99.20211017_2
[00:00:03] Host OSVERSION: 1400042
[00:00:03] Jail OSVERSION: 1400042
[00:00:03] Job Id: 01

[...]

00:00:04] ===>   Returning to build of nsxiv-27.1.20
[00:00:04] ===========================================================================
[00:00:04] =======================<phase: fetch-depends  >============================
[00:00:04] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
[00:00:04] ===========================================================================
[00:00:04] =======================<phase: fetch          >============================
[00:00:04] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
[00:00:04] ===>  License GPLv2 accepted by the user
[00:00:05] => nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
[00:00:05] => Attempting to fetch https://codeload.github.com/nsxiv/nsxiv/tar.gz/v27.1-20-g065562d?dummy=/nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz
[00:00:05] fetch: https://codeload.github.com/nsxiv/nsxiv/tar.gz/v27.1-20-g065562d?dummy=/nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz: size unknown
[00:00:05] fetch: https://codeload.github.com/nsxiv/nsxiv/tar.gz/v27.1-20-g065562d?dummy=/nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz: size of remote file is not known
[00:00:05] nsxiv-nsxiv-v27.1-20-g065562d_GH0.tar.gz                54 kB  986 kBps    00s
[00:00:05] => d44674845ac41621cdaf69f6898b81fac435233f.patch doesn't seem to exist in /portdistfiles/.
[00:00:05] => Attempting to fetch https://github.com/0mp/nsxiv/commit/d44674845ac41621cdaf69f6898b81fac435233f.patch
[00:00:05] fetch: https://github.com/0mp/nsxiv/commit/d44674845ac41621cdaf69f6898b81fac435233f.patch: size mismatch: expected 1201, actual 1203
[00:00:05] => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/d44674845ac41621cdaf69f6898b81fac435233f.patch
[00:00:05] fetch: http://distcache.FreeBSD.org/ports-distfiles/d44674845ac41621cdaf69f6898b81fac435233f.patch: Not Found
[00:00:05] => Couldn't fetch it - please try to retrieve this
[00:00:05] => port manually into /portdistfiles/ and try again.
[00:00:05] *** Error code 1
[00:00:05] 
[00:00:05] Stop.
[00:00:05] make: stopped in /usr/ports/graphics/nsxiv
[00:00:06] =>> Cleaning up wrkdir
[00:00:06] ===>  Cleaning for nsxiv-27.1.20
[00:00:06] build of graphics/nsxiv | nsxiv-27.1.20 ended at Mon Nov 29 12:35:50 GMT 2021
[00:00:06] build time: 00:00:03
[00:00:06] !!! build failure encountered !!!
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-11-29 12:55:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=93401381ce04fe7a0810ce2d23043db246839e8d

commit 93401381ce04fe7a0810ce2d23043db246839e8d
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-11-29 12:50:47 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-11-29 12:54:49 +0000

    graphics/nsxiv: Recalculate distinfo

    The patch format changed for some reason.

    PR:             260113
    Reported by:    tech-lists@zyxst.net
    MFH:            2021Q4

 graphics/nsxiv/distinfo | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-11-29 12:56:47 UTC
A commit in branch 2021Q4 references this bug:

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

commit fea4eb6bd661b4aaac131454cd1d3999bd1b11d0
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-11-29 12:50:47 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-11-29 12:55:49 +0000

    graphics/nsxiv: Recalculate distinfo

    The patch format changed for some reason.

    PR:             260113
    Reported by:    tech-lists@zyxst.net
    MFH:            2021Q4

    (cherry picked from commit 93401381ce04fe7a0810ce2d23043db246839e8d)

 graphics/nsxiv/distinfo | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-11-29 12:56:53 UTC
Thanks!