port diagnose and xcode

Michele Venturi dardo82 at gmail.com
Fri Mar 11 08:02:47 UTC 2022


What is wrong is that a simple package manager
requires an entire multigigabyte professional IDE;
I have even taken the time to talk to them about it
and file a bug about it,but they clearly don't care...
It's surely not a new issue,it's like that by design...

Il ven 11 mar 2022, 01:40 James Secan <james.secan at gmail.com> ha scritto:

> In working my way through my recent “phantom ports” issue I ran the
> command “port diagnose” and was more than a bit surprised by the output
> line:
>
> Error: currently installed version of Xcode, none, is not supported by
> MacPorts.
>
> followed by a list of the version supported under my version of macOS (El
> Capitan, in this case).  Where is port getting this information?  I have
> Xcode 8.2.0 installed, and none of my attempts to install ports have run
> into any trouble related to Xcode not being installed.  I ran "pkgutil -v
> --pkg-info=com.apple.pkg.CLTools_Executables” which shows that I have 8.2.0
> installed, and the appropriate MacOSX.sdk files are in
> /Library/Developer/CommandLineTools/SDKs.  I also tried this on my test
> Catalina system, with the same result.
>
> Is something wrong with my ports setup?
>
> Jim
> 3222 NE 89th St
> Seattle, WA 98115
> (206) 430-0109
>
> > On Mar 10, 2022, at 12:34 AM, Ryan Schmidt <ryandesign at macports.org>
> wrote:
> >
> > On Mar 9, 2022, at 17:13, James Secan wrote:
> >>
> >> when I run "port upgrade installed -u outdated”
> >
> > This command doesn't make a great deal of sense. You're asking MacPorts
> to upgrade the "installed" ports (which includes those those that are
> outdated and those that aren't) and also the "outdated" ports (those that
> are outdated). It would be simpler and more efficient to just run "sudo
> port -u upgrade outdated". Single-dash/single-letter flags like "-u" go
> after "port" and before the action (the action in this case being
> "upgrade").
> >
> > For completeness, "-u" means "uninstall inactive ports"; if you want to
> keep inactive ports, for example as a safeguard so that you could return to
> them in case something is wrong with the new version, then don't use "-u".
> When you eventually run "sudo port reclaim", that will get rid of the
> inactive versions.
> >
> > MacPorts reminds to run "sudo port reclaim" if you have not done so in a
> few weeks, unless you have configured MacPorts not to remind you.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220311/af4bb12e/attachment.htm>


More information about the macports-users mailing list