[MacPorts] #62606: Strange "ports diag" complaint wrt ghc-8.10.4
MacPorts
noreply at macports.org
Fri Apr 2 00:29:29 UTC 2021
#62606: Strange "ports diag" complaint wrt ghc-8.10.4
-----------------------------+--------------------
Reporter: GussyFinkNottle | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: | Port: ghc
-----------------------------+--------------------
port diag returns:
{{{
Warning: couldn't find file
'/opt/local/lib/ghc-8.10.4/time-1*9.3/Data/Time/Calendar/Week.p_hi' for
port 'ghc'. Please deactivate and reactivate the port to fix this issue.
}}}
ls -l /opt/local/lib/ghc-8.10.4/time-1*9.3/Data/Time/Calendar/Week.p_hi
returns:
{{{
-rw-r--r-- 1 macports wheel 17025 Feb 12 15:16
/opt/local/lib/ghc-8.10.4/time-1.9.3/Data/Time/Calendar/Week.p_hi
}}}
ghc itself seems to work fine. It may be relevant that I rarely use
macport's ghc, relying instead on "ghcup", which maintains several
versions of ghc.
(So for me, this bug/glitch, whether it is in "port" or "ghc", is of
supreme unimportance :)
sudo port deactivate ghc returns:
{{{
---> Deactivating ghc @8.10.4_0
Error: Failed to deactivate ghc: this entry does not own the given file
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_ghc-8.10.4_0_1568b9927a7c1a4ff0e0b430009d6fdd4910ba2659f74f6857ed213608cd0c7c-10941/ghc/main.log
for details.
Warning: Failed to execute portfile from registry for ghc @8.10.4_0
---> Deactivating ghc @8.10.4_0
Error: port deactivate failed: this entry does not own the given file
}}}
(The log will be attached.)
--
Ticket URL: <https://trac.macports.org/ticket/62606>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list