Quoting Alexander Kjäll (2025-09-20 16:55:12) > On Sat, Sep 20, 2025, 16:43 Jonas Smedegaard <d...@jones.dk> wrote: > > > Quoting Alexander Kjäll (2025-09-20 16:08:26) > > > Two quick thoughts from my mobile: > > > > > > Since transitioning through NEW takes so long, I typically upload as much > > > of the dependency tree as possible. But NEW is not a FIFO, so sometimes > > > thing pop out that is not buildable. A similar problem happens if > > something > > > is in NEW a long time and upgrades of it's deps happen. > > > > Do you then upload to experimental? And if not, why? > > > > I have not used experimental, as I do far haven't seen the need. I have no > objections to it if it helps someone.
It helps me (and Debian generally, I assume) that packages do not have missing dependencies or build-dependencies when introduced to unstable, and it is my understanding that when NEW queue is involved there is no way to know if they are missing or not because that would requre a crystal ball. Or am I missing something? > > The processing time through NEW is exactly one of the situations I > > consider a known breakage, when not all dependencies are already > > available in unstable. > > > > > And regarding running tests in debug, debug have additional checks for > > > numeric over-/underflows, something that easily happens when switching > > > between 64 and 32 bit architectures. I believe we catch more bugs if we > > > don't run the tests with --release. > > > > Interesting! Can you point to documentation for this? I would like to > > understand that better. > > > > Here is a section in the book about it: > https://doc.rust-lang.org/book/ch03-02-data-types.html#integer-overflow > > > > It has been my understanding that debug mode builds without optimization > > and therefore fails to catch optimization-related errors. > > > > This is also true I think. > > This would be two different classes of errors, don't know how to prioritise > between them or if we can have them both. Thanks. It looks relatively trivial to enable optimizations to debug mode builds. With dh-rust I am doing the opposite of disabling optimizations conditional to DEB_BUILD_OPTIONS=noopt. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature