User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; InfoPath.1; .NET CLR 1.0.3705) Build Identifier: 1.1.2 setup: - windows 2000 server - bugzilla version 2.22.1 - testopia version 1.1.2 - mysql 5.0.27 (on win2k) - patch.exe downloaded from http://gnuwin32.sourceforge.net/packages/patch.htm (see bug 362468) - activestate perl version 5.8.7 Reproducible: Always Steps to Reproduce: 1. install bugzilla v2.22.1 2. download patch.exe from http://gnuwin32.sourceforge.net/packages/patch.htm 3. perl tr_install.pl C:\bugzilla\testopia\tools\patch.exe Actual Results: Now installing Testopia ... Patching Bugzilla's files ... Using patch file: C:\bugzilla\testopia\tools\patch.exe Now patching ... patch unexpectedly ends in middle of line testopia\tools\patch.exe: **** Only garbage was found in the patch input. *** Patching of Bugzilla's files failed. None of your files has been modified. Some possible reasons: - Your Bugzilla installation has been modified from the original. > Please scroll up and see if the patch command output you can see above gives y ou any clue. Consult Testopia's installation manual and get ready for some manua l patching. - The patch file used was the wrong version. > If you didn't especify the patch file to use, maybe this installation script p icked up the wrong one. In this case, please, check out in the testopia director y the list of available patch files (files named as patch*) and run the install script especifying the file to use, according to the Bugzilla's version you are using. For instance, if you are using Bugzilla version 2.19.2, this is the comma nd line you should use: tr_install.pl testopia/patch-2.19.2 > If you did in fact especify a patch file on the command line, please, double-c heck your Bugzilla version and the patch file you used and try again. - Testopia is not prepared to work with this particular version of Bugzilla. > Please, check the documentation. Verify that this version of Bugzilla is suppo rted. If you still have problems, please, check out Testopia's installation manual aga in and, if nothing helps, report the problem to Testopia sourceforge forum at ht tp://sourceforge.net/projects/testopia. Install failed. See details above. Expected Results: testopia is installed without errors.
could you verify the contents of testopia/patch-2.22.1. You may need to convert to DOS line endings.
The argument to tr_install is the name of a patch file, not the patch command. Example: tr_install.pl testopia/patch-2.22.1
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → INVALID
"tr_install.pl testopia/patch-2.22.1" results in the following error: C:\bugzilla>perl tr_install.pl testopia/patch-2.22.1 Now installing Testopia ... Patching Bugzilla's files ... Using patch file: testopia/patch-2.22.1 Now patching ... 2 out of 2 hunks FAILED -- saving rejects to file post_bug.cgi.rej 1 out of 1 hunk FAILED -- saving rejects to file enter_bug.cgi.rej 3 out of 3 hunks FAILED -- saving rejects to file checksetup.pl.rej 1 out of 1 hunk FAILED -- saving rejects to file Bugzilla.pm.rej 1 out of 1 hunk FAILED -- saving rejects to file Bugzilla/DB/Schema.pm.rej 1 out of 1 hunk FAILED -- saving rejects to file Bugzilla/Template.pm.rej 1 out of 1 hunk FAILED -- saving rejects to file Bugzilla/DB/Schema/Mysql.pm.rej 1 out of 1 hunk FAILED -- saving rejects to file Bugzilla/DB/Schema/Pg.pm.rej *** Patching of Bugzilla's files failed. None of your files has been modified.
This is probably a UNIX v. DOS line ending problem. Try changing testopia/patch-2.22.1 so that it contains DOS line endings.
that is exactly what was wrong. i converted to dos format, and ran tr_install again - "patch worked flawlessly!" thanks a bunch.
You need to log in before you can comment on or make changes to this bug.