Re: Could the multiarch wiki page be explicit about pkgconfig files?
* Simon McVittie <firstname.lastname@example.org>, 2011-09-19, 18:56:
The correct place for debug files is a hash-based path, instead of the
crapfuck we have today.
... but until then, for gdb to pick them up, debug symbols for $THING
must be in /usr/lib/debug/$THING (a general rule, independent of
multiarch), resulting in paths like
for a typical multi-arch library and executable (those two are in
This means any -dbg package that contains symbols for an executable
can't have the Multi-Arch flag set on it yet,
Not everybody was paying attention to this issue when multiarchifying
their packages. A few of them have "Multi-Arch: same" set, but contain
files in /usr/lib/debug/bin or such:
until we have the hash-based paths Josselin mentions.
If you can't wait for proper build-id support in debhelper, you can use
this hacky debhelper script (to be called after dh_strip):