Opened 4 years ago
Last modified 4 years ago
#61417 new defect
Error with upgrade outdated
Reported by: | prtouatisid (S. Touati) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hello everyone, I have a mysterious error in my port installation. I uninstalled all macport and reinstalled it many times, the problem is not solved. I have Xcode 12 installed on MacOs catalina 10.15.7 Here are my problems:
sh-3.2# port upgrade outdated Error: Follow https://guide.macports.org/#project.tickets to report a bug.
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.
Any help ? thanks in advance S
Change History (3)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Note: See
TracTickets for help on using
tickets.
Replying to prtouatisid:
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.
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.