Opened 14 years ago

Closed 14 years ago

#10970 closed defect (fixed)

BUG: py-pcapy patch fails

Reported by: janakj@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: py-pcapy Cc: markd@…
Port:

Description

When trying to install py-pcapy, I get the following error:

--->  Applying patches to py-pcapy
--->  Applying /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python/py-pcapy/files/patch-setup.py
patching file setup.py
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej
Error: Target com.apple.patch returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-pcapy/work/pcapy-0.10.4" && patch -p0 < "/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python/py-pcapy/files/patch-setup.py"" returned error 1
Command output: patching file setup.py
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej

Warning: the following items did not execute (for py-pcapy): com.apple.patch
Error: Status 1 encountered during processing.
$

It appears that the patchfile, while correct, may have CR/LF issues. I built a new patchfile and diff shows the two as different, even though the content is the same. I'd be happy to submit the new patchfile, just let me know how.

Regards,

--janak

Change History (4)

comment:1 Changed 14 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Fixed broken patch.

comment:2 Changed 14 years ago by markd@…

Resolution: fixed
Status: closedreopened

It isn't fixed after all.

comment:3 Changed 14 years ago by markd@…

I'm having seriously weird patch issues. It is line feed problems but I don't understand how they are cropping up in my new patches. Can you submit yours so I can try them?

comment:4 Changed 14 years ago by markd@…

Resolution: fixed
Status: reopenedclosed

Committed a fix as revision 1.

Note: See TracTickets for help on using tickets.