Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77922 - libsdl-1.2.8-r1 1.2.8-direct-8bit-color.patch fails
Summary: libsdl-1.2.8-r1 1.2.8-direct-8bit-color.patch fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 18:39 UTC by Kenyon Ralph
Modified: 2011-09-14 20:37 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 Kenyon Ralph 2005-01-13 18:39:28 UTC
The error:
# emerge -Duavt --newuse world

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[nomerge      ] net-www/netscape-flash-7.0.25  +gtk
[nomerge      ]  sys-libs/lib-compat-1.4  +sdl
[ebuild     U ]   media-libs/libsdl-1.2.8-r1 [1.2.8] +X +aalib +alsa -arts -debug -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio +nojoystick -novideo +opengl -oss +svga -xinerama +xv 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) media-libs/libsdl-1.2.8-r1 to /
>>> md5 src_uri ;-) SDL-1.2.8.tar.gz
 * Since you've chosen to turn off some of libsdl's functionality,
 * don't bother filing libsdl-related bugs until trying to remerge
 * libsdl without the no* flags in USE.  You need to know what
 * you're doing to selectively turn off parts of libsdl.
>>> Unpacking source...
>>> Unpacking SDL-1.2.8.tar.gz to /var/tmp/portage/libsdl-1.2.8-r1/work
 * Applying 1.2.8-nobuggy-X.patch ...                                               [ ok ]
 * Applying 1.2.8-libcaca.patch ...                                                 [ ok ]
 * Applying 1.2.8-gcc2.patch ...                                                    [ ok ]
 * Applying 1.2.8-keyrepeat.patch ...                                               [ ok ]
 * Applying 1.2.8-linux26.patch ...                                                 [ ok ]
 * Applying 1.2.8-direct-8bit-color.patch ...

 * Failed Patch: 1.2.8-direct-8bit-color.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libsdl-1.2.8-r1/temp/1.2.8-direct-8bit-color.patch-14172.out


!!! ERROR: media-libs/libsdl-1.2.8-r1 failed.
!!! Function epatch, Line 352, Exitcode 0
!!! Failed Patch: 1.2.8-direct-8bit-color.patch!




The contents of /var/tmp/portage/libsdl-1.2.8-r1/temp/1.2.8-direct-8bit-color.patch-14172.out:
***** 1.2.8-direct-8bit-color.patch *****

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

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/media-libs/libsdl/files/1.2.8-direct-8bit-color.patch

=========================================
patching file src/video/SDL_pixels.c
Hunk #1 FAILED at 22.
1 out of 3 hunks FAILED -- saving rejects to file src/video/SDL_pixels.c.rej
=========================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/media-libs/libsdl/files/1.2.8-direct-8bit-color.patch

=========================================
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/video/SDL_pixels.c
|===================================================================
|RCS file: /home/sdlweb/libsdl.org/cvs/SDL12/src/video/SDL_pixels.c,v
|retrieving revision 1.12
|retrieving revision 1.13
|diff -u -r1.12 -r1.13
|--- src/video/SDL_pixels.c	30 Nov 2004 14:28:20 -0000	1.12
|+++ src/video/SDL_pixels.c	12 Jan 2005 19:38:24 -0000	1.13
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=========================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/media-libs/libsdl/files/1.2.8-direct-8bit-color.patch

=========================================
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/video/SDL_pixels.c
|===================================================================
|RCS file: /home/sdlweb/libsdl.org/cvs/SDL12/src/video/SDL_pixels.c,v
|retrieving revision 1.12
|retrieving revision 1.13
|diff -u -r1.12 -r1.13
|--- src/video/SDL_pixels.c	30 Nov 2004 14:28:20 -0000	1.12
|+++ src/video/SDL_pixels.c	12 Jan 2005 19:38:24 -0000	1.13
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=========================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/media-libs/libsdl/files/1.2.8-direct-8bit-color.patch

=========================================
missing header for unified diff at line 9 of patch
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/video/SDL_pixels.c
|===================================================================
|RCS file: /home/sdlweb/libsdl.org/cvs/SDL12/src/video/SDL_pixels.c,v
|retrieving revision 1.12
|retrieving revision 1.13
|diff -u -r1.12 -r1.13
|--- src/video/SDL_pixels.c	30 Nov 2004 14:28:20 -0000	1.12
|+++ src/video/SDL_pixels.c	12 Jan 2005 19:38:24 -0000	1.13
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=========================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/media-libs/libsdl/files/1.2.8-direct-8bit-color.patch

=========================================
missing header for unified diff at line 9 of patch
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/video/SDL_pixels.c
|===================================================================
|RCS file: /home/sdlweb/libsdl.org/cvs/SDL12/src/video/SDL_pixels.c,v
|retrieving revision 1.12
|retrieving revision 1.13
|diff -u -r1.12 -r1.13
|--- src/video/SDL_pixels.c	30 Nov 2004 14:28:20 -0000	1.12
|+++ src/video/SDL_pixels.c	12 Jan 2005 19:38:24 -0000	1.13
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored



My emerge --info:
Portage 2.0.51-r12 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-cko3 i686)
=================================================================
System uname: 2.6.10-cko3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  6 2005, 15:58:34)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.4, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.mirrors.pair.com/ http://chod.cwru.edu/gentoo http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac aalib alsa apm audiofile avi berkdb bitmap-fonts caps cdparanoia cdr crypt cups dvd encode f77 fam flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2 guile imagemagick imlib ipv6 java jikes jpeg kde lcms libg++ libwww mad mikmod mmx mng mozilla mpeg ncurses nls nptl nvidia offensive oggvorbis opengl pam pdflib perl pic png ppds python qt quicktime readline real samba sdl slang sndfile spell sse ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb wmf x86 xine xml xml2 xmms xprint xv xvid xvmc zlib"
Unset:  LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-01-13 18:46:37 UTC

*** This bug has been marked as a duplicate of 77300 ***
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:10 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:37:44 UTC
clean up bug list after bugzilla update