Re: Debugging restore_ports.tcl

2021-02-11 Thread raf
On Wed, Feb 10, 2021 at 08:17:42PM -0600, Ryan Schmidt wrote: > On Feb 9, 2021, at 21:26, Eric Gallager wrote: > > > With git at least, there's a built-in command (`git bisect`) to assist > > with cases like this; would it be possible to add a similar feature to > > the restore_ports.tcl

Re: Debugging restore_ports.tcl

2021-02-10 Thread Ryan Schmidt
On Feb 9, 2021, at 21:26, Eric Gallager wrote: > With git at least, there's a built-in command (`git bisect`) to assist > with cases like this; would it be possible to add a similar feature to > the restore_ports.tcl script? That seems out of scope for what the script is meant to do. It

Re: Debugging restore_ports.tcl

2021-02-09 Thread Eric Gallager via macports-users
On Tue, Feb 9, 2021 at 6:23 AM Pieter van Oostrum wrote: > > Eric Gallager via macports-users writes: > > > On Mon, Feb 8, 2021 at 1:03 PM Ryan Schmidt wrote: > >> > >> > >> > >> On Feb 7, 2021, at 20:59, Eric Gallager wrote: > >> > >> > When restore_ports.tcl gets stuck building its list of

Re: Debugging restore_ports.tcl

2021-02-09 Thread Christopher Jones
> On 9 Feb 2021, at 11:22 am, Pieter van Oostrum > wrote: > > Eric Gallager via macports-users > writes: > >> On Mon, Feb 8, 2021 at 1:03 PM Ryan Schmidt wrote: >>> >>> >>> >>> On Feb 7, 2021, at 20:59, Eric Gallager wrote: >>> When

Re: Debugging restore_ports.tcl

2021-02-09 Thread Pieter van Oostrum
Eric Gallager via macports-users writes: > On Mon, Feb 8, 2021 at 1:03 PM Ryan Schmidt wrote: >> >> >> >> On Feb 7, 2021, at 20:59, Eric Gallager wrote: >> >> > 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

Re: Debugging restore_ports.tcl

2021-02-08 Thread Ryan Schmidt
On Feb 8, 2021, at 18:57, Eric Gallager wrote: > It's the part on the Troubleshooting section of the wiki page where it says: > > If you see an "infinite loop" error message, such as this: > > Error: we appear to be stuck, exiting... > infinite loop >while executing > "sort_ports

Re: Debugging restore_ports.tcl

2021-02-08 Thread Eric Gallager via macports-users
On Mon, Feb 8, 2021 at 1:03 PM Ryan Schmidt wrote: > > > > On Feb 7, 2021, at 20:59, Eric Gallager wrote: > > > 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

Re: Debugging restore_ports.tcl

2021-02-08 Thread Ryan Schmidt
On Feb 7, 2021, at 20:59, Eric Gallager wrote: > 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 don't

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