Bug 277320 - mail/alpine quarterly with maildir patch fetch error size mismatch.
Summary: mail/alpine quarterly with maildir patch fetch error size mismatch.
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-25 21:52 UTC by Alain De Vos
Modified: 2024-03-25 12:33 UTC (History)
3 users (show)

See Also:
mbeis: maintainer-feedback+


Attachments
mail/alpine: fix maildir patch (574 bytes, patch)
2024-03-13 14:39 UTC, Marco Beishuizen
mbeis: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alain De Vos 2024-02-25 21:52:06 UTC
Building mail/alpine with maildir patch returns fetch error , size mismatch.

```

00:00:01] =======================<phase: pkg-depends    >============================
[00:00:01] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
[00:00:01] ===>   alpine-2.26 depends on file: /usr/local/sbin/pkg - not found
[00:00:01] ===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[00:00:01] [ap-ports-job-01] Installing pkg-1.20.9...
[00:00:01] [ap-ports-job-01] Extracting pkg-1.20.9: .......... done
[00:00:02] ===>   alpine-2.26 depends on file: /usr/local/sbin/pkg - found
[00:00:02] ===>   Returning to build of alpine-2.26
[00:00:02] ===========================================================================
[00:00:02] =======================<phase: fetch-depends  >============================
[00:00:02] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
[00:00:02] ===========================================================================
[00:00:02] =======================<phase: fetch          >============================
[00:00:02] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
[00:00:02] ===>  License APACHE20 accepted by the user
[00:00:02] => maildir.patch.gz doesn't seem to exist in /portdistfiles/.
[00:00:02] => Attempting to fetch https://alpineapp.email/alpine/patches/alpine-2.26/maildir.patch.gz
[00:00:03] fetch: https://alpineapp.email/alpine/patches/alpine-2.26/maildir.patch.gz: size mismatch: expected 34840, actual 35559
[00:00:03] => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/maildir.patch.gz
[00:00:04] fetch: http://distcache.FreeBSD.org/ports-distfiles/maildir.patch.gz: Not Found
[00:00:04] => Couldn't fetch it - please try to retrieve this
[00:00:04] => port manually into /portdistfiles/ and try again.
[00:00:04] *** Error code 1
[00:00:04] 
[00:00:04] Stop.
[00:00:04] make: stopped in /usr/ports/mail/alpine
[00:00:04] =>> Cleaning up wrkdir
[00:00:04] ===>  Cleaning for alpine-2.26
[00:00:04] build of mail/alpine | alpine-2.26 ended at Sun Feb 25 21:48:43 UTC 2024
[00:00:04] build time: 00:00:04
[00:00:04] !!! build failure encountered !!!

```
Comment 1 Gary J. Hayers 2024-03-13 10:53:15 UTC
I'm also seeing this issue. See below.

=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   pico-alpine-2.26_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[pkg-build] Installing pkg-1.20.9_1...
[pkg-build] Extracting pkg-1.20.9_1: .......... done
===>   pico-alpine-2.26_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pico-alpine-2.26_1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
=> alpine-2.26.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://repo.or.cz/alpine.git/snapshot/9726c098a739edfdca6218bc5dee104c310957e9.tar.gz?dummy=/alpine-2.26.tar.gz
fetch: transfer timed out
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/alpine-2.26.tar.gz
alpine-2.26.tar.gz                                      22 MB   13 MBps    01s
=> maildir.patch.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://alpineapp.email/alpine/patches/alpine-2.26/maildir.patch.gz
fetch: https://alpineapp.email/alpine/patches/alpine-2.26/maildir.patch.gz: size mismatch: expected 34840, actual 35559
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/maildir.patch.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/maildir.patch.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/pico-alpine
=>> Cleaning up wrkdir
===>  Cleaning for pico-alpine-2.26_1
build of editors/pico-alpine | pico-alpine-2.26_1 ended at Wed Mar 13 08:18:24 GMT 2024
build time: 00:08:45
!!! build failure encountered !!!
Comment 2 Gary J. Hayers 2024-03-13 10:57:51 UTC
By the way this is happening in the latest branch too.

Regards,

Gary
Comment 3 Marco Beishuizen 2024-03-13 14:39:51 UTC
Created attachment 249131 [details]
mail/alpine: fix maildir patch
Comment 4 Marco Beishuizen 2024-03-13 14:40:34 UTC
Fix maildir checksum mismatch