Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17524

Summary: app-editors/vim-core-6.1-r4 looking for wrong file
Product: Portage Development Reporter: Doug Gorley <douggorley>
Component: UnclassifiedAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: normal CC: dynamotwain, gentoo
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log(?) from vim emerge
Got error on last patch; bzipped and reposted

Description Doug Gorley 2003-03-14 15:03:11 UTC
When I tried to "emerge -u vim", emerge hung on vim-core.  Here's the end of 
the output:

Resolving ftp.rez-gif.supelec.fr... done.
Connecting to ftp.rez-gif.supelec.fr[160.228.92.7]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/Linux/distrib/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR vim-6.1-patches-001-vimpatch-1-
300.tar.bz2.tar.bz2 ...
No such file `vim-6.1-patches-001-vimpatch-1-300.tar.bz2.tar.bz2'.

>>> Downloading http://distro.ibiblio.org/gentoo/distfiles/vim-6.1-patches-001-
vimpatch-1-300.tar.bz2.tar.bz2
--12:01:03--  http://distro.ibiblio.org/gentoo/distfiles/vim-6.1-patches-001-
vimpatch-1-300.tar.bz2.tar.bz2
           => `/usr/portage/distfiles/vim-6.1-patches-001-vimpatch-1-
300.tar.bz2.tar.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
12:01:04 ERROR 404: Not Found.

!!! Couldn't download vim-6.1-patches-001-vimpatch-1-300.tar.bz2.tar.bz2. 
Aborting.

As you can see, it's looking for a tar.bz2.tar.bz2 file, which I'm betting is 
not correct.
Comment 1 Doug Gorley 2003-03-14 15:06:26 UTC
To be more accurate, it emerge didn't "hang", it just failed with the error shown below.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-14 19:47:57 UTC
yep, this was my fault -- I didn't realise we had a vim-core ebuild as well, this has been rectified in portage.

sorry about that.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-14 21:14:48 UTC
should be fixed now.
Comment 4 Doug Gorley 2003-03-14 22:11:09 UTC
That part works now, but the emerge for vim fails when applying patches:

 *   003_all_vim-5.6a-paths.patch...                                      [ ok ]
 *   004_all_vim-6.0-fixkeys.patch...                                     [ ok ]
 *   005_all_vim-6.0-specsyntax.patch...                                  [ ok ]
 *   006_all_vim-6.0r-crv.patch...                                        [ ok ]
 *   007_all_vim-6.0-gcc31.patch...                                       [ ok ]
 *   020_all_ebuild.patch...                                              [ ok ]
 *   vim-gtk2-20030312.patch...

 * Failed Patch: vim-gtk2-20030312.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/vim-core-6.1-r4/temp/vim-gtk2-20030312.patch-6731.out


!!! ERROR: app-editors/vim-core-6.1-r4 failed.
!!! Function epatch, Line 321, Exitcode 0
!!! Failed Patch: vim-gtk2-20030312.patch!

I'll attach the output from the file mentioned above.
Comment 5 Doug Gorley 2003-03-14 22:13:26 UTC
Created attachment 9405 [details]
Log(?) from vim emerge
Comment 6 Doug Gorley 2003-03-14 22:16:50 UTC
Created attachment 9406 [details]
Got error on last patch; bzipped and reposted
Comment 7 Torgeir Natvig 2003-03-15 10:07:36 UTC
I get an error when i "emerge vim"

output:
 * Failed Patch: vim-gtk2-20030312.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/vim-core-6.1-r4/temp/vim-gtk2-20030312.patch-18287.out


!!! ERROR: app-editors/vim-core-6.1-r4 failed.
!!! Function epatch, Line 321, Exitcode 0
!!! Failed Patch: vim-gtk2-20030312.patch!
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-15 22:27:42 UTC
I've fixed this, please resync and try again.
Comment 9 Doug Gorley 2003-03-15 23:08:24 UTC
I'm now getting the following error:

doug # emerge -u vim
Calculating dependencies ...done!
>>> emerge (1 of 2) app-editors/vim-core-6.1-r4 to /
/usr/sbin/ebuild.sh: /usr/portage/eclass/vim.eclass: line 62: syntax error near unexpected token `('
/usr/sbin/ebuild.sh: /usr/portage/eclass/vim.eclass: line 62: ` SRC_URI="${SRC_URI} nls? ( ftp://ftp.vim.org/pub/vim/extra/${LANG} )"'

!!! ERROR: app-editors/vim-core-6.1-r4 failed.
!!! Function inherit, Line 904, Exitcode 1
!!! died sourcing /usr/portage/eclass/vim.eclass in inherit()

doug # 

Hope this gets to the right people; for some reason I don't have the option to re-open this bug again.
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-15 23:21:32 UTC
my bad -- I've fixed the eclass. sorry again :/
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-15 23:22:25 UTC
*** Bug 17602 has been marked as a duplicate of this bug. ***
Comment 12 Doug Gorley 2003-03-16 11:42:41 UTC
Yup, seems to work fine now.  Thanks!