[MacPorts] #61417: Error with upgrade outdated
MacPorts
noreply at macports.org
Mon Nov 9 12:30:17 UTC 2020
#61417: Error with upgrade outdated
--------------------------+--------------------
Reporter: prtouatisid | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Comment (by ryandesign):
Replying to [ticket:61417 prtouatisid]:
> Here are my problems:
> {{{
> sh-3.2# port upgrade outdated
> Error: Follow https://guide.macports.org/#project.tickets to report a
bug.
> }}}
This could indicate a circular dependency. MacPorts does not allow
circular dependencies, but there is no way to prevent portfile authors
from creating them so it does happen from time to time and MacPorts does
not print a reasonable error message when one occurs. We would like to
know which ports are causing this so that we can hopefully fix it.
Try running `port outdated` to see what ports are outdated and then
upgrading a few ports at a time. If you get the error again, continue to
upgrade other ports until you're left with only ports that produce the
error. Let us know what those ports are.
Sometimes circular dependencies arise only when selecting a port's non-
default variants. If that's the case for the ports you have installed that
have this problem, you could work around it by installing the port with
its default variants. After everything is updated, you should be able to
reinstall the port with the additional variants you want.
> another problem:
> {{{
> sh-3.2# port clean
> Can't map the URL 'file://.' to a port description file ("Could not find
Portfile in /Users/mylogin").
> Please verify that the directory and portfile syntax are correct.
> To use the current port, you must be in a port's directory.
> }}}
You did not name which port(s) you want to clean, so MacPorts assumes you
want to use a Portfile in the current directory, but there isn't one.
--
Ticket URL: <https://trac.macports.org/ticket/61417#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list