[MacPorts] #48653: p7zip can't activate in userland prefix environment

MacPorts noreply at macports.org
Thu Aug 20 15:34:06 PDT 2015


#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 at 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


More information about the macports-tickets mailing list