Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76682 - Quake2-icculus 0.16 ebuild fails to apply patch
Summary: Quake2-icculus 0.16 ebuild fails to apply patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL: http://www.icculus.org/quake2/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-04 14:15 UTC by Marcos González
Modified: 2005-01-05 04:46 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 Marcos González 2005-01-04 14:15:21 UTC
The 0.16 version of quake2 icculus is out, and a new ebuild has been added to portage. But it fails to apply a patch to the rogue part (an expansion pack that can be enabled via "rogue" USE flag:



[...]
touch: atenci
Comment 1 Marcos González 2005-01-04 14:15:21 UTC
The 0.16 version of quake2 icculus is out, and a new ebuild has been added to portage. But it fails to apply a patch to the rogue part (an expansion pack that can be enabled via "rogue" USE flag:



[...]
touch: atención `touch 1130175598' está obsoleto, use `touch -t 199811301755.00'/var/tmp/portage/quake2-icculus-0.16/work/quake2-r0.16/src/xatrix/xatrixsrc320.shar:
rogue
 * Applying 0.16-rogue-nan.patch ...

 * Failed Patch: 0.16-rogue-nan.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/quake2-icculus-0.16/temp/0.16-rogue-nan.patch-29915.out


!!! ERROR: games-fps/quake2-icculus-0.16 failed.
!!! Function epatch, Line 410, Exitcode 0
!!! Failed Patch: 0.16-rogue-nan.patch!
!!! If you need support, post the topmost build error, NOT this status message.



The contents of /var/tmp/portage/quake2-icculus-0.16/temp/0.16-rogue-nan.patch-29915.out are:



-nan.patch-29915.out
***** 0.16-rogue-nan.patch *****

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

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.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:
--------------------------
|--- src/rogue/g_local.h.orig   2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h        2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.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:
--------------------------
|--- src/rogue/g_local.h.orig   2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h        2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
patching file g_local.h
Hunk #1 FAILED at 24.
1 out of 1 hunk FAILED -- saving rejects to file g_local.h.rej
================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.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:
--------------------------
|--- src/rogue/g_local.h.orig   2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h        2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.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:
--------------------------
|--- src/rogue/g_local.h.orig   2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h        2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored



Those are my USE flags for building it:

[ebuild     U ] games-fps/quake2-icculus-0.16 [0.15-r2] +aalib -arts -dedicated +ipv6* +noqmax +opengl +rogue +sdl +svga +xatrix 0 kB



And this is my emerge info output:

marcos@Mutsumi marcos $ emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://gentoo.inode.at/source/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/bmg-main /usr/local/overlays/bmg-gnome-current /usr/local/overlays/deltup"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowex S3TC X aac aalib acl acpi acpi4linux alsa apache2 apm artworkextra audiofile avi bash-completion beepmp berkdb blender-game bmp bonobo bzip2 bzlib c++ cacheemu cddb cdparanoia cdr cdrom cgi codecs cpdflib crypt cscope css cups dga directfb divx4linux doc droproot dv dvd dvdr eds emoticon encode esd evo exif exim extensions fam fbcon ffmpeg fftw flac flash fmod foomaticdb fortran freetype ftp gb gd gdbm gif gimp gimpprint gkrellm glade glep glut gnome gnuplot gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hal icon icq icu image imagekits imagemagick imap imlib imlib2 intl ipv6 ithreads j2ee jabber java javascript joystick jp2 jpeg jpeg2k junit justify latex lcd lcms ldap libcaca libwww live lm_sensors lmtp lzw lzw-tiff mad maildir maps mikmod mime mixer mjpeg mmx mmx2 mng mono mozilla moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mplayer msn music mysql mysqli ncurses net network nls nntp nocardbus nomotif noplugin noqmax nptl ntlm nvidia offensive oggvorbis openal opengl oscar oss pam pdf pdflib perl php physfs pic plotutils png pnp ppds print pthreads python qhull quicktime readline real rogue rtc sdl slang smime sounds speex spell sse sse2 ssl stencil-buffer svg svga tcltk tcpd tetex tga theora threads thumbnail tidy tiff timidity truetype truetype-fonts unicode usb userlocales videos vim vim-pager vim-with-x virus-scan vnc wmf xatrix xface xine xinetd xml xml2 xmms xpm xprint xrandr xscreensaver xv xvid xvmc yahoo zlib linguas_en linguas_es"
Comment 2 SpanKY gentoo-dev 2005-01-04 16:54:06 UTC
this fails if you have USE="rogue xatrix"

fixed in cvs
Comment 3 Marcos González 2005-01-04 17:01:47 UTC
Sorry, I didn't understand. Does xatrix and rogue work in CVS or are those use flags (and compiles) disabled in CVS?
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-04 17:39:04 UTC
It is fixed in CVS... that means wait 30 minutes, emerge sync, then try again.
Comment 5 Marcos González 2005-01-05 04:46:15 UTC
It works like a charm. Thank you very much.