Debugging restore_ports.tcl

2021-02-07 Thread Eric Gallager via macports-users
When restore_ports.tcl gets stuck building its list of ports to restore, is there a way to get it to tell you which ports exactly it's failing to process? i.e., which ports to remove from your myports.txt to get it to continue? I tried adding some additional debugging statements to the script, but

Re: mp stats by category

2021-02-07 Thread Jean-François Caron
Since it's just curiosity a one-off query with the "games" category installations ranked would satisfy me, but it's not worth bothering anyone for it. Jean-François > On Feb 7, 2021, at 08:54, Clemens Lang wrote: > > Hi, > > On Sat, Feb 06, 2021 at 11:30:00PM -0500, Jean-François Caron wrote

Re: stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Ken Cunningham
Our fix changed the baked-in gcc SDK reference from using the MacOSX11.x  and above  to MacOSX.sdk. that fixes a number of broken systems, but not all it appears. Perhaps we should find a way to broaden that down to including MacOSX10.15+ as well, if Catalina is going to be using the MacOSX11

Re: stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Chris Jones
> On 7 Feb 2021, at 11:25 pm, Carlo Tambuatco wrote: > >  > > >> On Feb 7, 2021, at 6:18 PM, Christopher Jones >> wrote: >> >> >> what happens if you set SDKROOT and then try again >> >> export SDKROOT=`xcrun --show-sdk-path` >> >> ? >> > > > Hm… that seems to have done the trick. >

Re: stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Carlo Tambuatco
> On Feb 7, 2021, at 6:18 PM, Christopher Jones > wrote: > > > what happens if you set SDKROOT and then try again > > export SDKROOT=`xcrun --show-sdk-path` > > ? > Hm… that seems to have done the trick. So, what changed between upgrades to gcc9…? It worked fine before. >> On 7 Fe

Re: stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Christopher Jones
what happens if you set SDKROOT and then try again export SDKROOT=`xcrun --show-sdk-path` ? > On 7 Feb 2021, at 11:12 pm, Carlo Tambuatco wrote: > > > >> On Feb 7, 2021, at 5:39 PM, Christopher Jones > > wrote: >> >> macOS 11 brought big changes to how Appl

Re: stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Carlo Tambuatco
> On Feb 7, 2021, at 5:39 PM, Christopher Jones > wrote: > > macOS 11 brought big changes to how Apple versions its SDKs. They now > potentially change each minor update, and as such we had to figure out how to > deal with this. > > gcc is built against a specific SDK, and to handle this un

Re: stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Christopher Jones
macOS 11 brought big changes to how Apple versions its SDKs. They now potentially change each minor update, and as such we had to figure out how to deal with this. gcc is built against a specific SDK, and to handle this unpredictably it was recently changed to use the unversioned SDK, instead o

Re: stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Carlo Tambuatco
Well what's odd is I'm only getting this error after upgrading to the latest macports gcc9. Indeed when I use the XCode provided clang version of gcc, it finds all the required libraries. My CPATH environment variable was sufficient to specify the locations of the libraries before the upgrade, so t

Re: stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Chris Jones
It sounds like your builds are not correctly specifying the SDK gcc is to use. There are a number of ways you can do this, either by pass it via a compiler flag, by running the complication through xcrun, or by setting the SDKROOT variables to the required path. Cheers Chris > On 7 Feb 2021,

stdlib.h compilation error for macports gcc9.

2021-02-07 Thread Carlo Tambuatco
I don’t know if this is a result of updating to the latest macports gcc9, or the update of XCode, but all of a sudden when I try to build my C++ program which includes I get this strange chain reaction of errors. In file included from /opt/local/include/gcc9/c++/ext/string_conversions.h:41,

Re: mp stats by category

2021-02-07 Thread Clemens Lang
Hi, On Sat, Feb 06, 2021 at 11:30:00PM -0500, Jean-François Caron wrote: > I was curious about the most-popular game installation from MacPorts, > but the public website with the stats is pretty minimal: > https://ports.macports.org/statistics/ports/ > > Is there a way to access the underlying da