28.08.2024 06:16, Johannes Schauer Marin Rodrigues wrote:
..
it's qemu. I used debbisect to make sure of this:

$ DEBIAN_BISECT_SRCPKG=picolibc debbisect --cache=./cache 2024-02-26 2024-08-27 
/usr/share/doc/devscripts/examples/debbisect_buildsrc.sh
[...]
bisection finished successfully
   last good timestamp: 20240705T143429Z
   first bad timestamp: 20240705T203346Z
the following packages differ between the last good and first bad timestamp:
   qemu-system-arm 1:8.2.5+ds-2 -> 1:9.0.1+ds-1
   qemu-system-common 1:8.2.5+ds-2 -> 1:9.0.1+ds-1
   qemu-system-data 1:8.2.5+ds-2 -> 1:9.0.1+ds-1
   qemu-system-misc 1:8.2.5+ds-2 -> 1:9.0.1+ds-1

Oh wow.  Ok.

I unfortunately had to look into this because this FTBFS triggers the testing
autoremover for some of my packages (pico-sdk & picotool).

mjt, how would you track this down? Maybe pick one of the failing tests and use
it to bisect QEMU upstream between 8.2.5 and 9.0.1? Do you have a recipe to
"quickly" bisect QEMU for these situations?

First of all, I never heard of picolibc before.  I looked at the source briefly,
and it looks like there's easy-to-run tests in there (in scripts/run-*), and,
unlike many other qemu-system-based tests, this one basically uses qemu-system
as qemu-USER, to run a single binary (which is very uncommon and surprising,
btw), so it should be easy to debug/bisect in qemu.

No, I don't have any "quick" recipe besides the usual git bisect, with building
and running stuff on each step.  If I can reproduce this one (and track it down
to particular scripts/run-foo invocation), it should be rather trivial to repro.
I'll take a look at this hopefully today.

BTW, it is somewhat fun to see such usage of $(shell ..) in a Makefile (d/rules
in this case), like `BUILDPATH=$(shell pwd)/debian/$(BUILDDIR)` (note it is
expanded-at-usage variable, `=` not `:=` - ie, the shell thing run on EVERY
EXPANSION of this thing, and it is expanded on every damn command run from
d/rules! :).

--
GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24.
New key: rsa4096/61AD3D98ECDF2C8E  9D8B E14E 3F2A 9DD7 9199  28F1 61AD 3D98 
ECDF 2C8E
Old key: rsa2048/457CE0A0804465C5  6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 
8044 65C5
Transition statement: http://www.corpit.ru/mjt/gpg-transition-2024.txt

Reply via email to