[MacPorts] #48653: p7zip can't activate in userland prefix environment
#48653: p7zip can't activate in userland prefix environment ---------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: p7zip@9.38.1 ---------------------+-------------------------------- {{{ % port install p7zip ---> Fetching distfiles for p7zip ---> Attempting to fetch p7zip_9.38.1_src_all.tar.bz2 from http://superb- dca2.dl.sourceforge.net/project/p7zip/p7zip/9.38.1 ---> Verifying checksums for p7zip ---> Extracting p7zip ---> Configuring p7zip ---> Building p7zip ---> Staging p7zip into destroot ---> Installing p7zip @9.38.1_0 ---> Activating p7zip @9.38.1_0 Error: org.macports.activate for port p7zip returned: error deleting "/{{PREFIX}}/var/macports/software/p7zip/mpextractrK2T8jcM/{{PREFIX}}/share/doc/p7zip-9.38.1/DOC/7zC.txt": permission denied Please see the log file for port p7zip for details: /{{PREFIX}}/var/macports/logs/_{{PREFIX}}_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_p7zip/p7zip/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port p7zip failed port install p7zip 188.31s user 27.77s system 274% cpu 1:18.70 total }}} It won't clean either: {{{ % port clean --all p7zip ---> Cleaning p7zip Error: error deleting "/{{PREFIX}}/var/macports/build/_{{PREFIX}}_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_p7zip/p7zip/work/destroot/{{PREFIX}}/share/doc/p7zip-9.38.1/DOC/7zC.txt": permission denied }}} Both of these problems look like they come down to `7zC.txt` having permissions of `100444`. This might be hidden in `root` installs (instead of user installs) because `root` might be able to remove such files without issue. -- Ticket URL: <https://trac.macports.org/ticket/48653> MacPorts <https://www.macports.org/> Ports system for OS X
#48653: p7zip can't activate in userland prefix environment ---------------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: p7zip@9.38.1 | ---------------------------+-------------------------------- Comment (by mtb19@…): Or rather the parent directory (`DOC`) not having write permissions. Either way it's an issue of either overly restrictive permissions or not an aggressive enough removal process. -- Ticket URL: <https://trac.macports.org/ticket/48653#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48653: p7zip @9.38.1: can't activate or clean in non-root prefix environment ----------------------+------------------------------- Reporter: mtb19@… | Owner: stuartwesterman@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: p7zip | ----------------------+------------------------------- Changes (by ryandesign@…): * cc: stuartwesterman@… (removed) * owner: macports-tickets@… => stuartwesterman@… * port: p7zip@9.38.1 => p7zip -- Ticket URL: <https://trac.macports.org/ticket/48653#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48653: p7zip @9.38.1: can't activate or clean in non-root prefix environment ----------------------+------------------------------- Reporter: mtb19@… | Owner: stuartwesterman@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: p7zip | ----------------------+------------------------------- Comment (by ryandesign@…): We should fix this in MacPorts by changing the permissions in a post- extract block, but the developers of p7zip should also be informed of the problem so that they can fix their packaging process and release future versions with the right permissions. -- Ticket URL: <https://trac.macports.org/ticket/48653#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48653: p7zip @9.38.1: can't activate or clean in non-root prefix environment ----------------------+------------------------------- Reporter: mtb19@… | Owner: stuartwesterman@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: p7zip | ----------------------+------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed Comment: This should be fixed in r140698. -- Ticket URL: <https://trac.macports.org/ticket/48653#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts