Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844052 - mail-client/alpine-2.25: update Chappa patch to the latest version
Summary: mail-client/alpine-2.25: update Chappa patch to the latest version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robert G. Siebeck
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-05-13 15:33 UTC by CFuga
Modified: 2022-05-26 21:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CFuga 2022-05-13 15:33:28 UTC
On February 4th 2022, the Chappa patch was updated to version 11. Currently, the version used by Gentoo is 9.

The ebuild fails when it tries to download the patch from the upstream website.

Reproducible: Always




$ ebuild alpine-2.25-r1.ebuild prepare
>>> Downloading 'http://alpine.x10host.com/alpine/release/src/alpine-2.25.tar.xz'
--2022-05-13 10:31:31--  http://alpine.x10host.com/alpine/release/src/alpine-2.25.tar.xz
Resolving alpine.x10host.com (alpine.x10host.com)... 198.91.81.12
Connecting to alpine.x10host.com (alpine.x10host.com)|198.91.81.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7495372 (7.1M) [application/octet-stream]
Saving to: ‘/var/cache/distfiles/alpine-2.25.tar.xz.__download__’

/var/cache/distfile 100%[===================>]   7.15M  3.64MB/s    in 2.0s    

2022-05-13 10:31:33 (3.64 MB/s) - ‘/var/cache/distfiles/alpine-2.25.tar.xz.__download__’ saved [7495372/7495372]

 * alpine-2.25.tar.xz BLAKE2B SHA512 size ;-) ...                        [ ok ]
>>> Downloading 'https://repo.or.cz/alpine.git/patch/fb2217ac67706e4cbef69bea41041e2fb8b910e9'
--2022-05-13 10:31:33--  https://repo.or.cz/alpine.git/patch/fb2217ac67706e4cbef69bea41041e2fb8b910e9
Resolving repo.or.cz (repo.or.cz)... 195.113.20.142, 2001:718:1e03:801::8e
Connecting to repo.or.cz (repo.or.cz)|195.113.20.142|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: ‘/var/cache/distfiles/alpine-2.25-ssl.patch.__download__’

/var/cache/distfile     [ <=>                ]   5.30K  --.-KB/s    in 0s      

2022-05-13 10:31:34 (136 MB/s) - ‘/var/cache/distfiles/alpine-2.25-ssl.patch.__download__’ saved [5431]

 * alpine-2.25-ssl.patch BLAKE2B SHA512 size ;-) ...                     [ ok ]
>>> Downloading 'http://alpine.x10host.com/alpine/patches/alpine-2.25/all.patch.gz'
--2022-05-13 10:31:34--  http://alpine.x10host.com/alpine/patches/alpine-2.25/all.patch.gz
Resolving alpine.x10host.com (alpine.x10host.com)... 198.91.81.12
Connecting to alpine.x10host.com (alpine.x10host.com)|198.91.81.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 172996 (169K) [application/x-gzip]
Saving to: ‘/var/cache/distfiles/alpine-2.25-chappa.patch.gz.__download__’

/var/cache/distfile 100%[===================>] 168.94K  1.06MB/s    in 0.2s    

2022-05-13 10:31:35 (1.06 MB/s) - ‘/var/cache/distfiles/alpine-2.25-chappa.patch.gz.__download__’ saved [172996/172996]

!!! Fetched file: alpine-2.25-chappa.patch.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      172996
!!! Expected: 172963
Refetching... File renamed to '/var/cache/distfiles/alpine-2.25-chappa.patch.gz._checksum_failure_.weo_w3bk'

!!! Couldn't download 'alpine-2.25-chappa.patch.gz'. Aborting.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-19 02:12:06 UTC
Do you not have GENTOO_MIRRORS configured correctly?
Comment 2 CFuga 2022-05-19 14:35:24 UTC
(In reply to Sam James from comment #1)
> Do you not have GENTOO_MIRRORS configured correctly?

If you set GENTOO_MIRRORS right, portage downloads the patch just fine.

But the patch in Gentoo mirrors is older than upstream. That's why I opened this bug. I unset GENTOO_MIRRORS in my machine to force downloading from upstream, just to check.
Comment 3 Larry the Git Cow gentoo-dev 2022-05-26 12:58:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=515cc76f5260325a86ce3048565185c7ebf8b385

commit 515cc76f5260325a86ce3048565185c7ebf8b385
Author:     Robert Siebeck <gentoo.2019@r123.de>
AuthorDate: 2022-05-16 06:55:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-05-26 12:58:03 +0000

    mail-client/alpine: update Chappa patch to the latest version
    
    Bug: https://bugs.gentoo.org/844052
    Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
    Closes: https://github.com/gentoo/gentoo/pull/25522
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/alpine/Manifest              |  1 +
 mail-client/alpine/alpine-2.25-r2.ebuild | 89 ++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)