Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110662 - libwww-5.4.0-r4 fails to apply libwww-5.4.0-htbound.patch
Summary: libwww-5.4.0-r4 fails to apply libwww-5.4.0-htbound.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 110669 110697 110746 110757 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-27 18:42 UTC by Gregg Casillo
Modified: 2005-10-28 19:40 UTC (History)
5 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 Gregg Casillo 2005-10-27 18:42:58 UTC
>>> Unpacking libwww-5.4.0-debian-autoconf-2.5.patch.bz2 
to /var/tmp/portage/libwww-5.4.0-r4/work 
 * Applying libwww-config-liborder.patch ...                                                                                                 
[ ok ] 
 * Applying libwww-5.4.0-debian-autoconf-2.5.patch ...                                                                                       
[ ok ] 
 * Applying libwww-5.4.0-autoconf-gentoo.diff ...                                                                                            
[ ok ] 
 * Applying libwww-5.4.0-automake-gentoo.diff ...                                                                                            
[ ok ] 
 * Applying libwww-5.4.0-disable-ndebug-gentoo.diff ...                                                                                      
[ ok ] 
 * Applying libwww-5.4.0-mysql-4.1.patch ...                                                                                                 
[ ok ] 
 * Applying libwww-5.4.0-htbound.patch ... 
 
 * Failed Patch: libwww-5.4.0-htbound.patch ! 
 *  ( /usr/portage/net-libs/libwww/files/libwww-5.4.0-htbound.patch ) 
 * 
 * Include in your bugreport the contents of: 
 * 
 
*   /var/tmp/portage/libwww-5.4.0-r4/temp/libwww-5.4.0-htbound.patch-26718.out 
 
Contents of that file: 
 
poe ~ # 
cat /var/tmp/portage/libwww-5.4.0-r4/temp/libwww-5.4.0-htbound.patch-26718.out 
***** libwww-5.4.0-htbound.patch ***** 
 
====================================== 
 
PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch 
< /usr/portage/net-libs/libwww/files/libwww-5.4.0-htbound.patch 
 
====================================== 
can't find file to patch at input line 4 
Perhaps you used the wrong -p or --strip option? 
The text leading up to this was: 
-------------------------- 
|diff -NurdB w3c-libwww-5.4.0/Library/src/HTBound.c 
w3c-libwww-5.4.0-patched/Library/src/HTBound.c 
|--- w3c-libwww-5.4.0/Library/src/HTBound.c     1999-02-22 17:10:10.000000000 
-0500 
|+++ w3c-libwww-5.4.0-patched/Library/src/HTBound.c     2005-10-27 
08:23:47.000000000 -0500 
-------------------------- 
No file to patch.  Skipping patch. 
5 out of 5 hunks ignored 
====================================== 
 
PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch 
< /usr/portage/net-libs/libwww/files/libwww-5.4.0-htbound.patch 
 
====================================== 
patching file Library/src/HTBound.c 
Hunk #1 FAILED at 3. 
1 out of 5 hunks FAILED -- saving rejects to file Library/src/HTBound.c.rej 
====================================== 
 
PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch 
< /usr/portage/net-libs/libwww/files/libwww-5.4.0-htbound.patch 
 
====================================== 
can't find file to patch at input line 4 
Perhaps you used the wrong -p or --strip option? 
The text leading up to this was: 
-------------------------- 
|diff -NurdB w3c-libwww-5.4.0/Library/src/HTBound.c 
w3c-libwww-5.4.0-patched/Library/src/HTBound.c 
|--- w3c-libwww-5.4.0/Library/src/HTBound.c     1999-02-22 17:10:10.000000000 
-0500 
|+++ w3c-libwww-5.4.0-patched/Library/src/HTBound.c     2005-10-27 
08:23:47.000000000 -0500 
-------------------------- 
No file to patch.  Skipping patch. 
5 out of 5 hunks ignored 
====================================== 
 
PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch 
< /usr/portage/net-libs/libwww/files/libwww-5.4.0-htbound.patch 
 
