Problem with Qt patch
Chris Staub
chris at beaker67.com
Wed Dec 26 16:13:11 MST 2007
Randy McMurchy wrote:
>
> You are the second person to say this, however, most
> (including me) only receive a message during the patch's
> installation, but it installs okay.
What message?
> Could you give the *exact* error message you get, and
> the result of the process when you use the instructions
> in the book?
>
> I'm not a big fan of taking patches from a maintainer,
> changing it, then installing it into the BLFS repo. The
> reason being that we can't tell if the maintainer changes
> the patch and leaves the name the same which would make
> our patch obsolete without any way of even knowing it.
>
> Additionally, by retrieving it from the maintainer, it is
> likely that if there are other patches, it would be
> discovered easier than if we are using the BLFS repo.
>
> Thanks for any additional help or comments you may have,
> Chris. I searched the mail archives for the last time this
> issue came up, but I didn't get any good results. I'm not
> real good at using the LFS search tool.
Just showing every step here to verify that I'm using the same patch
that's in the book, and I even pasted the patch command from the book...
chris at chris:~$ wget
http://www.trolltech.com/developer/download/Qt-3.3.8-UTF-8-fix.diff
--18:06:27--
http://www.trolltech.com/developer/download/Qt-3.3.8-UTF-8-fix.diff
=> `Qt-3.3.8-UTF-8-fix.diff'
Resolving www.trolltech.com... 62.70.27.147
Connecting to www.trolltech.com|62.70.27.147|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://trolltech.com/developer/download/Qt-3.3.8-UTF-8-fix.diff [following]
--18:06:27--
http://trolltech.com/developer/download/Qt-3.3.8-UTF-8-fix.diff
=> `Qt-3.3.8-UTF-8-fix.diff'
Resolving trolltech.com... 62.70.27.147
Reusing existing connection to www.trolltech.com:80.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://dist.trolltech.com/developer/download/Qt-3.3.8-UTF-8-fix.diff
[following]
--18:06:28--
http://dist.trolltech.com/developer/download/Qt-3.3.8-UTF-8-fix.diff
=> `Qt-3.3.8-UTF-8-fix.diff'
Resolving dist.trolltech.com... 62.70.27.149
Connecting to dist.trolltech.com|62.70.27.149|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,976 (2.9K) [text/plain]
100%[====================================>] 2,976 --.--K/s
18:06:29 (22.73 KB/s) - `Qt-3.3.8-UTF-8-fix.diff' saved [2976/2976]
chris at chris:~$ tar xf qt-x11-free-3.3.8.tar.bz2
chris at chris:~$ cd qt-x11-free-3.3.8
chris at chris:~/qt-x11-free-3.3.8$ patch -Np0 -i ../Qt-3.3.8-UTF-8-fix.diff
patching file src/codecs/qutfcodec.cpp
Hunk #1 FAILED at 154.
Hunk #2 FAILED at 168.
Hunk #3 FAILED at 184.
Hunk #4 FAILED at 194.
Hunk #5 FAILED at 205.
5 out of 5 hunks FAILED -- saving rejects to file
src/codecs/qutfcodec.cpp.rej
patching file src/tools/qstring.cpp
Hunk #1 FAILED at 5805.
Hunk #2 FAILED at 5823.
Hunk #3 FAILED at 5851.
3 out of 3 hunks FAILED -- saving rejects to file src/tools/qstring.cpp.rej
chris at chris:~/qt-x11-free-3.3.8$ file ../Qt-3.3.8-UTF-8-fix.diff
../Qt-3.3.8-UTF-8-fix.diff: ASCII C++ program text, with CRLF line
terminators
More information about the blfs-dev
mailing list