← Back to team overview

ubuntu-phone team mailing list archive

Re: Debug packages in landing silos

 

On Thu, Sep 25, 2014 at 06:34:02PM +0100, Mathieu Trudel-Lapierre wrote:
> It's been brought up that it would be useful to get -dbgsym packages in
> the landing PPAs; for when there are crashes, it's much easier to debug
> them where you have the symbols.

> Could this be enabled for the ubuntu and ubuntu-rtm silos? I can see how
> it could possibly be an issue for the scripts that handle copying
> packages, since the ddebs shouldn't end up in the archive directly.
> Perhaps it would be good to start with a little bit of testing in the
> pre-production silo?

The dbgsym packages exist, but until dbgsym packages are integrated properly
into launchpad itself, there's really no good way to publish them.  Until
packages are copied to the main archive, the dbgsym packages won't be
available on ddebs.ubuntu.com.

I offered two possible workarounds for this problem on IRC:

 - do a local (cross-)build with DEB_BUILD_OPTIONS=nostrip in the
   environment, and install to your phone from there for testing
 - in your silo branch, set DEB_BUILD_OPTIONS=nostrip in debian/rules

Either will give you unstripped binaries in your package for testing
purposes.  In the latter case, it is absolutely required that this *not*
land into the archive without removing that setting.  That hopefully isn't
an obstacle, since if you're trying to debug a crash you're going to be
doing a fresh merge once you've fixed that crash anyway - but it is one
additional thing to remember.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@xxxxxxxxxx                                     vorlon@xxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


Follow ups

References