Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40716 - net-www/w3m-0.4.2-r8 cannot apply patch
Summary: net-www/w3m-0.4.2-r8 cannot apply patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 40717 40724 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-07 05:03 UTC by Andreas Simon
Modified: 2004-02-07 06:19 UTC (History)
1 user (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 Andreas Simon 2004-02-07 05:03:51 UTC
w3m fails to build because of a broken patch.


# emerge -u w3m
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/w3m-0.4.2-r8 to /
>>> md5 src_uri ;-) w3m-cvs-1.890.tar.gz
>>> md5 src_uri ;-) w3m-cvs-1.890-1.896.diff.gz
>>> md5 src_uri ;-) w3m-cvs-1.890-nls-4.diff
>>> Unpacking source...
>>> Unpacking w3m-cvs-1.890.tar.gz to /var/tmp/portage/w3m-0.4.2-r8/work
RUNNING FROM extra_functions.sh
 * Applying w3m-cvs-1.890-1.896.diff.gz...                                                                                            [ ok ]
RUNNING FROM extra_functions.sh
 * Applying w3m-0.4.2-form.diff...

 * Failed Patch: w3m-0.4.2-form.diff!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/w3m-0.4.2-r8/temp/w3m-0.4.2-form.diff-15148.out


!!! ERROR: net-www/w3m-0.4.2-r8 failed.
!!! Function epatch, Line 360, Exitcode 0
!!! Failed Patch: w3m-0.4.2-form.diff!




# cat /var/tmp/portage/w3m-0.4.2-r8/temp/w3m-0.4.2-form.diff-15148.out
***** w3m-0.4.2-form.diff *****

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

PATCH COMMAND:  patch  -p0 < /usr/portage/net-www/w3m/files/w3m-0.4.2-form.diff

===============================
patching file form.c
Hunk #1 FAILED at 1.
1 out of 2 hunks FAILED -- saving rejects to file form.c.rej
===============================

PATCH COMMAND:  patch  -p1 < /usr/portage/net-www/w3m/files/w3m-0.4.2-form.diff

===============================
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: form.c
|===================================================================
|RCS file: /cvsroot/w3m/w3m/form.c,v
|retrieving revision 1.33
|retrieving revision 1.34
|diff -u -r1.33 -r1.34
|--- form.c     26 Sep 2003 17:59:51 -0000      1.33
|+++ form.c     5 Feb 2004 17:23:07 -0000       1.34
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===============================

PATCH COMMAND:  patch  -p2 < /usr/portage/net-www/w3m/files/w3m-0.4.2-form.diff

===============================
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: form.c
|===================================================================
|RCS file: /cvsroot/w3m/w3m/form.c,v
|retrieving revision 1.33
|retrieving revision 1.34
|diff -u -r1.33 -r1.34
|--- form.c     26 Sep 2003 17:59:51 -0000      1.33
|+++ form.c     5 Feb 2004 17:23:07 -0000       1.34
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===============================

PATCH COMMAND:  patch  -p3 < /usr/portage/net-www/w3m/files/w3m-0.4.2-form.diff

===============================
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: form.c
|===================================================================
|RCS file: /cvsroot/w3m/w3m/form.c,v
|retrieving revision 1.33
|retrieving revision 1.34
|diff -u -r1.33 -r1.34
|--- form.c     26 Sep 2003 17:59:51 -0000      1.33
|+++ form.c     5 Feb 2004 17:23:07 -0000       1.34
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===============================

PATCH COMMAND:  patch  -p4 < /usr/portage/net-www/w3m/files/w3m-0.4.2-form.diff

===============================
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: form.c
|===================================================================
|RCS file: /cvsroot/w3m/w3m/form.c,v
|retrieving revision 1.33
|retrieving revision 1.34
|diff -u -r1.33 -r1.34
|--- form.c     26 Sep 2003 17:59:51 -0000      1.33
|+++ form.c     5 Feb 2004 17:23:07 -0000       1.34
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored


# emerge --info
Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2-mm1)
=================================================================
System uname: 2.6.2-mm1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage /opt/portage-kde"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm arts artswrappersuid avi berkdb cdr crypt cups dga dvb dvd encode esd faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 java jpeg kde lcms libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mule ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sasl sdl slang spell sse ssl tcltk tcpd tetex threads tiff truetype unicode x86 xml2 xmms xv zlib"
Comment 1 Andreas Simon 2004-02-07 05:06:42 UTC
BTW, there is also no changelog entry for -r8.
;-)
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-07 05:17:21 UTC
*** Bug 40717 has been marked as a duplicate of this bug. ***
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-07 05:19:25 UTC
Sorry, I committed a patch that contains CVS $Id:$ keyword.
(and it was expanded when I committed) I removed it from the 
patch, so please emerge sync and try again.
Thanks for reporting.
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-07 06:19:34 UTC
*** Bug 40724 has been marked as a duplicate of this bug. ***