[MacPorts] #65430: sphinx @2.2.11: error copying org.macports.sphinx.plist: file already exists (was: Cannot install sphinx because it says that it can't overwrite an existing file)

MacPorts noreply at macports.org
Mon Jul 4 05:25:02 UTC 2022


#65430: sphinx @2.2.11: error copying org.macports.sphinx.plist: file already
exists
------------------------+--------------------
  Reporter:  ssandrews  |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.2
Resolution:  duplicate  |   Keywords:
      Port:  sphinx     |
------------------------+--------------------
Changes (by ryandesign):

 * keywords:  install =>
 * status:  new => closed
 * resolution:   => duplicate


Old description:

> I'm trying to install sphinx on a 2021 MacBook Pro (M1 chip) running OS
> 12.4 and it fails because it says that a file already exists, but the
> installer created that file itself. I ran "port clean sphinx" before
> trying again, and confirmed that the file did not exist at that point,
> but I got the same error. Here's the error message. The full log is
> attached as a file.
>
> Error: Failed to destroot sphinx: error copying
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_sphinx/sphinx/work/sphinx-2.2.11-release/org.macports.sphinx.plist"
> to
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_sphinx/sphinx/work/destroot/opt/local/etc/LaunchDaemons/org.macports.sphinx/org.macports.sphinx.plist":
> file already exists
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_sphinx/sphinx/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port sphinx failed

New description:

 I'm trying to install sphinx on a 2021 MacBook Pro (M1 chip) running OS
 12.4 and it fails because it says that a file already exists, but the
 installer created that file itself. I ran "port clean sphinx" before
 trying again, and confirmed that the file did not exist at that point, but
 I got the same error. Here's the error message. The full log is attached
 as a file.

 {{{
 Error: Failed to destroot sphinx: error copying
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_sphinx/sphinx/work/sphinx-2.2.11-release/org.macports.sphinx.plist"
 to
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_sphinx/sphinx/work/destroot/opt/local/etc/LaunchDaemons/org.macports.sphinx/org.macports.sphinx.plist":
 file already exists
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_sphinx/sphinx/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port sphinx failed
 }}}

--

Comment:

 Duplicate of #64122.

-- 
Ticket URL: <https://trac.macports.org/ticket/65430#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list