Your message dated Sun, 13 Sep 2020 18:18:32 +0000
with message-id <[email protected]>
and subject line Bug#960519: fixed in dm-writeboost 2.2.12-1
has caused the Debian Bug report #960519,
regarding dm-writeboost-dkms: FTBFS when warning treated as error
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.)


-- 
960519: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960519
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dm-writeboost-dkms
Version: 2.2.10-1
Severity: important

Dear Maintainer,

dm-writeboost-dkms 2.2.10-1 FTBFS:

/var/lib/dkms/dm-writeboost/2.2.10/build/dm-writeboost-daemon.c: In function 
‘writeback_modulator_proc’:
/var/lib/dkms/dm-writeboost/2.2.10/build/dm-writeboost-daemon.c:486:26: error: 
implicit declaration of function ‘part_stat_read’ 
[-Werror=implicit-function-declaration]
  486 |   new = jiffies_to_msecs(part_stat_read(hd, io_ticks));
      |                          ^~~~~~~~~~~~~~
/var/lib/dkms/dm-writeboost/2.2.10/build/dm-writeboost-daemon.c:486:45: error: 
‘io_ticks’ undeclared (first use in this function)
  486 |   new = jiffies_to_msecs(part_stat_read(hd, io_ticks));
      |                                             ^~~~~~~~
/var/lib/dkms/dm-writeboost/2.2.10/build/dm-writeboost-daemon.c:486:45: note: 
each undeclared identifier is reported only once for each function it appears 
in cc1: some warnings being treated as errors

