<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Difficult to build debug version of pycairo"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92567">92567</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Difficult to build debug version of pycairo
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alexandru.balut@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=119029" name="attach_119029" title="Attempt at creating a python3-cairo-dbg package in Debian">attachment 119029</a> <a href="attachment.cgi?id=119029&action=edit" title="Attempt at creating a python3-cairo-dbg package in Debian">[details]</a></span>
Attempt at creating a python3-cairo-dbg package in Debian
When developing a Gtk app in Python, it's useful to be able to debug segfaults
taking place in the C backend. The Python backtrace provided by gdb is pretty
useless unless the debug packages are installed, for example:
<a href="https://packages.debian.org/search?keywords=python3-dbg">https://packages.debian.org/search?keywords=python3-dbg</a> Without the debug
packages, useful info like the method names are "optimized out" and are not
displayed.
In Debian, debugging Gtk apps with python3-dbg does not seem to be possible
because there is no debug version of python3-cairo. For example, there is a
debug version of python-cairo called python-cairo-dbg, but there is no
python3-cairo-dbg for python3-cairo.
I poked about this in oftc.net #debian-python and I was told:
<p1otr> add binary package in debian/control, add python3-all-dbg to
Build-Depends and if you use pybuild, that's all
<p1otr> my first try was: 315465 but then I realized it's waf so I give up,
life is too short for waf
<p1otr> (if you want to continue: the problem is with waf using some options
from dbg interpreter and some from regular one, f.e. it calls pythnon3.5-config
instead of python3.5-dbg-config)
See the attachment for the attempt at creating python3-cairo-dbg.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>