[MacPorts] #55575: port -vst install fails with "/usr/bin/tar: No such file or directory"
MacPorts
noreply at macports.org
Mon Mar 12 10:59:57 UTC 2018
#55575: port -vst install fails with "/usr/bin/tar: No such file or directory"
-----------------------+---------------------------------------
Reporter: janstary | Owner: raimue
Type: defect | Status: closed
Priority: Normal | Milestone: MacPorts Future
Component: base | Version: 2.4.2
Resolution: fixed | Keywords: highsierra needs-backport
Port: |
-----------------------+---------------------------------------
Comment (by raimue):
In [changeset:"b58d578a8e1aed0fa186ca059c337589a588e0af/macports-base"
b58d578a8e1aed0fa186ca059c337589a588e0af/macports-base]:
{{{
#!ConfigurableCommitTicketReference repository="macports-base"
revision="b58d578a8e1aed0fa186ca059c337589a588e0af"
sip_copy_proc: Avoid COPYFILE_CLONE
Apple broke the copyfile(3) interface with macOS 10.13.3 High Sierra as
there is no way any more to make it follow symlinks when COPYFILE_CLONE
is used. According to rdar://problem/36469208 this change was
intentional.
Instead of adding more conditionals to check whether the file to clone
is actually a symlink, just do not attempt to clone it at all but make
a normal copy. This will usually only take a few megabytes of disk space
anyway.
Closes: https://trac.macports.org/ticket/55575
(cherry picked from commit 995dde8476c48580db4f6eedfde09e90dc5e8c99)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/55575#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list