[MacPorts] #61164: Error: Failed to deactivate icu: error deleting "/opt/local/sbin": not owner
MacPorts
noreply at macports.org
Mon Jan 24 21:15:40 UTC 2022
#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
Resolution: | Keywords:
Port: |
-----------------------------+---------------------
Comment (by ryandesign):
Now that the mpbb scripts have been changed to deactivate ports only
before installing dependencies, more or less random builds of ports are
now affected by this problem. For example,
[https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/116722
this build] of recode failed because:
{{{
Error: Failed to deactivate quagga: error deleting
"/opt/local/var/quagga": not owner
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_quagga-1.2.4_0_c99f61b5db228d867868415040150082c2ecf1d7200c9c820ca061776f91e715-3315/quagga/main.log
for details.
Warning: Failed to execute portfile from registry for quagga @1.2.4_0
---> Deactivating quagga @1.2.4_0
error deleting "/opt/local/sbin": not owner
while executing
"::file delete -- $dstfile"
(procedure "_deactivate_file" line 15)
invoked from within
"_deactivate_file $file"
("foreach" body line 2)
invoked from within
"foreach file $files {
_deactivate_file $file
}"
invoked from within
"registry::write {
$port deactivate $imagefiles
foreach file $files {
_deactivate_file $file
..."
invoked from within
"try {
# Block the TERM and INT signals to avoid being interrupted. Note
that
# they might already be block at this point because
..."
(procedure "_deactivate_contents" line 39)
invoked from within
"_deactivate_contents $requested [$requested files] $force"
(procedure "portimage::deactivate" line 82)
invoked from within
"portimage::deactivate [$e name] [$e version] [$e revision] [$e variants]
[list ports_force yes]"
Deactivating quagga @1.2.4_0 failed: error deleting "/opt/local/sbin": not
owner
Processing dependencies for 'recode' failed, aborting.
./mpbb/mpbb: error: `install-dependencies' failed to run successfully
}}}
A
[https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/116757
retry of recode] succeeds presumably since that time quagga wasn't active
before.
I can and maybe should just run the MacPorts installer on all the builders
where that wasn't the way MacPorts was initially installed so that they
all have the .turd_MacPorts files and hopefully all behave the same way
with regard to that.
--
Ticket URL: <https://trac.macports.org/ticket/61164#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list