Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 718818

Summary: sys-cluster/drbd-utils: SRC_URI stopped working
Product: Gentoo Linux Reporter: Paul Tobias <tobias.pal>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: For drbd-utils-8.9.6-r1.ebuild

Description Paul Tobias 2020-04-22 06:30:53 UTC
Fetching sys-cluster/drbd-utils from the URL in SRC_URI fails because the packages were moved to https://www.linbit.com/downloads/drbd/utils/archive/

Reproducible: Always

Steps to Reproduce:
1. GENTOO_MIRRORS='' emerge -f drbd-utils --getbinpkgonly n

Actual Results:  
>>> Downloading 'http://oss.linbit.com/drbd/drbd-utils-8.9.3.tar.gz'
--2020-04-22 06:15:09--  http://oss.linbit.com/drbd/drbd-utils-8.9.3.tar.gz
Resolving oss.linbit.com... 159.69.154.96
Connecting to oss.linbit.com|159.69.154.96|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.linbit.com/en/drbd-community/drbd-download/ [following]
--2020-04-22 06:15:10--  https://www.linbit.com/en/drbd-community/drbd-download/
Resolving www.linbit.com... 104.26.12.9, 104.26.13.9
Connecting to www.linbit.com|104.26.12.9|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /download/ [following]
--2020-04-22 06:15:10--  https://www.linbit.com/download/
Reusing existing connection to www.linbit.com:443.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.linbit.com/linbit-software-download-page-for-linstor-and-drbd-linux-driver/ [following]
--2020-04-22 06:15:10--  https://www.linbit.com/linbit-software-download-page-for-linstor-and-drbd-linux-driver/
Reusing existing connection to www.linbit.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: '/usr/portage/distfiles/drbd-utils-8.9.3.tar.gz.__download__'

/usr/portage/distfiles/drbd-utils-8.9.3.tar.gz.__download__             [ <=>                                                                                                                                                               ] 204.79K  --.-KB/s    in 0.01s   

2020-04-22 06:15:11 (18.8 MB/s) - '/usr/portage/distfiles/drbd-utils-8.9.3.tar.gz.__download__' saved [209704]

!!! Fetched file: drbd-utils-8.9.3.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      209704
!!! Expected: 768700
Refetching... File renamed to '/usr/portage/distfiles/drbd-utils-8.9.3.tar.gz._checksum_failure_.w6kaw0dq'

!!! Couldn't download 'drbd-utils-8.9.3.tar.gz'. Aborting.


Expected Results:  
>>> Downloading 'http://www.linbit.com/downloads/drbd/utils/archive/drbd-utils-8.9.3.tar.gz'
--2020-04-22 06:21:10--  http://www.linbit.com/downloads/drbd/utils/archive/drbd-utils-8.9.3.tar.gz
Resolving www.linbit.com... 104.26.12.9, 104.26.13.9
Connecting to www.linbit.com|104.26.12.9|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 768700 (751K) [application/octet-stream]
Saving to: '/usr/portage/distfiles/drbd-utils-8.9.3.tar.gz.__download__'

/usr/portage/distfiles/drbd-utils-8.9.3.tar.gz.__download__         100%[==================================================================================================================================================================>] 750.68K   645KB/s    in 1.2s    

2020-04-22 06:21:13 (645 KB/s) - '/usr/portage/distfiles/drbd-utils-8.9.3.tar.gz.__download__' saved [768700/768700]

 * drbd-utils-8.9.3.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                  [ ok ]
Comment 1 Paul Tobias 2020-04-22 06:34:07 UTC
Created attachment 634044 [details, diff]
For drbd-utils-8.9.6-r1.ebuild

Attached patch for drbd-utils-8.9.6-r1.ebuild, the other ebuild versions need the same change.
Comment 2 Larry the Git Cow gentoo-dev 2021-02-17 09:37:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64bd02f1d3e9dbb8300cfb01af795b5ed374ca95

commit 64bd02f1d3e9dbb8300cfb01af795b5ed374ca95
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-17 09:36:34 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-17 09:36:34 +0000

    sys-cluster/drbd-utils: Bump to 9.15.1
    
    Closes: https://bugs.gentoo.org/690298
    Closes: https://bugs.gentoo.org/698304
    Closes: https://bugs.gentoo.org/705614
    Closes: https://bugs.gentoo.org/715616
    Closes: https://bugs.gentoo.org/716810
    Closes: https://bugs.gentoo.org/718818
    Closes: https://bugs.gentoo.org/721110
    Closes: https://bugs.gentoo.org/725750
    Closes: https://bugs.gentoo.org/728166
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-cluster/drbd-utils/Manifest                    |   1 +
 sys-cluster/drbd-utils/drbd-utils-9.15.1.ebuild    | 104 +++++++++++++++++++++
 .../files/drbd-utils-9.15.1-run-lock.patch         |  13 +++
 .../files/drbd-utils-9.15.1-sysmacros.patch        |  41 ++++++++
 4 files changed, 159 insertions(+)