Your message dated Tue, 28 Nov 2017 06:48:42 +0000
with message-id <[email protected]>
and subject line Bug#882786: fixed in mlpcap 0.9-17.1
has caused the Debian Bug report #882786,
regarding FTBFS against ffcall 2.0: can't find callback library
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.)
--
882786: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882786
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:mlpcap
Version: 0.9-17
Severity: serious
Dear Maintainer,
mlpacp FTBFS against ffcall 2.0, that has just been uploaded to unstable.
The minimal fix consists in changing the symbol from the callback library that
is tested in conigure.in (replacing "alloc_trampoline_r" by
"callback_trampoline_alloc").
I attach a patch that implements more than this minimal fix:
- it uses the new preferred name for the -dev package
- and it relies on the new libffcall.so (instead of the former libcallback.so,
which still exists for backward compatibility).
Best,
--
⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁ Debian Developer
⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀ http://www.debian.org
diff -Nru mlpcap-0.9/debian/changelog mlpcap-0.9/debian/changelog
--- mlpcap-0.9/debian/changelog 2017-08-08 15:50:26.000000000 +0200
+++ mlpcap-0.9/debian/changelog 2017-11-09 15:33:21.000000000 +0100
@@ -1,3 +1,11 @@
+mlpcap (0.9-17.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Replace libffcall1-dev by libffcall-dev.
+ * 08_ffcall.diff: new patch for compiling against ffcall ≥ 2.0. (Closes: #-1)
+
+ -- Sébastien Villemot <[email protected]> Thu, 09 Nov 2017 15:33:21 +0100
+
mlpcap (0.9-17) unstable; urgency=medium
[ Stéphane Glondu ]
diff -Nru mlpcap-0.9/debian/control mlpcap-0.9/debian/control
--- mlpcap-0.9/debian/control 2017-08-08 15:49:12.000000000 +0200
+++ mlpcap-0.9/debian/control 2017-11-09 15:33:21.000000000 +0100
@@ -8,7 +8,7 @@
debhelper (>= 10),
ocaml-nox (>= 3.10.0-9),
camlidl (>= 1.05-10),
- libffcall1-dev,
+ libffcall-dev,
ocaml-findlib (>= 1.1.2pl1-4),
libpcap0.8-dev,
dh-ocaml (>= 0.9.1)
@@ -26,7 +26,7 @@
Package: libmlpcap-ocaml-dev
Architecture: any
-Depends: ${ocaml:Depends}, libmlpcap-ocaml (= ${binary:Version}), libffcall1-dev, libpcap0.8-dev, camlidl, ${misc:Depends}
+Depends: ${ocaml:Depends}, libmlpcap-ocaml (= ${binary:Version}), libffcall-dev, libpcap0.8-dev, camlidl, ${misc:Depends}
Provides: ${ocaml:Provides}
Description: binding of libpcap for OCaml
MLpcap implements OCaml stubs to libpcap. It allows one to call almost
diff -Nru mlpcap-0.9/debian/patches/08_ffcall.diff mlpcap-0.9/debian/patches/08_ffcall.diff
--- mlpcap-0.9/debian/patches/08_ffcall.diff 1970-01-01 01:00:00.000000000 +0100
+++ mlpcap-0.9/debian/patches/08_ffcall.diff 2017-11-09 15:33:21.000000000 +0100
@@ -0,0 +1,23 @@
+Description: Fix detection of callback library
+ The callback library is now embedded in libffcall, and the symbol names have
+ changed, hence fix the configure test.
+Author: Sébastien Villemot <[email protected]>
+Forwarded: no
+Last-Update: 2017-11-09
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure.in
++++ b/configure.in
+@@ -77,9 +77,9 @@ dnl ---------------
+ dnl Ffcall callback
+ dnl ---------------
+
+-AC_CHECK_LIB(callback,
+- alloc_trampoline_r,,
+- AC_MSG_ERROR([can't find callback library.]))
++AC_CHECK_LIB(ffcall,
++ callback_trampoline_alloc,,
++ AC_MSG_ERROR([can't find ffcall library.]))
+
+ dnl Header
+
diff -Nru mlpcap-0.9/debian/patches/series mlpcap-0.9/debian/patches/series
--- mlpcap-0.9/debian/patches/series 2017-08-08 15:40:55.000000000 +0200
+++ mlpcap-0.9/debian/patches/series 2017-11-09 15:33:21.000000000 +0100
@@ -4,3 +4,4 @@
02_ocamlfind_for_example.diff
03_correct_META.diff
07_dll_with_camlidl.diff
+08_ffcall.diff
diff -Nru mlpcap-0.9/debian/rules mlpcap-0.9/debian/rules
--- mlpcap-0.9/debian/rules 2017-08-08 15:40:30.000000000 +0200
+++ mlpcap-0.9/debian/rules 2017-11-09 15:33:21.000000000 +0100
@@ -19,6 +19,7 @@
include /usr/share/cdbs/1/rules/ocaml.mk
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk
PACKAGE := libmlpcap-ocaml
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: mlpcap
Source-Version: 0.9-17.1
We believe that the bug you reported is fixed in the latest version of
mlpcap, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated mlpcap package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 28 Nov 2017 07:25:27 +0100
Source: mlpcap
Binary: libmlpcap-ocaml libmlpcap-ocaml-dev
Architecture: source
Version: 0.9-17.1
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
libmlpcap-ocaml - binding of libpcap for OCaml (runtime package)
libmlpcap-ocaml-dev - binding of libpcap for OCaml
Closes: 882786
Changes:
mlpcap (0.9-17.1) unstable; urgency=medium
.
[ Sébastien Villemot ]
* Non-maintainer upload.
* Replace libffcall1-dev by libffcall-dev.
* 08_ffcall.diff: new patch for compiling against ffcall ≥ 2.0. (Closes:
#882786)
Checksums-Sha1:
eee380b6b33d32863f7506711aa18286db5382ea 2137 mlpcap_0.9-17.1.dsc
5aca6922635b86fc4636edea416ff16ab97f2f37 60712 mlpcap_0.9-17.1.debian.tar.xz
f849a49b8b13b143f2f90c796e04eb661b75288d 5373 mlpcap_0.9-17.1_source.buildinfo
Checksums-Sha256:
4c8b09f2e5e548c12f087b9acc8a0638740b1501d219bf787840f806cb8d7d1e 2137
mlpcap_0.9-17.1.dsc
f162b925392cc4ba428a260e9a67c29ff6a7b35056e768bbfe71ddc3663362df 60712
mlpcap_0.9-17.1.debian.tar.xz
701af3b9206c911ffbdc4128721bed4a3f0b9eaa815103336e3c1f4bd10e77ec 5373
mlpcap_0.9-17.1_source.buildinfo
Files:
7d6ba08f9a99e6458b20e433920088a7 2137 ocaml optional mlpcap_0.9-17.1.dsc
b8fa3ae020401f906a77e3558151a93a 60712 ocaml optional
mlpcap_0.9-17.1.debian.tar.xz
df2c16a2cda4a7a699545697c1c9fc83 5373 ocaml optional
mlpcap_0.9-17.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlodAf0QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9W6LEACXfipOAdO0n+fxtT9J0gTGInzos0lsOYcU
vqpB4cxvsXSxr2V8loCHepOcIZOH4v34h2vkAWAvvjsM2MQKSm52286oyveft27G
H1HQhXDbNHqI7025Z8htWCPBOja/ArcedXZJlsc3p7MJ47+DEwBgZ5mS9UpCb2+k
tugdM9w7Gtdh46ZRUZwhe1ZGmcYqbIdkynyEYTdBJWf2NPxGQ8A4K4kM50nqKR7R
xQA/vpltMof5hYpfTnw7R7IhjkBAonE+GgqcE+oP0oPTG29wHi+c+mZzIhf6SZ6t
yqpWzAHHlcmFR5LONdPf4C5e7/sxGgHX4fdDC4vDHymK7VdEmy/dw2l1ZPxWJIij
78K+obu1H/hrwtWazOojMX/HPpEuRKjJ54ruDXHOA1dioJPK/3XeJoVgSDwq+U3c
LFMoapvlFbeTaSetYkssLINyjy9ckaKYUZOaQxaT3kXc75JhVKliOjCo6EGo3Dyo
CbEILf6SQXC5ZaYmdlq3rxY9rsQWdTROscSyxE/m+VdbXEL8E3wuQN8aawWHzVhD
TDFbFyW5My343ojk1HKli1VmsSWfSP7a1Saa6WphO3C+K/LW5L+f6raiepbzFj3o
TgY56+05TDD93uAnp7P+fhvRxRxuL2atWh1SIN12UlNfAzp8KuUl/h09tzUd99Nd
Sb4/NZPoYw==
=+qP4
-----END PGP SIGNATURE-----
--- End Message ---