Re: Could the multiarch wiki page be explicit about pkgconfig files?
- To: debian-devel@lists.debian.org
- Subject: Re: Could the multiarch wiki page be explicit about pkgconfig files?
- From: Jakub Wilk <jwilk@debian.org>
- Date: Mon, 31 Oct 2011 23:12:51 +0100
- Message-id: <[🔎] 20111031221251.GA2227@jwilk.net>
- Mail-followup-to: debian-devel@lists.debian.org
- In-reply-to: <20110919175613.GA9298@reptile.pseudorandom.co.uk>
- References: <E1R5S7a-0001hq-UC@tytso-glaptop.cam.corp.google.com> <87aaa12ffv.fsf@qurzaw.varnish-software.com> <20110919165201.GA29785@thunk.org> <1316451665.12838.4.camel@tomoyo> <20110919175613.GA9298@reptile.pseudorandom.co.uk>
* Simon McVittie <smcv@debian.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
/usr/lib/debug/lib/x86_64-linux-gnu/libdbus-1.so.3.6.3
/usr/lib/debug/usr/bin/dbus-send
for a typical multi-arch library and executable (those two are in
dbus-dbg).
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:
libpango1.0-0-dbg
libpcre3-dbg
liblua5.1-0-dbg
libgtk2.0-0-dbg
libc0.1-dbg
libc6-dbg
libnss3-1d-dbg
librsvg2-dbg
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):
http://anonscm.debian.org/viewvc/python-modules/packages/gamera/trunk/debian/dh_buildid?view=co
--
Jakub Wilk
Reply to: