[MacPorts] #28350: py25-pip: won't install du to "file already exists" error
#28350: py25-pip: won't install du to "file already exists" error ------------------------------+--------------------------------------------- Reporter: brejoc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py25-pip ------------------------------+--------------------------------------------- When I try to install py25-pip macports tells me it can't rename '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip' to '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5' because the file would already exist. This is true, but pip-2.5 is created during the installation process. The error part from main.log: ----------------------- {{{ :error:destroot Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5": file already exists :debug:destroot Backtrace: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5": file already exists while executing "$post $targetname" }}} -- Ticket URL: <https://trac.macports.org/ticket/28350> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28350: py25-pip: won't install du to "file already exists" error ------------------------------+--------------------------------------------- Reporter: brejoc@… | Owner: arthurk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py25-pip ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => arthurk@… -- Ticket URL: <https://trac.macports.org/ticket/28350#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28350: py-pip, py25-pip: won't install due to "file already exists" error ------------------------------+--------------------------------------------- Reporter: brejoc@… | Owner: arthurk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py-pip, py25-pip ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * cc: shabbyrobe@… (added) * port: py25-pip => py-pip, py25-pip Comment: Has duplicate #28451 which points out this also affects py-pip. -- Ticket URL: <https://trac.macports.org/ticket/28350#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28350: py-pip, py25-pip: won't install due to "file already exists" error ------------------------------+--------------------------------------------- Reporter: brejoc@… | Owner: arthurk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py-pip, py25-pip ------------------------------+--------------------------------------------- Comment(by trinosauro@…): Replying to [ticket:28350 brejoc@…]: I'm having exactly the same problem with MacPorts 1.9.2 on Mac OS X 10.6.6. I only get this error for py25-pip, the Python 2.5 version of pip. I tried to port install py26-pip and py27-pip and it worked fine for both packages.
When I try to install py25-pip macports tells me it can't rename '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip' to '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5' because the file would already exist.
This is true, but pip-2.5 is created during the installation process.
The error part from main.log: ----------------------- {{{ :error:destroot Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5": file already exists :debug:destroot Backtrace: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/work/destroot/opt/local/bin/pip-2.5": file already exists while executing "$post $targetname" }}}
-- Ticket URL: <https://trac.macports.org/ticket/28350#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28350: py-pip, py25-pip: won't install due to "file already exists" error ------------------------------+--------------------------------------------- Reporter: brejoc@… | Owner: arthurk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py-pip, py25-pip ------------------------------+--------------------------------------------- Comment(by chris.rocco@…): % sudo port install py-pip Password: ---> Computing dependencies for py-pip ---> Staging py-pip into destroot Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-pip/work/destroot/opt/local/bin/pip" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-pip/work/destroot/opt/local/bin/pip-2.4": file already exists Log for py-pip is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-pip/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> I'm using MacPorts 1.9.2 on OS X 10.5.8. -- Ticket URL: <https://trac.macports.org/ticket/28350#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28350: py-pip, py25-pip: won't install due to "file already exists" error ------------------------------+--------------------------------------------- Reporter: brejoc@… | Owner: arthurk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py-pip, py25-pip ------------------------------+--------------------------------------------- Comment(by ray@…): Same also. Using MacPorts 1.9.2 on OS X 10.6.7. Any chance of a fix? -- Ticket URL: <https://trac.macports.org/ticket/28350#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28350: py-pip, py25-pip: won't install due to "file already exists" error ------------------------------+--------------------------------------------- Reporter: brejoc@… | Owner: arthurk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py-pip, py25-pip ------------------------------+--------------------------------------------- Comment(by me@…): Same problem with py25-pip on MacPorts 2.0.3 OSX 10.7.2 {{{ ---> Computing dependencies for py25-pip ---> Fetching archive for py25-pip ---> Attempting to fetch py25-pip-1.0.2_1.darwin_11.x86_64.tgz from http://packages.macports.org/py25-pip ---> Fetching py25-pip ---> Verifying checksum(s) for py25-pip ---> Extracting py25-pip ---> Configuring py25-pip ---> Building py25-pip ---> Staging py25-pip into destroot Error: Target org.macports.destroot returned: error renaming "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/py25-pip/work/destroot/opt/local/bin/pip" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/py25-pip/work/destroot/opt/local/bin/pip-2.5": file already exists Log for py25-pip is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-pip/py25-pip/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- Ticket URL: <https://trac.macports.org/ticket/28350#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28350: py-pip, py25-pip: won't install due to "file already exists" error -------------------------------+-------------------------------------------- Reporter: brejoc@… | Owner: arthurk@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: py-pip, py25-pip | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r89397 -- Ticket URL: <https://trac.macports.org/ticket/28350#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts