Error Trying to Patch Bugzilla 5.0.3 to 5.0.4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error Trying to Patch Bugzilla 5.0.3 to 5.0.4

Ritchie, Dennis
When I do a dry run patch ("patch --dry-run -p1 < bugzilla-5.0.3-to-5.0.4.diff") (from /var/www/html/bugzilla)  on CentOS 6.6, I get an error

patching file Bugzilla/CGI.pm
patching file Bugzilla/Config.pm
patching file Bugzilla/Constants.pm
patching file Bugzilla/DB/Sqlite.pm
patching file Bugzilla/Install/Filesystem.pm
patching file Bugzilla/Install/Requirements.pm
patching file Bugzilla/JobQueue.pm
patching file Bugzilla/Migrate.pm
patching file Bugzilla/Template.pm
patching file Bugzilla/Util.pm
patching file attachment.cgi
patching file contrib/jb2bz.py
can't find file to patch at input line 630
Perhaps you used the wrong -p or --strip option?

Then it asks me :  "File to patch: "

Here are lines 628-635:

diff -urN '--exclude=CVS' '--exclude=*.pdf' '--exclude=.bzr' '--exclude=.git' bugzilla-5.0.3/docs/en/html/.buildinfo bugzilla-5.0.4/docs/en/html/.buildinfo
--- bugzilla-5.0.3/docs/en/html/.buildinfo      2018-02-20 19:41:13.516887339 +0000
+++ bugzilla-5.0.4/docs/en/html/.buildinfo      2018-02-20 19:41:34.495902921 +0000
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 994516dc7f842d278b9da6a00b8bc75e
+config: a8b5a6fed0bec34945a7351bcc28abf7
tags: 645f666f9bcd5a90fca523b33c5a78b7


Am I doing the patch command wrong?


I know that I can just use GIT and migrate all of my changes, but I have customized a lot of templates.


Thank You

Dennis Ritchie


_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.