Create MythTV packages whose apport stacktraces are not rejected by upstream

Registered by laga

MythTV upstream is currently rejecting stacktraces created by apport using the debugging symbols derived from our packages. Upstreams tells us that certain gcc optimizations like -O3 will render the debugging symbols useless. While we are building MythTV with "--compile-type=debug", we're also using "--enable-proc-opt" which I believe to introduce the gcc -O3 optimization.

Upstream was kind enough to make some suggestions in their IRC channel (#mythtv on freenode):

* Just provide normal debug builds including all the debug symbols, probably without stripping them. This would result in rather slow binaries, probably causing much grief among users with low-end machines or HDTV setups.
* A "mix and match" approach. Performance-critical parts of MythTV like libavcodec and libavformat will be built using -O3 while the rest of MythTV will use debug-friendly optimizations. This should be submitted to upstream to lessen the burden introduce by additional patches on our shoulders and to make our work available to others. It should be configurable as "./configure --compile-type=apport".

Personally, I was often referred to "--compile-type=profile" which is said to produce fast binaries while retaining usable debug symbols. Upstream seems to disagree wether "profile" builds are suitable. We should investigate.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
laga
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
laga
Completed by
laga

Related branches

Sprints

Whiteboard

This has been implemented. If you want to install -dbg packages, use http://ddebs.ubuntu.com as apt source. Alternatively, you can use apport and let Launchpad do the hard work.

We don't have .ddebs for PPAs yet, but that's outside the scope of this document.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.