Discussion:
Bug#870176: libdrm: Make source package bootstrappable
Sven Joachim
2017-07-30 19:52:10 UTC
Permalink
Source: libdrm
Version: 2.4.82-1
Severity: wishlist
libdrm Build-Depends on valgrind
valgrind Build-Depends on gdb
gdb Build-Depends on texlive-base
texlive-base Depends on texlive-binaries
texlive-bin Build-Depends on libgd-dev
libgd2 Build-Depends on libtiff-dev
tiff Build-Depends on freeglut3-dev
freeglut Build-Depends on libgl1-mesa-dev
mesa Build-Depends on libdrm-dev
As far as I can tell, it should be sufficient just to annotate the
Build-Depends with "valgrind <!nocheck>".
Really? There seems to be quite a bit of code that's conditional to
#ifdev HAVE_VALGRIND, e.g. in intel/intel_bufmgr_gem.c, and I don't
think building with the nocheck profile should alter the produced binary
packages.

Cheers,
Sven
Daniel Schepler
2017-07-30 20:03:54 UTC
Permalink
Post by Sven Joachim
Really? There seems to be quite a bit of code that's conditional to
#ifdev HAVE_VALGRIND, e.g. in intel/intel_bufmgr_gem.c, and I don't
think building with the nocheck profile should alter the produced binary
packages.
Hmm, I guess if it's indeed the case that it's generating valgrind
support stub assembly, or something along those lines, then it might
get more complex. It might be necessary to produce libdrm2-stage1
etc. packages with shlibs/symbols set up to generate dependencies on
"libdrm2 | libdrm2-stage1". Either that, or break the cycle somewhere
else, for example maybe by having valgrind able to produce a
valgrind-stage1 package without the correct gdb path encoded in.
--
Daniel
Loading...