Patching 0.8.6j fail

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
copo
Posts: 11
Joined: Mon Oct 09, 2006 1:35 am

Patching 0.8.6j fail

Post by copo »

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
copo
Posts: 11
Joined: Mon Oct 09, 2006 1:35 am

Post by copo »

BTW, this should not related to permission issue since I can write to the files being patched with the same user using vi.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You surely checked at least one of the .rej files?
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest