Package: systemtap
Version: 2.2.1-1
Tags: patch
User: [email protected]
Usertags: origin-ubuntu saucy ubuntu-patch

Hi guys,

In Ubuntu, I've applied a patch to make systemtap-sdt-dev depend on
python:any instead of on python.  This allows the -dev package for a target
architecture to be installed for cross-compiling, with /usr/bin/dtrace using
the system python instead of trying to pull in the one for a foreign
architecture.

Please be aware that there are some problems with the apt in wheezy
incorrectly believing that the python:any dependency is satisfied by
versions of the python package which do not have the Multi-Arch: allowed
tag; this is discussed in bug #723586, which is now fixed in sid, but you
may want to add a further guard against this for the wheezy apt by setting
the dependency to:

   python:any (>= 2.7.5-5) | python (>= 2.6.6-3)

Thanks for considering the patch.

-- 
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/
[email protected]                                     [email protected]
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2013-05-13 17:42:52 +0000
+++ debian/control	2013-10-12 06:04:22 +0000
@@ -103,7 +103,7 @@
 
 Package: systemtap-sdt-dev
 Architecture: i386 amd64 ia64 s390 powerpc powerpcspe arm armel armeb armhf
-Depends: ${misc:Depends}, python
+Depends: ${misc:Depends}, python:any
 Description: statically defined probes development files
  This package contains header file and executable (dtrace) that
  can be used to add static probes into userspace applications

Reply via email to