====================================== 
can't find file to patch at input line 4 
Perhaps you used the wrong -p or --strip option? 
The text leading up to this was: 
-------------------------- 
|diff -NurdB w3c-libwww-5.4.0/Library/src/HTBound.c 
w3c-libwww-5.4.0-patched/Library/src/HTBound.c 
|--- w3c-libwww-5.4.0/Library/src/HTBound.c     1999-02-22 17:10:10.000000000 
-0500 
|+++ w3c-libwww-5.4.0-patched/Library/src/HTBound.c     2005-10-27 
08:23:47.000000000 -0500 
-------------------------- 
No file to patch.  Skipping patch. 
5 out of 5 hunks ignored 
====================================== 
 
PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch 
< /usr/portage/net-libs/libwww/files/libwww-5.4.0-htbound.patch 
 
====================================== 
missing header for unified diff at line 4 of patch 
can't find file to patch at input line 4 
Perhaps you used the wrong -p or --strip option? 
The text leading up to this was: 
-------------------------- 
|diff -NurdB w3c-libwww-5.4.0/Library/src/HTBound.c 
w3c-libwww-5.4.0-patched/Library/src/HTBound.c 
|--- w3c-libwww-5.4.0/Library/src/HTBound.c     1999-02-22 17:10:10.000000000 
-0500 
|+++ w3c-libwww-5.4.0-patched/Library/src/HTBound.c     2005-10-27 
08:23:47.000000000 -0500 
-------------------------- 
No file to patch.  Skipping patch. 
5 out of 5 hunks ignored 

Reproducible: Always
Steps to Reproduce:
1. emerge world -u (which includes libwww-5.4.0-r4) 
2. fails to apply libwww-5.4.0-htbound.patch 
3. file bug report 
 


Expected Results:  
Patch successfully applied; libwww-5.4.0 upped to -r4.
Comment 1 Ben Taylor 2005-10-27 21:45:10 UTC
I've encountered this same problem:
 * Applying libwww-5.4.0-htbound.patch ...

 * Failed Patch: libwww-5.4.0-htbound.patch !
 *  ( /usr/portage/net-libs/libwww/files/libwww-5.4.0-htbound.patch )

I couldn't see a difference in our libwww-5.4.0-htbound.patch-21409.out files.
Comment 2 Goyo Roth 2005-10-27 22:31:31 UTC
I've seen this problem as well. I altered the patch accordingly and attached it
to bug #109040, the solution to which brought this problematic patch about in
the first place.
Comment 3 Ben Taylor 2005-10-27 22:56:48 UTC
I don't know here from there with regards to bug #109040, but I figure it may
still help to share my observations.  I compared the patch to HTBound.c, and
discovered that every change to code appeared to have already been applied; the
only addition I could see was a comment:

**	@(#) HTBound.c,v 1.2 2005/06/06 15:22:10 mrsam Exp
for
**	@(#) $Id: HTBound.c,v 2.14 1999/02/22 22:10:10 frystyk Exp $

I created a local ebuild & commented out the patch command for HTBound.c; libwww
has built fine.
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2005-10-28 00:14:23 UTC
lu_zero just brought this to my attention, and it should be fixed in CVS. Sorry
for the inconvenience.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-10-28 01:01:45 UTC
*** Bug 110669 has been marked as a duplicate of this bug. ***
Comment 6 Gregg Casillo 2005-10-28 02:23:11 UTC
Thumbs up. Working now. Thanks! 
Comment 7 Daan van den Berg 2005-10-28 03:30:47 UTC
Great job! Didn't really know how to apply the new patch but I figured it out
after all... still a little n00b-ish over here ;)
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-10-28 06:15:02 UTC
*** Bug 110697 has been marked as a duplicate of this bug. ***
Comment 9 Leonardo Boshell (RETIRED) gentoo-dev 2005-10-28 15:16:44 UTC
*** Bug 110746 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-10-28 19:40:52 UTC
*** Bug 110757 has been marked as a duplicate of this bug. ***