Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665326 - sys-apps/hwloc-2.0.2 fetch failed - invalid url
Summary: sys-apps/hwloc-2.0.2 fetch failed - invalid url
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
: 665368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-06 05:49 UTC by Georgy Yakovlev
Modified: 2019-04-25 17:29 UTC (History)
3 users (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 Georgy Yakovlev archtester gentoo-dev 2018-09-06 05:49:11 UTC
>>> Downloading 'https://gentoo.osuosl.org/distfiles/hwloc-2.0.2.tar.bz2'
--2018-09-05 22:43:46--  https://gentoo.osuosl.org/distfiles/hwloc-2.0.2.tar.bz2
Resolving gentoo.osuosl.org... 64.50.236.52, 140.211.166.134, 64.50.233.100, ...
Connecting to gentoo.osuosl.org|64.50.236.52|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-09-05 22:43:46 ERROR 404: Not Found.

>>> Downloading 'http://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2'
--2018-09-05 22:43:46--  http://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2
Resolving www.open-mpi.org... 192.185.39.252
Connecting to www.open-mpi.org|192.185.39.252|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2 [following]
--2018-09-05 22:43:46--  https://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2
Connecting to www.open-mpi.org|192.185.39.252|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.open-mpi.org/release/hwloc/v1-2/hwloc-2.0.2.tar.bz2 [following]
--2018-09-05 22:43:47--  https://download.open-mpi.org/release/hwloc/v1-2/hwloc-2.0.2.tar.bz2
Resolving download.open-mpi.org... 13.35.99.66, 13.35.99.94, 13.35.99.55, ...
Connecting to download.open-mpi.org|13.35.99.66|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-09-05 22:43:47 ERROR 403: Forbidden.

!!! Couldn't download 'hwloc-2.0.2.tar.bz2'. Aborting.





correct URL is 
https://download.open-mpi.org/release/hwloc/v2.0/hwloc-2.0.2.tar.bz2
Comment 1 hsk17 2018-09-06 07:46:22 UTC
in hwloc-1.11.11.ebuild and hwloc-2.0.2.ebuild,
variable MY_PV must be set to v$(ver_cut 1-2) instead of $(ver_rs 1-2)
Comment 2 Juergen Rose 2018-09-06 09:02:40 UTC
(In reply to hsk17 from comment #1)
> in hwloc-1.11.11.ebuild and hwloc-2.0.2.ebuild,
> variable MY_PV must be set to v$(ver_cut 1-2) instead of $(ver_rs 1-2)

This did not help:

root@lynx:/usr/local/portage/sys-apps/hwloc(28)# grep MY_PV hwloc-1.11.11.ebuild
MY_PV=v$(ver_cut 1-2)
SRC_URI="http://www.open-mpi.org/software/${PN}/${MY_PV}/downloads/${P}.tar.bz2"
root@lynx:/usr/local/portage/sys-apps/hwloc(29)# MAKEOPTS=-j1 emerge -v1 hwloc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-apps/hwloc-2.0.2:0/5::local [1.11.10:0/5::gentoo] USE="X cairo numa pci plugins svg xml -cuda -debug -gl -static-libs" ABI_X86="(64) -32 (-x32)" 5,891 KiB

Total: 1 package (1 upgrade), Size of downloads: 5,891 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/hwloc-2.0.2::local
>>> Downloading 'http://distfiles.gentoo.org/distfiles/hwloc-2.0.2.tar.bz2'
--2018-09-06 11:01:31--  http://distfiles.gentoo.org/distfiles/hwloc-2.0.2.tar.bz2
Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 64.50.233.100, 216.165.129.135, 156.56.247.195, ...
Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|64.50.233.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-09-06 11:01:31 ERROR 404: Not Found.

>>> Downloading 'http://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2'
--2018-09-06 11:01:31--  http://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2
Resolving www.open-mpi.org (www.open-mpi.org)... 192.185.39.252
Connecting to www.open-mpi.org (www.open-mpi.org)|192.185.39.252|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2 [following]
--2018-09-06 11:01:32--  https://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2
Connecting to www.open-mpi.org (www.open-mpi.org)|192.185.39.252|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.open-mpi.org/release/hwloc/v1-2/hwloc-2.0.2.tar.bz2 [following]
--2018-09-06 11:01:32--  https://download.open-mpi.org/release/hwloc/v1-2/hwloc-2.0.2.tar.bz2
Resolving download.open-mpi.org (download.open-mpi.org)... 52.222.250.139, 52.222.250.128, 52.222.250.44, ...
Connecting to download.open-mpi.org (download.open-mpi.org)|52.222.250.139|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2018-09-06 11:01:33 ERROR 403: Forbidden.

!!! Couldn't download 'hwloc-2.0.2.tar.bz2'. Aborting.
 * Fetch failed for 'sys-apps/hwloc-2.0.2', Log file:
 *  '/var/log/portage/sys-apps:hwloc-2.0.2:20180906-090131.log'

>>> Failed to emerge sys-apps/hwloc-2.0.2, Log file:
Comment 3 Juergen Rose 2018-09-06 09:18:40 UTC
(In reply to Juergen Rose from comment #2)
> (In reply to hsk17 from comment #1)
> > in hwloc-1.11.11.ebuild and hwloc-2.0.2.ebuild,
> > variable MY_PV must be set to v$(ver_cut 1-2) instead of $(ver_rs 1-2)
> 
> This did not help:
> 
> root@lynx:/usr/local/portage/sys-apps/hwloc(28)# grep MY_PV
> hwloc-1.11.11.ebuild
> MY_PV=v$(ver_cut 1-2)
> SRC_URI="http://www.open-mpi.org/software/${PN}/${MY_PV}/downloads/${P}.tar.
> bz2"
> root@lynx:/usr/local/portage/sys-apps/hwloc(29)# MAKEOPTS=-j1 emerge -v1
> hwloc
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild     U  ] sys-apps/hwloc-2.0.2:0/5::local [1.11.10:0/5::gentoo]
> USE="X cairo numa pci plugins svg xml -cuda -debug -gl -static-libs"
> ABI_X86="(64) -32 (-x32)" 5,891 KiB
> 
> Total: 1 package (1 upgrade), Size of downloads: 5,891 KiB
> 
> 
> >>> Verifying ebuild manifests
> 
> >>> Emerging (1 of 1) sys-apps/hwloc-2.0.2::local
> >>> Downloading 'http://distfiles.gentoo.org/distfiles/hwloc-2.0.2.tar.bz2'
> --2018-09-06 11:01:31-- 
... 
> >>> Downloading 'http://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2'
> --2018-09-06 11:01:31-- 
> http://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2
> Resolving www.open-mpi.org (www.open-mpi.org)... 192.185.39.252
> Connecting to www.open-mpi.org (www.open-mpi.org)|192.185.39.252|:80...
> connected.
> HTTP request sent, awaiting response... 302 Found
> Location:
> https://www.open-mpi.org/software/hwloc/v1-2/downloads/hwloc-2.0.2.tar.bz2
> [following]
> --2018-09-06 11:01:32-- 
...
> !!! Couldn't download 'hwloc-2.0.2.tar.bz2'. Aborting.
>  * Fetch failed for 'sys-apps/hwloc-2.0.2', Log file:
>  *  '/var/log/portage/sys-apps:hwloc-2.0.2:20180906-090131.log'
> 
> >>> Failed to emerge sys-apps/hwloc-2.0.2, Log file:


Sorry, after editing hwloc-2.0.2.ebuild it works now.
Comment 4 Larry the Git Cow gentoo-dev 2018-09-06 22:12:12 UTC
The bug has been closed via the following commit(s):

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

commit e893bba7963ae1963a1b657f0c1b829b07d796c6
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2018-09-06 22:11:00 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2018-09-06 22:11:00 +0000

    sys-apps/hwloc: fix MY_PV for 1.11.11 and 2.0.2
    
    Closes: https://bugs.gentoo.org/665326
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sys-apps/hwloc/hwloc-1.11.11.ebuild | 2 +-
 sys-apps/hwloc/hwloc-2.0.2.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 5 Arfrever Frehtes Taifersar Arahesis 2019-04-25 17:29:24 UTC
*** Bug 665368 has been marked as a duplicate of this bug. ***