* PICCA Frederic-Emmanuel <frederic-emmanuel.pi...@synchrotron-soleil.fr> 
[2025-03-12 12:31]:
$ gbp clone vcsgit:vitables
$ cd vitables
$ gbp buildpackage --git-builder=sbuild --chroot-mode=unshare --no-clean-source
--anything-failed-commands %s
# inside the chroot
# apt install gdb
# cd /build/reproducible-path/vitables-3.1.0/.pybuild/cpython3_3.13/build
# export DEBUGINFOD_URLS=https://debuginfod.debian.net
# gdb --args python3.13 -m pytest tests
(gdb) bt

Cheers Jochen

I am using the schroot mode where there is not network, so gdb can not download 
the debug info.
Is it possible to activate the network from the chroot or should the network be 
activated before starting the build ?

I am not aware of official documentation how to use schroot without network so I don't know how you did that. Instead I would recommend to switch to the unshare backend as that one runs dpkg-buildpackage without network but you get network in the debug shell. And as a reminder, the buildds use sbuild+unshare for testing and unstable.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to