htmltidy-dbpatch.diff failes to apply when i try to emerge htmltidy-2.7.18-r1 >>> emerge (1 of 1) app-text/htmltidy-2.7.18-r1 to / >>> md5 src_uri ;-) tidy_src_020718.tgz >>> Unpacking source... >>> Unpacking tidy_src_020718.tgz to /var/tmp/portage/htmltidy-2.7.18-r1/work xml * Applying htmltidy-dbpatch.diff... * Failed Patch: htmltidy-dbpatch.diff! * * Include in your bugreport the contents of: * * /var/tmp/portage/htmltidy-2.7.18-r1/temp/htmltidy-dbpatch.diff-28819.out !!! ERROR: app-text/htmltidy-2.7.18-r1 failed. !!! Function epatch, Line 321, Exitcode 0 !!! Failed Patch: htmltidy-dbpatch.diff! Reproducible: Always Steps to Reproduce: 1. 2. 3. root # cat /var/tmp/portage/htmltidy-2.7.18-r1/temp/htmltidy-dbpatch.diff-28819.out ***** htmltidy-dbpatch.diff ***** ================================= PATCH COMMAND: patch -p0 < /usr/portage/app-text/htmltidy/files/htmltidy-dbpatch.diff ================================= patching file include/html.h patching file src/config.c patching file src/lexer.c patching file src/localize.c patching file src/parser.c patching file src/pprint.c Hunk #1 FAILED at 6. 1 out of 6 hunks FAILED -- saving rejects to file src/pprint.c.rej patching file src/tab2space.c patching file src/tidy.c ================================= PATCH COMMAND: patch -p1 < /usr/portage/app-text/htmltidy/files/htmltidy-dbpatch.diff ================================= 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: -------------------------- |--- /cise/tmp/ppadala/tidy/include/html.h Fri May 31 17:52:04 2002 |+++ include/html.h Tue Jul 2 15:04:28 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/config.c Sun Jul 7 23:24:52 2002 |+++ src/config.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 34 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/lexer.c Sun Jul 7 23:25:47 2002 |+++ src/lexer.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 72 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/localize.c Sun Jul 7 23:26:39 2002 |+++ src/localize.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 83 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/parser.c Sun Jul 7 23:27:35 2002 |+++ src/parser.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 94 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/pprint.c Thu Jul 18 14:21:27 2002 |+++ src/pprint.c Tue Jul 30 13:50:53 2002 -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored can't find file to patch at input line 804 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/tab2space.c Wed Feb 6 04:09:37 2002 |+++ src/tab2space.c Sat Jul 6 23:50:55 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 815 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/tidy.c Sun Jul 7 23:29:25 2002 |+++ src/tidy.c Fri Jul 19 01:22:54 2002 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored ================================= PATCH COMMAND: patch -p2 < /usr/portage/app-text/htmltidy/files/htmltidy-dbpatch.diff ================================= 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: -------------------------- |--- /cise/tmp/ppadala/tidy/include/html.h Fri May 31 17:52:04 2002 |+++ include/html.h Tue Jul 2 15:04:28 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 23 of patch can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/config.c Sun Jul 7 23:24:52 2002 |+++ src/config.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 34 of patch can't find file to patch at input line 34 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/lexer.c Sun Jul 7 23:25:47 2002 |+++ src/lexer.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 72 of patch can't find file to patch at input line 72 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/localize.c Sun Jul 7 23:26:39 2002 |+++ src/localize.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 83 of patch can't find file to patch at input line 83 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/parser.c Sun Jul 7 23:27:35 2002 |+++ src/parser.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 94 of patch can't find file to patch at input line 94 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/pprint.c Thu Jul 18 14:21:27 2002 |+++ src/pprint.c Tue Jul 30 13:50:53 2002 -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored missing header for unified diff at line 804 of patch can't find file to patch at input line 804 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/tab2space.c Wed Feb 6 04:09:37 2002 |+++ src/tab2space.c Sat Jul 6 23:50:55 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 815 of patch can't find file to patch at input line 815 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/tidy.c Sun Jul 7 23:29:25 2002 |+++ src/tidy.c Fri Jul 19 01:22:54 2002 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored ================================= PATCH COMMAND: patch -p3 < /usr/portage/app-text/htmltidy/files/htmltidy-dbpatch.diff ================================= 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: -------------------------- |--- /cise/tmp/ppadala/tidy/include/html.h Fri May 31 17:52:04 2002 |+++ include/html.h Tue Jul 2 15:04:28 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 23 of patch can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/config.c Sun Jul 7 23:24:52 2002 |+++ src/config.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 34 of patch can't find file to patch at input line 34 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/lexer.c Sun Jul 7 23:25:47 2002 |+++ src/lexer.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 72 of patch can't find file to patch at input line 72 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/localize.c Sun Jul 7 23:26:39 2002 |+++ src/localize.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 83 of patch can't find file to patch at input line 83 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/parser.c Sun Jul 7 23:27:35 2002 |+++ src/parser.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 94 of patch can't find file to patch at input line 94 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/pprint.c Thu Jul 18 14:21:27 2002 |+++ src/pprint.c Tue Jul 30 13:50:53 2002 -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored missing header for unified diff at line 804 of patch can't find file to patch at input line 804 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/tab2space.c Wed Feb 6 04:09:37 2002 |+++ src/tab2space.c Sat Jul 6 23:50:55 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 815 of patch can't find file to patch at input line 815 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/tidy.c Sun Jul 7 23:29:25 2002 |+++ src/tidy.c Fri Jul 19 01:22:54 2002 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored ================================= PATCH COMMAND: patch -p4 < /usr/portage/app-text/htmltidy/files/htmltidy-dbpatch.diff ================================= 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: -------------------------- |--- /cise/tmp/ppadala/tidy/include/html.h Fri May 31 17:52:04 2002 |+++ include/html.h Tue Jul 2 15:04:28 2002 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 23 of patch can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/config.c Sun Jul 7 23:24:52 2002 |+++ src/config.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 34 of patch can't find file to patch at input line 34 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/lexer.c Sun Jul 7 23:25:47 2002 |+++ src/lexer.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 72 of patch can't find file to patch at input line 72 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/localize.c Sun Jul 7 23:26:39 2002 |+++ src/localize.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 83 of patch can't find file to patch at input line 83 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/parser.c Sun Jul 7 23:27:35 2002 |+++ src/parser.c Sat Jul 13 18:14:47 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 94 of patch can't find file to patch at input line 94 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/pprint.c Thu Jul 18 14:21:27 2002 |+++ src/pprint.c Tue Jul 30 13:50:53 2002 -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored missing header for unified diff at line 804 of patch can't find file to patch at input line 804 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/tab2space.c Wed Feb 6 04:09:37 2002 |+++ src/tab2space.c Sat Jul 6 23:50:55 2002 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 815 of patch can't find file to patch at input line 815 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /cise/tmp/ppadala/tidy/src/tidy.c Sun Jul 7 23:29:25 2002 |+++ src/tidy.c Fri Jul 19 01:22:54 2002 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored root # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(TM) XP 2000+ GENTOO_MIRRORS="<cut not important and very long...>" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline tetex bonobo tcltk java guile X sdl gpm tcpd pam libwww ssl python imlib oggvorbis motif opengl snmp cdr -esd fbcon aalib directfb svga alsa arts -cups doc dvd gd kde -gnome maildir mozilla mysql perl sse usb xface xml qt gtk gtk2" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O3 -pipe" CXXFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j4" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox buildpkg ccache distcc fixpackages"
*** Bug 22232 has been marked as a duplicate of this bug. ***
Created attachment 13309 [details, diff] updated htmltidy-dbpatch.diff that removes the first hunk to pprint.c that causes patch to fail. The hunk that this attachment removes is to CVS header info in the comments at the top of pprint.c and can be removed safely.
*** Bug 22994 has been marked as a duplicate of this bug. ***
thanks Matthew