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

Bug 16201

Summary: gst-plugins 0.6.0-r2 fails while applying ogg_detection_fix.patch patch
Product: Gentoo Linux Reporter: Ajay Sharma <ssharma>
Component: [OLD] GNOMEAssignee: Mirror Admins <mirror-admin>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ajay Sharma 2003-02-22 18:55:13 UTC
I get the 'Failed Patch' error when I try to emerge gst-plugins-0.6.0-r2:

>>> emerge (1 of 2) media-libs/gst-plugins-0.6.0-r2 to /
>>> md5 ;-) gst-plugins-0.6.0.tar.bz2
>>> Unpacking source...
>>> Unpacking gst-plugins-0.6.0.tar.bz2
 * Applying gst-plugins-0.6-ffmpeg_ldflags.patch...                            
                          [ ok ]
 * Applying gst-plugins-0.6-ogg_detection_fix.patch...

 * Failed Patch: gst-plugins-0.6-ogg_detection_fix.patch!
 *
 * Include in your bugreport the contents of:
 *
 *  
/var/tmp/portage/gst-plugins-0.6.0-r2/temp/gst-plugins-0.6-ogg_detection_fix.patch-17621.out


!!! ERROR: media-libs/gst-plugins-0.6.0-r2 failed.
!!! Function epatch, Line 309, Exitcode 0
!!! Failed Patch: gst-plugins-0.6-ogg_detection_fix.patch!


Reproducible: Always
Steps to Reproduce:
1. emerge gst-plugins-0.6.0-r2
2.
3.

Actual Results:  
emerge fails to apply the ogg_detection_fix.patch.

Expected Results:  
applied the patch, compile successfully, and finally install successfully.


here's the output of
/var/tmp/portage/gst-plugins-0.6.0-r2/temp/gst-plugins-0.6-ogg_detection_fix.patch-17621.out

***** gst-plugins-0.6-ogg_detection_fix.patch *****

===================================================

PATCH COMMAND:  patch  -p0 <
/usr/portage/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch

===================================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
===================================================

PATCH COMMAND:  patch  -p1 <
/usr/portage/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch

===================================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
===================================================

PATCH COMMAND:  patch  -p2 <
/usr/portage/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch

===================================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
===================================================

PATCH COMMAND:  patch  -p3 <
/usr/portage/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch

===================================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
===================================================

PATCH COMMAND:  patch  -p4 <
/usr/portage/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch

===================================================
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.

-------------------------

And here's the output of the 'emerge info' command:

Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(TM) XP 1900+
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/Linux/distributions/gentoo
http://gentoo.oregonstate.edu/"
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="/opt/portage"
USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ mikmod mmx mpeg ncurses
nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang
readline arts tetex svga tcltk java X sdl tcpd pam libwww ssl python imlib
oggvorbis gtk qt kde opengl cdr -cups esd gd -gnome -gpm innodb jikes mbox
-motif mysql perl samba"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 foser (RETIRED) gentoo-dev 2003-02-22 20:33:46 UTC
maybe the patch is corrupted on an rsync mirror, can you check the patch is like it should be (see webcvs on gentoo.org).
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch?rev=1.1&content-type=text/vnd.viewcvs-markup
Comment 2 Ajay Sharma 2003-02-23 01:46:12 UTC
thanks for the link.  You're right, my copy of the patch was just a bunch of garbage.  So I cut 'n' pasted the one from CVS and it's now installed.  BTW, this happened before when I was looking at the changelog for app-arch/file-roller.  There wasn't any text, just a bunch of garbage in the file.
Comment 3 foser (RETIRED) gentoo-dev 2003-02-23 10:16:33 UTC
that sort of things should be reported to our rsync maintainers i think.

bug-wranglers, can you get this to the right place ?
Comment 4 Kurt Lieber (RETIRED) gentoo-dev 2003-03-09 16:36:48 UTC
without knowing what rsync mirror you last sync'ed against, it's difficult/impossible to troubleshoot this bug.  If you notice the behavior again, please see if you can note what rsync server you've been using.
Comment 5 Jon Portnoy (RETIRED) gentoo-dev 2003-09-28 16:23:17 UTC
Obsolete bug, closing.