It's just missing an header, the attached debdiff fixes it.

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 
'focal-proposed'), (500, 'focal'), (100, 'focal-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-31-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to C.UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dm-writeboost-dkms depends on:
ii  dkms  2.8.1-5ubuntu1

Versions of packages dm-writeboost-dkms recommends:
ii  dmsetup     2:1.02.167-1ubuntu1
ii  kmod        27-1ubuntu2
pn  writeboost  <none>

dm-writeboost-dkms suggests no packages.
diff -Nru dm-writeboost-2.2.10/debian/changelog 
dm-writeboost-2.2.10/debian/changelog
--- dm-writeboost-2.2.10/debian/changelog       2018-11-10 00:16:06.000000000 
+0000
+++ dm-writeboost-2.2.10/debian/changelog       2020-05-13 12:40:47.000000000 
+0000
@@ -1,3 +1,9 @@
+dm-writeboost (2.2.10-2) unstable; urgency=medium
+
+  * Fix build by including missing part_stat header
+
+ -- Paolo Pisati <[email protected]>  Wed, 13 May 2020 12:40:47 +0000
+
 dm-writeboost (2.2.10-1) unstable; urgency=medium
 
   * New upstream release [November 2018].
diff -Nru 
dm-writeboost-2.2.10/debian/patches/0001-fix-missing-stat-header.patch 
dm-writeboost-2.2.10/debian/patches/0001-fix-missing-stat-header.patch
--- dm-writeboost-2.2.10/debian/patches/0001-fix-missing-stat-header.patch      
1970-01-01 00:00:00.000000000 +0000
+++ dm-writeboost-2.2.10/debian/patches/0001-fix-missing-stat-header.patch      
2020-05-13 12:40:47.000000000 +0000
@@ -0,0 +1,25 @@
+From 358e980fc487e6ff551a44dfed481910aee9dd52 Mon Sep 17 00:00:00 2001
+From: Paolo Pisati <[email protected]>
+Date: Wed, 13 May 2020 13:10:03 +0000
+Subject: [PATCH] fix missing stat header
+
+Signed-off-by: Paolo Pisati <[email protected]>
+---
+ src/dm-writeboost-daemon.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/dm-writeboost-daemon.c b/src/dm-writeboost-daemon.c
+index 89eb142..efa2f26 100644
+--- a/src/dm-writeboost-daemon.c
++++ b/src/dm-writeboost-daemon.c
+@@ -21,6 +21,7 @@
+ #include "dm-writeboost-metadata.h"
+ #include "dm-writeboost-daemon.h"
+ 
++#include <linux/part_stat.h>
+ #include <linux/rbtree.h>
+ 
+ 
/*----------------------------------------------------------------------------*/
+-- 
+2.25.1
+
diff -Nru dm-writeboost-2.2.10/debian/patches/series 
dm-writeboost-2.2.10/debian/patches/series
--- dm-writeboost-2.2.10/debian/patches/series  1970-01-01 00:00:00.000000000 
+0000
+++ dm-writeboost-2.2.10/debian/patches/series  2020-05-13 12:40:47.000000000 
+0000
@@ -0,0 +1 @@
+0001-fix-missing-stat-header.patch

--- End Message ---
--- Begin Message ---
Source: dm-writeboost
Source-Version: 2.2.12-1
Done: Dmitry Smirnov <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dm-writeboost, 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.
Dmitry Smirnov <[email protected]> (supplier of updated dm-writeboost 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: Mon, 14 Sep 2020 03:40:01 +1000
Source: dm-writeboost
Architecture: source
Version: 2.2.12-1
Distribution: unstable
Urgency: medium
Maintainer: Dmitry Smirnov <[email protected]>
Changed-By: Dmitry Smirnov <[email protected]>
Closes: 960519
Changes:
 dm-writeboost (2.2.12-1) unstable; urgency=medium
 .
   [ Paolo Pisati ]
   * Adding DEP8 functional test case.
 .
   [ Dmitry Smirnov ]
   * New upstream release [August 2020] (Closes: #960519).
     Thanks, Paolo Pisati.
   * Standards-Version: 4.5.0; compat to v13.
Checksums-Sha1:
 e243d8b6439ba2e561ca1d985be707e3239a2532 1981 dm-writeboost_2.2.12-1.dsc
 1ccee2961f196b8f98e1616dd1ecec083e395fd8 33872 dm-writeboost_2.2.12.orig.tar.xz
 2e3df63898a4b39acec99faec627592e709bc14f 3904 
dm-writeboost_2.2.12-1.debian.tar.xz
 f0ab2c98a99a4ee8dca0fd7c2a18c7ae7dac73c9 5879 
dm-writeboost_2.2.12-1_amd64.buildinfo
Checksums-Sha256:
 199a046a25f677f8e9d023dc7f36b53c69f2ac63638643dfc0212e25e491bd82 1981 
dm-writeboost_2.2.12-1.dsc
 ebb344bfe212b907c41f0bcb1db07058fd17869cf93a8b4a46ceabb7fea8e1c0 33872 
dm-writeboost_2.2.12.orig.tar.xz
 e6a7f6405c6ac8172e221f4b1b9d346257c55088feb6394e1fe1d651260d28db 3904 
dm-writeboost_2.2.12-1.debian.tar.xz
 58c316f8bdb6a649c90275c3303cbbd90d605b16dab041bb705050a69dac3adb 5879 
dm-writeboost_2.2.12-1_amd64.buildinfo
Files:
 9b556da4f3688f5203481944a02e0de0 1981 kernel optional 
dm-writeboost_2.2.12-1.dsc
 41f02108773efd1014e08a1ecc53ede0 33872 kernel optional 
dm-writeboost_2.2.12.orig.tar.xz
 27735033ca127941ad28ea492b5fcbc3 3904 kernel optional 
dm-writeboost_2.2.12-1.debian.tar.xz
 59684b7beb5402538adfbeb69b040d87 5879 kernel optional 
dm-writeboost_2.2.12-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEULx8+TnSDCcqawZWUra72VOWjRsFAl9eXgMACgkQUra72VOW
jRtX1RAAiy54LarTtIoVWcBbGpGPDpMNVMPPXWqyhZNcIw4QanIlPsa9xYOZfYAo
DhX3zVlixNbA/IBBk2BsUqLE0y952NKNWx2aPLsVw8LMr8Zt2eHBQzBJQyiHM8M0
4I3SASJf7VF0dEG5XbJpkTUnzv0gDSXuXJ81gEpDeo+87KCobiIbNMwIC3iHWreA
yfKjmIVaaMR9jG7SgrOOiNwTnweOEUIrdd33DlECp4X+pKcq9GVMtylvBRskoPsd
9MGmjZ82XZkPb1N+aeykfBSTnEvx0KMe27WEt3BboZ//wQ60YbRPjh4tQBrFC49X
CVOizx7pLZqi18CibmtdOF6lEiifdV9aPEoV/P0YSz0yWTc3NaG7Lvjqgc0Q8fYV
loFFf1748p6esA3uqU8xnxskmrS8wMC+5pLfSh1hp2GPL2eIviGtvVKyzgUu2xPh
uyEmBXjRH8RUs+Y1T80RLXqTqqDdN1S6/p6A1J5pTHExszairW9WLrxJ+5kAEhdb
iUj+fSQKfIVOzAT5Jc+wjZCZfTsZys6fD2GSbv0xGFJ+0ef9BLKu5ynqTQ2rFWL0
rBa2tCrmjrbkinu//15HcOLXNZGzWl8e0vcVXTq8LMajjlPyWYoBWxo7zmAulQtd
pMpyw6YS9kgDdHfyuZbW7xyOY5Y7fICIC8bMLgxMkC1FdNpvf+k=
=wxr0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to