On 07/15/2016 01:11 AM, Helmut Grohne wrote: > Source: libcap-ng > Version: 0.7.7-3 > Severity: wishlist > Tags: patch > > Hi, > > libcap-ng is part of the build-closure of essential and thus needs to be > able to be cross built. On the other hand, cross building python > extensions is currenty non-trivial as the python policy is not yet fully > fleshed out wrt cross building. So to make cross building libcap-ng work > today, I am proposing to make those python extensions optional via a > nopython build profile. Refer to > https://lists.debian.org/debian-cross/2016/04/msg00004.html for a > rationale on the profile name. > > I am attaching a patch that adds the requested support and I hope that > it is not a big maintenance cost. After applying it, libcap-ng cross > builds just fine under the nopython profile. Please consider applying > it. >
Hi Helmut, I have applied your patch and build the package successfully. However, I got a lot of lintian errors related to the profile: Now running lintian... E: libcap-ng source: invalid-profile-name-in-build-profiles-field nopython python-cap-ng E: libcap-ng source: invalid-profile-name-in-build-profiles-field nopython python3-cap-ng W: libcap-ng source: restriction-formula-without-versioned-dpkg-dev-dependency W: libcap-ng source: restriction-formula-with-debhelper-without-debhelper-version E: libcap-ng source: invalid-profile-name-in-source-relation nopython [build-depends: dh-python <!nopython>] E: libcap-ng source: invalid-profile-name-in-source-relation nopython [build-depends: swig <!nopython>] E: libcap-ng source: invalid-profile-name-in-source-relation nopython [build-depends: python-all-dev <!nopython>] E: libcap-ng source: invalid-profile-name-in-source-relation nopython [build-depends: python3-dev <!nopython>] W: libcap-ng source: restriction-formula-without-versioned-dpkg-dev-dependency W: libcap-ng source: restriction-formula-with-debhelper-without-debhelper-version I am running an up to date sid, but it seems the nopython profile is missing. Is that expected ? Thanks, Pierre