[MacPorts] #61164: Error: Failed to deactivate icu: error deleting "/opt/local/sbin": not owner

MacPorts noreply at macports.org
Fri Sep 11 20:14:53 UTC 2020


#61164: Error: Failed to deactivate icu: error deleting "/opt/local/sbin": not
owner
----------------------------+---------------------
 Reporter:  ryandesign      |      Owner:  admin@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  server/hosting  |    Version:  2.6.3
 Keywords:                  |       Port:
----------------------------+---------------------
 On the 10.14 buildbot worker,
 [https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/67031/steps/cleanup/logs/stdio
 deactivating icu fails every time]:

 {{{
 --->  Deactivating icu @67.1_2
 Error: Failed to deactivate icu: error deleting "/opt/local/sbin": not
 owner
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_icu-67.1_2_a378da60f280c35e56f278e217bef6dd27e3c615ab268975ca5f6d68bc3b0f9d-8866/icu/main.log
 for details.
 Warning: Failed to execute portfile from registry for icu @67.1_2
 --->  Deactivating icu @67.1_2
 }}}

 Well, it says "Failed to deactivate", but in fact it does appear to have
 been deactivated.

 I cannot look at the log file because `mpbb cleanup` deletes all MacPorts
 logs.

 I only see this on the 10.14 worker and only the icu port seems to be
 affected.

 I'm not sure what's meant by "not owner". The permissions and ownership of
 /opt/local/sbin look no different than the other directories in
 /opt/local:

 {{{
 $ ls -l /opt/local/
 total 0
 drwxr-xr-x    3 root  wheel    96 Aug 20 19:15 Library
 drwxr-xr-x    5 root  admin   160 Mar 22  2019 apache22
 drwxr-xr-x   42 root  admin  1344 Sep 11 19:56 bin
 drwxr-xr-x  124 root  admin  3968 Sep 11 19:56 etc
 drwxr-xr-x    8 root  admin   256 Sep 11 19:56 lib
 drwxr-xr-x    4 root  admin   128 Sep 11 19:55 libexec
 lrwxr-xr-x    1 root  admin     9 Oct  1  2018 man -> share/man
 drwxr-xr-x    2 root  admin    64 Sep 11 19:56 sbin
 drwxr-xr-x   24 root  admin   768 Sep 11 19:56 share
 drwxr-xr-x   20 root  admin   640 Sep 10 19:46 var
 drwxr-xr-x    3 root  admin    96 Sep  9 19:26 www
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61164>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list