Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17569 - emerge gvim fails: failed patch
Summary: emerge gvim fails: failed patch
Status: RESOLVED DUPLICATE of bug 17543
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-15 13:32 UTC by Narada Sage
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Narada Sage 2003-03-15 13:32:52 UTC
The following details relate to gvim-6.1-r6.

The initial emerge error was that there was a digest mismatch so I used the
ebuild command to create a digest.  From there onwards the below took place.

$ emerge gvim

Calculating dependencies ...done!
>>> emerge (1 of 1) app-editors/gvim-6.1-r6 to /
>>> md5 ;-) vim-6.1.tar.bz2
>>> md5 ;-) vim-6.1-patches-001-300.tar.bz2
>>> md5 ;-) vim-6.1-gentoo-patches.tar.bz2
>>> md5 ;-) vim-6.1-lang.tar.gz
>>> Unpacking source...
>>> Unpacking vim-6.1.tar.bz2 to /var/tmp/portage/gvim-6.1-r6/work
>>> Unpacking vim-6.1-patches-001-300.tar.bz2 to /var/tmp/portage/gvim-6.1-r6/work
>>> Unpacking vim-6.1-gentoo-patches.tar.bz2 to /var/tmp/portage/gvim-6.1-r6/work
>>> Unpacking vim-6.1-lang.tar.gz to /var/tmp/portage/gvim-6.1-r6/work
 * Removing superfluous patches......
 * Applying various patches (bugfixes/updates)...
 * Done with patching
 * Applying various patches (bugfixes/updates)...
     <snip>
 *   001_all_vim-4.2-speed_t.patch...
 *   002_all_vim-5.1-vimnotvi.patch...
 *   003_all_vim-5.6a-paths.patch...
 *   004_all_vim-6.0-fixkeys.patch...
 *   005_all_vim-6.0-specsyntax.patch...
 *   006_all_vim-6.0r-crv.patch...
 *   007_all_vim-6.0-gcc31.patch...
 *   020_all_ebuild.patch...
 *   vim-gtk2-20030312.patch...

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

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

The output of the file:
/var/tmp/portage/gvim-6.1-r6/temp/vim-gtk2-20030312.patch-8195.out
is given on the following link.
http://dhruba.codewordt.co.uk/vim-gtk2-20030312.patch-8195.out

**Note** : gvim 6.1-r7 from the unstable tree does emerge successfully.

Reproducible: Always
Steps to Reproduce:
1.emerge gvim
2.emerge fails
3.

Actual Results:  
Emerge gvim fails due to failed patch.

Expected Results:  
Emerge gvim should run to completion.

$ emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
GENTOO_MIRRORS="http://mirrors.sunsite.dk/gentoo/ http://gentoo.linux.no/
http://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ libwww mikmod
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gtkhtml gdbm berkdb slang readline arts bonobo svga java guile X sdl gpm tcpd
pam ssl perl python imlib oggvorbis gnome gtk qt motif opengl aalib acpi cdr
directfb dvd esd fbcon gtk2 imap mozilla nas sse tcltk tiff usb xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Narada Sage 2003-03-15 13:45:12 UTC
I should also mention that the initial error complained with the following error message.

----
$ emerge gvim
Calculating dependencies ...done!
>>> emerge (1 of 1) app-editors/gvim-6.1-r6 to /
>>> md5 ;-) vim-6.1.tar.bz2
>>> md5 ;-) vim-6.1-patches-001-300.tar.bz2

!!! vim-6.1-gentoo-patches.tar.bz2: message digests do not match!
!!! vim-6.1-gentoo-patches.tar.bz2 is corrupt or incomplete.
>>> our recorded digest: 81071e861e9f07b06f18b29ee03769d3
>>>  your file's digest: 299d0f3144d0b60c10cfc549affaf065
>>> Please delete /usr/portage/distfiles/vim-6.1-gentoo-patches.tar.bz2 and refetch.
----

Note that I did follow the instructions several times and deleted the requested file and re-emerged gvim but the digest error continued to recur and as such I was forced to create a new digest file by doing the following.

----
$ ebuild /usr/portage/app-editors/gvim/gvim-6.1-r6.ebuild digest
>>> Generating digest file...
>>> Computed message digests.
----

In the end I emerged gvim-6.1-r7/unstable which ran perfectly.
Comment 2 Brett I. Holcomb 2003-03-15 15:29:11 UTC
It's broken here, too.  I got the same message

Failed Patch: vim-gtk2-20030312.patch

Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-15 22:15:56 UTC

*** This bug has been marked as a duplicate of 17543 ***