Your message dated Thu, 29 Aug 2019 13:37:41 +0200
with message-id 
<CAFX5sbzEZNpE6y395Z6uxATaK=iboh-1un3jd3josoz7p01...@mail.gmail.com>
and subject line --disable-python done in 0.9.39-1
has caused the Debian Bug report #909135,
regarding consider dropping python support from libtevent.a
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
909135: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909135
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: tevent
Version: 0.9.36-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: rebootstrap

I tried cross building tevent and its Build-Depends turn out to be
"difficult" to satisfy. So I looked why they exist and was very
confused.

When building tevent with --disable-python and then comparing the
resulting packages using diffoscope, one can see that indeed there is a
difference. Surprisingly, that difference is limited to the static
libtevent.a. The shared library lacks Python support.

Given that you cannot load a static library into a Python interpreter
and that static linking is discouraged in Debian, it would seem that the
use of Python support in a static library is quite limited. How about
removing it by passing --disable-python?

The resulting simplification of Build-Depends should bring us closer to
cross building tevent.

Helmut
diff --minimal -Nru tevent-0.9.36/debian/changelog 
tevent-0.9.36/debian/changelog
--- tevent-0.9.36/debian/changelog      2018-05-15 15:42:59.000000000 +0200
+++ tevent-0.9.36/debian/changelog      2018-09-18 21:10:58.000000000 +0200
@@ -1,3 +1,10 @@
+tevent (0.9.36-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python support from the static library. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 18 Sep 2018 21:10:58 +0200
+
 tevent (0.9.36-2) unstable; urgency=low
 
   * Upload to unstable
diff --minimal -Nru tevent-0.9.36/debian/control tevent-0.9.36/debian/control
--- tevent-0.9.36/debian/control        2018-03-11 20:53:12.000000000 +0100
+++ tevent-0.9.36/debian/control        2018-09-18 21:10:58.000000000 +0200
@@ -8,8 +8,6 @@
                libtalloc-dev (>= 2.1.11~),
                pkg-config,
                python,
-               python-all-dev (>= 2.6.6-3),
-               python-talloc-dev (>= 2.1.11~)
 Standards-Version: 4.1.3
 Homepage: https://tevent.samba.org/
 Vcs-Browser: https://salsa.debian.org/samba-team/tevent
diff --minimal -Nru tevent-0.9.36/debian/rules tevent-0.9.36/debian/rules
--- tevent-0.9.36/debian/rules  2018-03-11 20:41:47.000000000 +0100
+++ tevent-0.9.36/debian/rules  2018-09-18 21:10:58.000000000 +0200
@@ -19,7 +19,7 @@
 
 override_dh_auto_configure:
        CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --bundled-libraries=NONE \
-                  --disable-rpath --disable-rpath-install \
+                  --disable-rpath --disable-rpath-install --disable-python \
                   --minimum-library-version="$(shell ./debian/autodeps.py 
--minimum-library-version)" \
                   --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
 

--- End Message ---
--- Begin Message ---
Version: 0.9.39-1

It was actually done as part of 0.9.39-1. See 2350a420.

https://salsa.debian.org/samba-team/tevent/commit/2350a420005d0c3c9d8652a63b5cc7f99c7809e3

Regards
-- 
Mathieu Parent

--- End Message ---

Reply via email to