[pkg-ggz-maintainers] Bug#621829: ggz-python FTBFS: wrong header path for librsvg

Steve Langasek steve.langasek at canonical.com
Sat Apr 9 07:45:20 UTC 2011


Source: ggz-python
Version: 0.0.14.1-1
Severity: serious
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
User: vorlon at debian.org
Usertags: multiarch

Hi guys,

ggz-python fails to build from source in unstable currently, because it uses
a wrong path when looking for the rsvg headers:

[...]
checking for rsvg_pixbuf_from_file_at_size in -lrsvg-2... yes
checking librsvg-2/librsvg/librsvg-features.h usability... no
checking librsvg-2/librsvg/librsvg-features.h presence... no
checking for librsvg-2/librsvg/librsvg-features.h... no
configure: error: The RSVG library is not or incompletely installed.
make: *** [debian/stamp-autotools] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[...]

Furthermore, the current distutils handling will begin to fail once
libraries such as glib start to switch to multiarch, because
pyrsvgsdl/setup.py.in hard-codes the assumption that the glib headers are
relative to the rsvg install dir, which won't be true at various points
while transitioning to multiarch.

The attached patch from Ubuntu should correct both of these failures: the
first by using the librsvg-2.0/librsvg header path instead of
librsvg-2/librsvg, and the second by invoking pkg-config directly from
setup.py (which at that point doesn't need to be 'setup.py.in' anymore, but
that's not worth diverging from upstream on here).  Please consider applying
this patch, and adding a build-dependency on pkg-config, to ggz-python in
Debian.

-- 
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 at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: librsvg-header.patch
Type: text/x-diff
Size: 2471 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ggz-maintainers/attachments/20110409/34bd2668/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ggz-maintainers/attachments/20110409/34bd2668/attachment.pgp>


More information about the pkg-ggz-maintainers mailing list