Hi. Thanks for the bug report.
Reinhard Tartler writes ("Bug#1056656: dgit: Crash while running dgit
rpush-source"):
> I've been starting to enjoy `dgit rpush-source` so that I can
> offload my test building from my laptop. This works for many
> repositories/packages, but when it fails, it does so in a way that
> is very hard to diagnose. This is what I end up with:
Hrm. Obviously it shouldn't do that :-).
> siretart@x1:~$ dgit rpush-source
> builder:/home/siretart/packages/golang-github-containers-buildah --new
> experimental
Can you provide me a "steps to reproduce" ?
In particular, can you tell me, in
/home/siretart/packages/golang-github-containers-buildah
what commitid is your HEAD and where can I get it?
What .orig tarballs will I need?
> What's wrong with /usr/bin/dgit line 5544?
That line is trying to bail out due to what it thinks is a violation
of the rpush protocol (between the two dgits). I think it is crashing
because $i_param{'splitbrain'} is undef but $do_split_brain is set.
I think I'll have to repro this locally to diagnose and fix it. I
think there are at least two bugs: 1. whatever caused it to take this
error path 2. when this is detected, the attempt to construct the
error message fails so it crashes even worse.
Reinhard Tartler writes ("Bug#1056656: dgit: Crash while running dgit
rpush-source"):
> Just for the record, in this particular instance, passing the
> argument `--gbp` allowed me to proceed. So I've used this
> invocation:
That's interesting. I preusme that your branch is in fact in
unapplied (gbp) format? So your original invocation (without --gbp)
may have been in error. dgit attempts to detect this mistake and
provide a bespoke error message for it, but (if that's what's
happening here) that isn't working.
> Thanks for providing dgit and its infrastructure. I has really made
> working with debian source packages much more enjoyable!
Thanks for the kind words. You're welcome.
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.