Bug 87241 - sqsh-2.1-r1 fails to patch src/config.h
Bug#: 87241 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: seemant@gentoo.org Reported By: rbrown@gentoo.org
Component: Applications
URL: 
Summary: sqsh-2.1-r1 fails to patch src/config.h
Keywords:  
Status Whiteboard: 
Opened: 2005-03-30 03:15 0000
Description:   Opened: 2005-03-30 03:15 0000
The ebuild for sqsh-2.1-r1 tries to patch config.h using the patch command, not
epatch. The compile pauses because patch thinks the supplied patch is reversed,
and asks if it should assume -R. The patch was added from bug 28256, taking out
the patch line doesn't appear to produce the warnings talked about in 28256,
and sqsh works.



Reproducible: Always
Steps to Reproduce:
1. emerge sqsh
2.
3.

Actual Results:  
creating src/config.h
patching file src/config.h
Reversed (or previously applied) patch detected!  Assume -R? [n] 


emerge info

Gentoo Base System version 1.6.10
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 29 2005,
14:02:06)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.9.4, 1.5, 1.6.3, 1.4_p6, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups dvd dvdr
emboss encode fam foomaticdb fortran freetds gdbm gif gnome gpm gstreamer gtk
gtk2 hal howl imlib javascript jpeg libg++ libwww mad mikmod mmap mmx motif
mozilla mp3 mpeg mssql ncurses nls nptl odbc offensive oggvorbis opengl oss pam
pcmcia pdflib perl pic png python quicktime readline samba sdl spell sqlite sse
ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml2 xprint xv
zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #1 From Seemant Kulleen (RETIRED) 2005-04-06 13:51:17 0000 -------
fixed in portage.