Bug#831362: Bug#840848: libcap-ng FTCBFS: wrong python dependencies

2017-09-25 Thread Manuel A. Fernandez Montecelo
Hi Pierre,

2017-09-25 9:20 GMT+02:00 Pierre Chifflier :
> On 09/25/2017 01:00 AM, Manuel A. Fernandez Montecelo wrote:
>>
>> I am submitting an NMU to delayed/15, debdiff attached, with the
>> combined patches (please Helmut double-check if this is the final form
>> that it was intended).
>>
>> If you want me to cancel the NMU just ask.
>>
>> (BTW, I checked that there are no related lintian warnings that were
>> mentioned in #831362).
>>
>
>
> Hi Manuel,
>
> Thanks for the patch.
> I'm fine with the NMU, just tell me if you prefer me to upload it
> directly (so we do not wait the 15 days).

I could reschedule it to a shorter time, but sure, it's always better
if maintainers ack the change themselves, so please go ahead :)

Thanks and cheers.

-- 
Manuel A. Fernandez Montecelo 



Bug#831362: Bug#840848: libcap-ng FTCBFS: wrong python dependencies

2017-09-25 Thread Pierre Chifflier
On 09/25/2017 01:00 AM, Manuel A. Fernandez Montecelo wrote:
> 
> I am submitting an NMU to delayed/15, debdiff attached, with the
> combined patches (please Helmut double-check if this is the final form
> that it was intended).
> 
> If you want me to cancel the NMU just ask.
> 
> (BTW, I checked that there are no related lintian warnings that were
> mentioned in #831362).
> 


Hi Manuel,

Thanks for the patch.
I'm fine with the NMU, just tell me if you prefer me to upload it
directly (so we do not wait the 15 days).

Regards,
Pierre



Bug#840848: libcap-ng FTCBFS: wrong python dependencies

2016-10-15 Thread Helmut Grohne
Source: libcap-ng
Version: 0.7.7-3
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

libcap-ng fails to cross build from source, because its dependencies
require installing a host architecture python, whose postinst fails.
Indeed, libcap-ng should not request a host architecture python but only
request a host architecture python-dev. The attached patch fixes those
dependencies and makes libcap-ng cross build including the python
extensions.

This patch conflicts with my patch in #831362, but the conflict is
pretty simple to resolve. The patches fix orthogonal issues:
 * This one allows cross building full libcap-ng.
 * #831362 allows building libcap-ng without python (cross or native).

Helmut
diff --minimal -Nru libcap-ng-0.7.7/debian/changelog 
libcap-ng-0.7.7/debian/changelog
--- libcap-ng-0.7.7/debian/changelog2016-07-03 21:05:11.0 +0200
+++ libcap-ng-0.7.7/debian/changelog2016-10-15 16:13:07.0 +0200
@@ -1,3 +1,11 @@
+libcap-ng (0.7.7-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: make python-related Build-Depends cross-satisfiable
+(Closes: #-1)
+
+ -- Helmut Grohne   Sat, 15 Oct 2016 16:08:55 +0200
+
 libcap-ng (0.7.7-3) unstable; urgency=high
 
   * Install libcap-ng so file to /lib (Closes: #829126, #828992)
diff --minimal -Nru libcap-ng-0.7.7/debian/control 
libcap-ng-0.7.7/debian/control
--- libcap-ng-0.7.7/debian/control  2016-04-26 11:00:49.0 +0200
+++ libcap-ng-0.7.7/debian/control  2016-10-15 16:08:53.0 +0200
@@ -8,8 +8,10 @@
 libattr1-dev,
 linux-kernel-headers,
 swig,
-python-all-dev,
-python3-dev
+python-all-dev:any,
+libpython-all-dev,
+python3-dev:any,
+libpython3-dev
 Standards-Version: 3.9.8
 Section: libs
 X-Python-Version: >= 2.6