After blocker fix I've returned to bug #577850 For now I have limited network access and can't get sources directly from git repository. So, I've downloaded zipped snapshot tora-master.zip. After copying it to DISTDIR and updating ebuild SRC_URI to: SRC_URI="${PN}-master.zip" to perfor test build I've tried to regenerate manifest and was wondered seeng portage truing to get unexistent sources from mirrors. Note, instead of listed zip archive .tar.gz is requested. # ebuild tora-3.0.0_pre20170124.ebuild manifest >>> Downloading 'http://mirror.yandex.ru/gentoo-distfiles/distfiles/tora-master.tar.gz' --2017-01-24 13:15:02-- http://mirror.yandex.ru/gentoo-distfiles/distfiles/tora-master.tar.gz 2017-01-24 13:15:02 ERROR 404: Not Found. >>> Downloading 'ftp://mirror.yandex.ru/gentoo-distfiles/distfiles/tora-master.tar.gz' --2017-01-24 13:15:02-- ftp://mirror.yandex.ru/gentoo-distfiles/distfiles/tora-master.tar.gz 2017-01-24 13:15:02 ERROR 404: Not Found. !!! Couldn't download 'tora-master.tar.gz'. Aborting. !!! Fetch failed for tora-master.tar.gz, can't update Manifest After repacking archive into tar.gz and updating archive in DISTDIR: SRC_URI="${PN}-master.tar.gz" ebuild utility updates manifest as expected: # ebuild tora-3.0.0_pre20170124.ebuild manifest >>> Creating Manifest for /usr/portage/local/dev-db/tora
Could you please attach the ebuild in question?
Created attachment 461404 [details] tora-3.0.0_pre20170124.ebuild Development incomplete ebuild just for testing this bug. Zipped source snapshot could be fetched from https://github.com/tora-tool/tora
I wasn't able to reproduce with SRC_URI="${PN}-master.zip": $ ebuild tora-3.0.0_pre20170124.ebuild manifest >>> Downloading 'http://distfiles.gentoo.org/distfiles/tora-master.zip' --2017-01-26 20:57:44-- http://distfiles.gentoo.org/distfiles/tora-master.zip Resolving distfiles.gentoo.org... 64.50.233.100, 156.56.247.195, 137.226.34.46, ... Connecting to distfiles.gentoo.org|64.50.233.100|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-01-26 20:57:45 ERROR 404: Not Found. !!! Couldn't download 'tora-master.zip'. Aborting. !!! Fetch failed for tora-master.zip, can't update Manifest
(In reply to Michael Palimaka (kensington) from comment #3) > I wasn't able to reproduce with SRC_URI="${PN}-master.zip": Possibly I was not clear enough. The steps to reproduce this issue: 1. Go to TOra's homepage and fetch tora-master.zip; 2. Copy saved tora-master.zip to DISTDIR; 3. Try to generate manifest for test build; 4. See quoted result; 5. Unpack zip and archive directory to tar.gz format; 6. Copy gzipped tarball to DISTDIR; 7. Update ebuild (change zip distfiles suffix to tar.gz); 8. Try to generate manifest; 9. Wonder commant succeed. Was it the thing you did?
One more question: is trying to fetch sources from mirrors a right behaviour for developing, when SRC_URI is not a valid URL? Is there a way to push distfiles on mirrors missing source url?
Please reopen when you find an actual bug to report.
(In reply to Sergey S. Starikoff from comment #5) > One more question: is trying to fetch sources from mirrors a right behaviour > for developing, when SRC_URI is not a valid URL? Yes, you can use env GENTOO_MIRRORS="" ebuild ... to disable fetching from mirrors if you want. > Is there a way to push distfiles on mirrors missing source url? Yes, devs can upload files to /space/distfiles-local on dev.gentoo.org as mentioned here: https://devmanual.gentoo.org/general-concepts/mirrors/#replacing-automatically-mirrored-files