|
|
| Author |
Message |
copo
Joined: 09 Oct 2006 Posts: 9
|
Posted: Thu Aug 16, 2007 3:04 am Post subject: Patching 0.8.6j fail |
|
|
Hello,
I'm having problem on patching a newly installed 0.8.6j. This installation is brand new and haven't modified anything, just extract right out of the tarball. I have downloaded those patch files and try to patch but I got everything failed.
I have also tried to patch the file in a test directory which contain the extracted cacti 0.8.6j files but still fail, I'm not sure where is the problem.
Interestingly I have tried to download 0.8.6i and those 0.8.6i patch files, the patch work flawlessly.
Please kindly help to take a look, thank you!
Output when patching 0.8.6j as follow:
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < ping_php_version4_snmpgetnext.patch
patching file lib/ping.php
Hunk #1 FAILED at 281.
Hunk #2 FAILED at 295.
Hunk #3 FAILED at 306.
3 out of 3 hunks FAILED -- saving rejects to file lib/ping.php.rej
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < tree_console_missing_hosts.patch
patching file lib/html_tree.php
Hunk #1 FAILED at 328.
Hunk #2 FAILED at 365.
2 out of 2 hunks FAILED -- saving rejects to file lib/html_tree.php.rej
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < thumbnail_graphs_not_working.patch
patching file lib/rrd.php
Hunk #1 FAILED at 1080.
1 out of 1 hunk FAILED -- saving rejects to file lib/rrd.php.rej
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < graph_debug_lockup_fix.patch
patching file lib/rrd.php
Hunk #1 FAILED at 83.
Hunk #2 FAILED at 92.
2 out of 2 hunks FAILED -- saving rejects to file lib/rrd.php.rej
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < snmpwalk_fix.patch
patching file lib/snmp.php
Hunk #1 FAILED at 219.
1 out of 1 hunk FAILED -- saving rejects to file lib/snmp.php.rej |
|
| Back to top |
|
 |
copo
Joined: 09 Oct 2006 Posts: 9
|
Posted: Thu Aug 16, 2007 3:35 am Post subject: |
|
|
| BTW, this should not related to permission issue since I can write to the files being patched with the same user using vi. |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Thu Aug 16, 2007 2:12 pm Post subject: |
|
|
You surely checked at least one of the .rej files?
Reinhard |
|
| Back to top |
|
 |
|