Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559916 - app-editors/vim-core,vim,gvim 7.4.769: upstream download url is broken
Summary: app-editors/vim-core,vim,gvim 7.4.769: upstream download url is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 20:14 UTC by Fat-Zer
Modified: 2016-01-25 21:02 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 Fat-Zer 2015-09-07 20:14:01 UTC
It seems the upstream tarball was moved or deleted, so the url in SRC_URI isn't valid anymore.

The url was:
https://github.com/vim/vim/archive/v7-4-769.tar.gz -> vim-7.4.769.tar.gz

I haven't checked for 7.4.827, but it will be likely the same...
Comment 1 Kelly Hirai 2015-09-11 19:02:23 UTC
7.4.827 is a bad url as well. 

i looked through git hub, there are tags for 7.0xxx the latest being 10 years old. either they stopped tagging or it was lost in the move from google code.

i have machines that have 7.4.769 retrieved august 27th.

i'm not seeing an archive directory for tar.gz on github
Comment 2 Mina Naguib 2015-10-04 00:39:43 UTC
Seeing this while updating @world:

>>> Emerging (1 of 12) app-editors/vim-core-7.4.769::gentoo
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
>>> Downloading 'https://github.com/vim/vim/archive/v7-4-769.tar.gz'
--2015-10-03 20:35:51--  https://github.com/vim/vim/archive/v7-4-769.tar.gz
Resolving github.com... 192.30.252.128
Connecting to github.com|192.30.252.128|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/vim/vim/tar.gz/v7-4-769 [following]
--2015-10-03 20:35:51--  https://codeload.github.com/vim/vim/tar.gz/v7-4-769
Resolving codeload.github.com... 192.30.252.144
Connecting to codeload.github.com|192.30.252.144|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-10-03 20:35:51 ERROR 404: Not Found.

!!! Couldn't download 'vim-7.4.769.tar.gz'. Aborting.
 * Fetch failed for 'app-editors/vim-core-7.4.769', Log file:
 *  '/var/tmp/portage/app-editors/vim-core-7.4.769/temp/build.log'

>>> Failed to emerge app-editors/vim-core-7.4.769, Log file:

>>>  '/var/tmp/portage/app-editors/vim-core-7.4.769/temp/build.log'
Comment 3 keets 2015-12-19 05:42:09 UTC
Found the problem: there are no longer hyphens in the tar.gz files.

Workaround:
1) Edit /usr/portage/app-editors/vim/vim-7.4.769.ebuild
2) Replace all instances of "MY_PV" with "PV"
3) repoman --digest=y manifest
4) Manually download the sources via wget or curl
5) Update the SHA256, SHA512, WHIRLPOOL checksums in /usr/portage/app-editors/vim/Manifest
6) emerge --ask app-editors/vim

And it works.
Comment 4 Tim Harder gentoo-dev 2016-01-23 17:32:13 UTC
Fixed in the tree.
Comment 5 Florian Gamböck 2016-01-25 21:02:35 UTC
(In reply to Tim Harder from comment #4)
> Fixed in the tree.

Hi Tim, the issue is not fixed for vim-core-7.4.769, there is still the MY_PV variant with the dashes instead of the dots.