[MacPorts] #65696: dzip @2.9 Error: Failed to patch dzip: command execution failed
MacPorts
noreply at macports.org
Mon Aug 22 16:03:04 UTC 2022
#65696: dzip @2.9 Error: Failed to patch dzip: command execution failed
---------------------+------------------------
Reporter: RobK88 | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: fixed | Keywords:
Port: dzip |
---------------------+------------------------
Comment (by RobK88):
Thanks Ryan. I just installed XCode and Macports on this Mac running High
Sierra a week or so ago. I have only installed a dozen or so ports.
And I am just using the version of `sed` that came with High Sierra:
{{{
$ which sed
/usr/bin/sed
}}}
On my Mac, it looks like using `reinplace` to change the DOS line endings
(CRLF) to unix line endings (LF) does work just fine unless the last line
of the DOS file is NOT terminated with a CRLF (like is the case with the
dzip's Makefile). But dos2unix appears to handle that edge case just
fine.
And many thanks for the tip regarding exec. It is good to know that one
should be using `system -W` instead of `exec`. It is always good to learn
something new every day!
--
Ticket URL: <https://trac.macports.org/ticket/65696#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list