Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622060 - app-arch/rpm cannot be emerged due to sources missing.
Summary: app-arch/rpm cannot be emerged due to sources missing.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 01:46 UTC by moxian
Modified: 2018-06-20 15:08 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 moxian 2017-06-18 01:46:41 UTC
When trying to emerge app-arch/rpm, the fetch step fails, since the releases are no longer distributed from rpm.org, but rather from ftp.rpm.org.

I.e. we are currently trying to fetch sources from http://rpm.org/releases/rpm-4.11.x/rpm-4.11.0.1.tar.bz2, but they have moved and now reside at http://ftp.rpm.org/releases/rpm-4.11.x/rpm-4.11.0.1.tar.bz2

From cursory look, all versions are affected.


Please see emerge output below:

# emerge -v app-arch/rpm

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

Calculating dependencies... done!
[ebuild  N     ] app-arch/rpm-4.11.0.1::gentoo  USE="acl nls -caps -doc -lua -python (-selinux)" PYTHON_TARGETS="python2_7" 3,585 KiB

Total: 1 package (1 new), Size of downloads: 3,585 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-arch/rpm-4.11.0.1::gentoo
>>> Failed to emerge app-arch/rpm-4.11.0.1, Log file:
>>>  '/var/log/portage/build/app-arch/rpm-4.11.0.1:20170618-023631.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.59, 0.60, 0.57
>>> Downloading 'rsync://rsync.de.gentoo.org/gentoo-portage/distfiles/rpm-4.11.0.1.tar.bz2'
Welcome to rsync.informatik.rwth-aachen.de (137.226.34.228).
This server is part of the SunSITE Central Europe and is located
in Aachen, Germany (http://sunsite.informatik.rwth-aachen.de).

receiving incremental file list
rsync: change_dir "/distfiles" (in gentoo-portage) failed: No such file or directory (2)

sent 8 bytes  received 110 bytes  78.67 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [Receiver=3.1.2]
>>> Downloading 'http://rpm.org/releases/rpm-4.11.x/rpm-4.11.0.1.tar.bz2'
--2017-06-18 02:36:32--  http://rpm.org/releases/rpm-4.11.x/rpm-4.11.0.1.tar.bz2
Resolving rpm.org... 192.30.252.153, 192.30.252.154
Connecting to rpm.org|192.30.252.153|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-06-18 02:36:32 ERROR 404: Not Found.

!!! Couldn't download 'rpm-4.11.0.1.tar.bz2'. Aborting.
 * Fetch failed for 'app-arch/rpm-4.11.0.1', Log file:
 *  '/var/log/portage/build/app-arch/rpm-4.11.0.1:20170618-023631.log'
Comment 1 Mike Gilbert gentoo-dev 2017-06-18 03:04:34 UTC
You appear to be using a bad value for GENTOO_MIRRORS.
Comment 2 moxian 2017-06-18 05:20:08 UTC
This appears to be the case, thank you.

I have GENTOO_MIRRORS="rsync://rsync.de.gentoo.org/gentoo-portage" (and previously - GENTOO_MIRRORS="rsync://rsync.at.gentoo.org" that has the same problem), which was chosen via mirrorselect. Setting GENTOO_MIRRORS="http://distfiles.gentoo.org" does indeed work around the problem.

However, I claim that the problem still exists, as the current SRC_URI no longer works, and should be updated.

Curiously, I believe I've had bad GENTOO_MIRRORS for half a year now, and this is the first package that broke on me this way.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-06-18 06:02:07 UTC
Sure, SRC_URI should still contain a fetchable distfile even though we strongly recommend everyone use valid GENTOO_MIRRORS.
Comment 4 Pacho Ramos gentoo-dev 2018-06-20 15:08:36 UTC
looks fixed in 4.14.1