Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27938 - mplayer-1.0_pre1 fails trying to apply the mplayer-0.90-ppc-benh2.patch patch
Summary: mplayer-1.0_pre1 fails trying to apply the mplayer-0.90-ppc-benh2.patch patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
: 28737 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-04 09:59 UTC by Mitchell
Modified: 2006-02-04 06:03 UTC (History)
3 users (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 Mitchell 2003-09-04 09:59:53 UTC
When I try to emerge mplayer-1.0_pre1, the following occurs when trying to apply
the mplayer-0.90-ppc-benh2.patch patch.

 * Applying mplayer-0.90-ppc-benh-2.patch...

 * Failed Patch: mplayer-0.90-ppc-benh-2.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/mplayer-1.0_pre1/temp/mplayer-0.90-ppc-benh-2.patch-532
ut


!!! ERROR: media-video/mplayer-1.0_pre1 failed.
!!! Function epatch, Line 321, Exitcode 0
!!! Failed Patch: mplayer-0.90-ppc-benh-2.patch!


Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~ppc" emerge mplayer

Actual Results:  
The mplayer build told me that the patch could not be applied and then still
wanted to compile mplayer.

Expected Results:  
The patch should have been added in successfully and then compiled mplayer.

***** mplayer-0.90-ppc-benh-2.patch *****

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

PATCH COMMAND:  patch  -p0 < /usr/portage/media-video/mplayer/files/mplayer-0
.90-ppc-benh-2.patch

=========================================
patching file configure
Hunk #1 succeeded at 579 with fuzz 1 (offset 29 lines).
Hunk #2 FAILED at 882.
1 out of 2 hunks FAILED -- saving rejects to file configure.rej
=========================================

PATCH COMMAND:  patch  -p1 < /usr/portage/media-video/mplayer/files/mplayer-0
.90-ppc-benh-2.patch

=========================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.orig     2003-04-07 05:12:59.000000000 +0200
|+++ configure  2003-04-07 05:15:05.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=========================================

PATCH COMMAND:  patch  -p2 < /usr/portage/media-video/mplayer/files/mplayer-0
.90-ppc-benh-2.patch

=========================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.orig     2003-04-07 05:12:59.000000000 +0200
|+++ configure  2003-04-07 05:15:05.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=========================================

PATCH COMMAND:  patch  -p3 < /usr/portage/media-video/mplayer/files/mplayer-0
.90-ppc-benh-2.patch

=========================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.orig     2003-04-07 05:12:59.000000000 +0200
|+++ configure  2003-04-07 05:15:05.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
=========================================

PATCH COMMAND:  patch  -p4 < /usr/portage/media-video/mplayer/files/mplayer-0
.90-ppc-benh-2.patch

=========================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.orig     2003-04-07 05:12:59.000000000 +0200
|+++ configure  2003-04-07 05:15:05.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

Portage 2.0.49-r3 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-ppc-r2)
=================================================================
System uname: 2.4.21-ppc-r2 ppc 
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="ppc ~ppc" /usr/portage/profiles/updates/3Q-2003
AUTOCLEAN="yes"ouple minutes if you have a lot of binary packages.)
CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -mmultiple
-mstring"...........................................................................
CHOST="powerpc-unknown-linux-gnu"4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-ppc-r2)
COMPILER="gcc3"==================================================
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -mmultiple
-mstring"GS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -mmultiple -mstrin
DISTDIR="/usr/portage/distfiles""
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"ig /usr/X11R6/lib/X11/xkb"
MAKEOPTS="-j2"_MASK="/etc/gconf /etc/env.d"
PKGDIR="/usr/portage/packages"-mpowerpc-gfxopt -fsigned-char -mmultiple -mstr
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"distfiles"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"p://www.ibiblio.org/pub/Linu
USE="oss dvd xv libwww jpeg nls mitshm gif gnome qt kde motif png truetype ppc
foomaticdb gnome-libs gdbm berkdb slang readline aalib guile X sdl gpm tcpd pam
ssl perl python esd imlib oggvorbis gtk opengl mozilla pic java cups spell
rage128 usb""/var/tmp"
PORTDIR="/usr/portage"
Comment 1 Luca Barbato gentoo-dev 2003-09-04 13:41:48 UTC
the patch should be removed since it isn't needed anymore.

Fixing now
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-05 13:44:05 UTC
can this be closed ?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-05 13:46:08 UTC
*** Bug 28737 has been marked as a duplicate of this bug. ***
Comment 4 Mitchell 2003-10-05 15:59:14 UTC
Close it.
Comment 5 Luca Barbato gentoo-dev 2003-10-05 16:48:34 UTC
closing
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-10-07 23:29:30 UTC
same issue in mplayer-1.0pre2

see bug #30415
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-10-07 23:30:00 UTC
adding the reporter of pre2
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-10-13 12:58:49 UTC
  08 Oct 2003; Luca Barbato<lu_zero@gentoo.org> mplayer-1.0_pre2.ebuild:
  ppc related fix.