Bug#1094199: Sorting by dependencies is not sufficient to solve the problem

2025-02-07 Thread Jonas Smedegaard
Quoting Hilko Bengen (2025-02-07 23:31:43) > Control: tag -1 patch > > * Jonas Smedegaard: > > > Thanks a lot, Hilko! > > > > I have tried to do similar, but using the CPAN library Graph. I will > > have a closer look at your seemingly more lightweight approach. > > Here's a refined versino of

Bug#1094199: Sorting by dependencies is not sufficient to solve the problem

2025-02-07 Thread Hilko Bengen
Control: tag -1 patch * Jonas Smedegaard: > Thanks a lot, Hilko! > > I have tried to do similar, but using the CPAN library Graph. I will > have a closer look at your seemingly more lightweight approach. Here's a refined versino of my patch that will cause dh-rust to throw an error on cycles in

Bug#1094199: Sorting by dependencies is not sufficient to solve the problem

2025-02-07 Thread Jonas Smedegaard
Quoting Hilko Bengen (2025-02-06 00:35:38) > I tinkered around with dh-rust a bit tonight and implemented a function > that tries to sort packages by dependencies rather than dependency > count[1]. This solves the FTBFS issues for some packages, such as > wasmtime, bounded-static. > > Unfortunatel

Bug#1094199: Sorting by dependencies is not sufficient to solve the problem

2025-02-05 Thread Hilko Bengen
Hi, I tinkered around with dh-rust a bit tonight and implemented a function that tries to sort packages by dependencies rather than dependency count[1]. This solves the FTBFS issues for some packages, such as wasmtime, bounded-static. Unfortunately, the sort function hangs if there are dependency