#15973: rsync: checksum verification failure for patchfiles --------------------------------+------------------------------------------- Reporter: george@reilly.org | Owner: simon@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by ram@macports.org): * cc: ram@macports.org (added) Comment: Seems like theres a problem with the patch files here, as if you fix the checksums then some of the patch hunks fail to apply: {{{ ---> Applying patches to rsync ---> Applying /opt/local/var/macports/distfiles/rsync/fileflags.diff DEBUG: Environment: "MACOSX_DEPLOYMENT_TARGET"='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_ram_opt_macports_net_rsync/work/rsync-3.0.3" && patch -p1' patching file Makefile.in patching file compat.c Hunk #1 succeeded at 41 (offset 1 line). Hunk #2 succeeded at 62 (offset 1 line). Hunk #3 succeeded at 136 (offset 1 line). patching file configure.in patching file flist.c Hunk #1 succeeded at 52 (offset 2 lines). patching file generator.c Hunk #1 succeeded at 42 (offset 2 lines). Hunk #2 succeeded at 168 (offset 2 lines). Hunk #3 succeeded at 176 (offset 2 lines). Hunk #4 succeeded at 303 (offset 2 lines). Hunk #5 succeeded at 609 (offset 2 lines). Hunk #6 succeeded at 679 (offset 2 lines). Hunk #7 succeeded at 1462 (offset 2 lines). Hunk #8 succeeded at 1506 (offset 2 lines). Hunk #9 succeeded at 1549 (offset 2 lines). Hunk #10 FAILED at 2087. 1 out of 10 hunks FAILED -- saving rejects to file generator.c.rej patching file log.c Hunk #1 succeeded at 656 (offset -5 lines). patching file options.c Hunk #3 succeeded at 227 (offset -334 lines). Hunk #4 succeeded at 260 (offset -334 lines). Hunk #5 succeeded at 276 (offset -334 lines). Hunk #6 succeeded at 344 (offset -336 lines). Hunk #7 succeeded at 384 (offset -336 lines). Hunk #8 succeeded at 494 (offset -339 lines). Hunk #9 succeeded at 576 (offset -339 lines). Hunk #10 succeeded at 1878 (offset -392 lines). Hunk #11 succeeded at 1968 (offset -392 lines). patching file rsync.c Hunk #1 succeeded at 32 (offset 1 line). Hunk #2 succeeded at 375 (offset 1 line). Hunk #3 succeeded at 461 (offset 1 line). Hunk #4 succeeded at 497 (offset 1 line). Hunk #5 succeeded at 530 (offset 1 line). Hunk #6 FAILED at 542. Hunk #7 succeeded at 618 with fuzz 1 (offset 1 line). Hunk #8 succeeded at 638 (offset 1 line). 1 out of 8 hunks FAILED -- saving rejects to file rsync.c.rej patching file rsync.h patching file rsync.yo Hunk #1 succeeded at 338 (offset -2 lines). Hunk #2 succeeded at 370 (offset -2 lines). Hunk #3 succeeded at 544 (offset -41 lines). Hunk #4 succeeded at 803 (offset -41 lines). Hunk #5 succeeded at 940 (offset -41 lines). Hunk #6 succeeded at 1218 (offset -48 lines). Hunk #7 succeeded at 1680 (offset -78 lines). Hunk #8 succeeded at 1736 (offset -78 lines). patching file syscall.c patching file t_stub.c patching file util.c Hunk #1 succeeded at 29 (offset 1 line). Hunk #2 succeeded at 124 (offset 1 line). Hunk #3 succeeded at 141 (offset 1 line). Hunk #4 succeeded at 155 (offset 1 line). patching file xattrs.c Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_Users_ram_opt_macports_net_rsync/work/rsync-3.0.3" && patch -p1 < '/opt/local/var/macports/distfiles/rsync/fileflags.diff'" returned error 1 Command output: Hunk #10 succeeded at 1878 (offset -392 lines). Hunk #11 succeeded at 1968 (offset -392 lines). patching file rsync.c Hunk #1 succeeded at 32 (offset 1 line). Hunk #2 succeeded at 375 (offset 1 line). Hunk #3 succeeded at 461 (offset 1 line). Hunk #4 succeeded at 497 (offset 1 line). Hunk #5 succeeded at 530 (offset 1 line). Hunk #6 FAILED at 542. Hunk #7 succeeded at 618 with fuzz 1 (offset 1 line). Hunk #8 succeeded at 638 (offset 1 line). 1 out of 8 hunks FAILED -- saving rejects to file rsync.c.rej patching file rsync.h patching file rsync.yo Hunk #1 succeeded at 338 (offset -2 lines). Hunk #2 succeeded at 370 (offset -2 lines). Hunk #3 succeeded at 544 (offset -41 lines). Hunk #4 succeeded at 803 (offset -41 lines). Hunk #5 succeeded at 940 (offset -41 lines). Hunk #6 succeeded at 1218 (offset -48 lines). Hunk #7 succeeded at 1680 (offset -78 lines). Hunk #8 succeeded at 1736 (offset -78 lines). patching file syscall.c patching file t_stub.c patching file util.c Hunk #1 succeeded at 29 (offset 1 line). Hunk #2 succeeded at 124 (offset 1 line). Hunk #3 succeeded at 141 (offset 1 line). Hunk #4 succeeded at 155 (offset 1 line). patching file xattrs.c Warning: the following items did not execute (for rsync): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/15973#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS