[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#915995: nfs-utils FTBFS with glibc 2.28



Package: src:nfs-utils
Followup-For: Bug #915995

Please find attached a patch to fix the build failure

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru nfs-utils-1.3.4/debian/changelog nfs-utils-1.3.4/debian/changelog
--- nfs-utils-1.3.4/debian/changelog	2018-10-20 18:34:07.000000000 +0530
+++ nfs-utils-1.3.4/debian/changelog	2019-01-16 11:33:27.000000000 +0530
@@ -1,3 +1,9 @@
+nfs-utils (1:1.3.4-2.4) unstable; urgency=medium
+
+  * Fix FTBFS causes by undefined reference to major. (Closes: #915995) 
+
+ -- Ritesh Raj Sarraf <rrs@debian.org>  Wed, 16 Jan 2019 11:33:27 +0530
+
 nfs-utils (1:1.3.4-2.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru nfs-utils-1.3.4/debian/patches/fix-ftbfs-undefined-major.patch nfs-utils-1.3.4/debian/patches/fix-ftbfs-undefined-major.patch
--- nfs-utils-1.3.4/debian/patches/fix-ftbfs-undefined-major.patch	1970-01-01 05:30:00.000000000 +0530
+++ nfs-utils-1.3.4/debian/patches/fix-ftbfs-undefined-major.patch	2019-01-16 11:33:19.000000000 +0530
@@ -0,0 +1,11 @@
+Fix FBTFS cause by undefined reference to major
+--- a/utils/blkmapd/device-discovery.c
++++ b/utils/blkmapd/device-discovery.c
+@@ -31,6 +31,7 @@
+ #include <sys/ioctl.h>
+ #include <sys/mount.h>
+ #include <sys/select.h>
++#include <sys/sysmacros.h>
+ #include <sys/inotify.h>
+ #include <linux/kdev_t.h>
+ #include <scsi/scsi.h>
diff -Nru nfs-utils-1.3.4/debian/patches/series nfs-utils-1.3.4/debian/patches/series
--- nfs-utils-1.3.4/debian/patches/series	2018-10-20 18:20:42.000000000 +0530
+++ nfs-utils-1.3.4/debian/patches/series	2019-01-16 11:31:58.000000000 +0530
@@ -12,3 +12,4 @@
 29-start-statd-fd-9.patch
 0001-rpc.c-added-include-file-so-UINT16_MAX-is-defined.patch
 30-remove-whitespace-service.patch
+fix-ftbfs-undefined-major.patch

Reply to: