Summary: | =sys-apps/portage-2.3.0 ebuild utility fails to generate manifest for local .zip source archive | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | kensington |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | tora-3.0.0_pre20170124.ebuild |
Description
Sergey S. Starikoff
2017-01-24 10:24:44 UTC
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 |