[MacPorts] #66415: cmake @3.24.3 - patch does not work - attempts to patch an empty directory
MacPorts
noreply at macports.org
Mon Dec 12 20:12:41 UTC 2022
#66415: cmake @3.24.3 - patch does not work - attempts to patch an empty directory
------------------------+----------------------
Reporter: snowflake | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.99
Resolution: | Keywords:
Port: cmake |
------------------------+----------------------
Comment (by michaelld):
This works for `cmake`, but not `cmake-devel` ...
Replying to [comment:11 jmroot]:
> In [changeset:"8ae0d73589330693f3b17849fdd5e65f0f56a5c1/macports-base"
8ae0d73589330693f3b17849fdd5e65f0f56a5c1/macports-base] (master):
{{{
$ sudo port -d patch cmake-devel
[snip]
DEBUG: system: cd "/opt/local/var/macports/build
/_opt_sources_MacPorts_ports_github_macports_devel_cmake-devel/cmake-
devel/work" && /opt/local/bin/lbzip2 -dc
'/opt/sources/MacPorts/distfiles/cmake/cmake-
5676593be9bd3a26995f35b9db8fe5b9af8ea32e.tar.bz2' | /usr/bin/tar -xf -
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/build
/_opt_sources_MacPorts_ports_github_macports_devel_cmake-devel/cmake-
devel/work to macports
DEBUG: euid/egid changed to: 503/501
DEBUG: extract.rename: Renaming cmake-
5676593be9bd3a26995f35b9db8fe5b9af8ea32e -> cmake-
5676593be9bd3a26995f35b9db8fe5b9af8ea32e
Error: Failed to extract cmake-devel: error renaming
"/opt/local/var/macports/build
/_opt_sources_MacPorts_ports_github_macports_devel_cmake-devel/cmake-
devel/work/cmake-5676593be9bd3a26995f35b9db8fe5b9af8ea32e" to
"/opt/local/var/macports/build
/_opt_sources_MacPorts_ports_github_macports_devel_cmake-devel/cmake-
devel/work/cmake-5676593be9bd3a26995f35b9db8fe5b9af8ea32e/cmake-
5676593be9bd3a26995f35b9db8fe5b9af8ea32e": trying to rename a volume or
move a directory into itself
DEBUG: Error code: NONE
[snip]
$ pushd $(port work cmake-devel)
/opt/local/var/macports/build
/_opt_sources_MacPorts_ports_github_macports_devel_cmake-devel/cmake-
devel/work /opt/sources/MacPorts/ports/github_macports
$ ll
total 8
drwxrwxrwx 2 macports wheel 64 Dec 12 15:07 .home/
-rw-rw-rw- 1 macports wheel 143 Dec 12 15:07 .macports.cmake-
devel.state
drwxrwxrwx 2 macports wheel 64 Dec 12 15:07 .tmp/
drwxrwxrwx 29 macports wheel 928 Nov 30 08:57 cmake-
5676593be9bd3a26995f35b9db8fe5b9af8ea32e/
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66415#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list