[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to automatically generate a backtrace from within sbuild



> $ 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 ?



Reply to: