Your message dated Thu, 26 Aug 2021 10:19:39 +0000
with message-id <e1mjctz-000evs...@fasolo.debian.org>
and subject line Bug#992960: fixed in nfstrace 0.4.3.2+git20200805+b220d04-2
has caused the Debian Bug report #992960,
regarding nfstrace: FTBFS due to RPC removal from glibc
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 ow...@bugs.debian.org
immediately.)


-- 
992960: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992960
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: nfstrace
Version: 0.4.3.2+git20200805+b220d04-1
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear maintainer,

The glibc SunRPC implementation has been marked obsolete for some time.
It has been removed upstream from glibc 2.32, and it got disabled in the
recent glibc uploads. The TI RPC implementation should be used instead.

For this reason nfstrace now fails to build from source. You will find
attached a patch to switch to the TI RPC implementation, fixing the
FTBFS.

Regards,
Aurelien
--- nfstrace-0.4.3.2+git20200805+b220d04/debian/control
+++ nfstrace-0.4.3.2+git20200805+b220d04/debian/control
@@ -10,7 +10,9 @@
     libgtest-dev,
     google-mock,
     libncurses5-dev,
-    libjson-c-dev
+    libjson-c-dev,
+    libtirpc-dev,
+    pkg-config
 Build-Depends-Indep:
     doxygen,
     graphviz,
--- nfstrace-0.4.3.2+git20200805+b220d04/debian/patches/series
+++ nfstrace-0.4.3.2+git20200805+b220d04/debian/patches/series
@@ -0,0 +1 @@
+tirpc.patch
--- nfstrace-0.4.3.2+git20200805+b220d04/debian/patches/tirpc.patch
+++ nfstrace-0.4.3.2+git20200805+b220d04/debian/patches/tirpc.patch
@@ -0,0 +1,30 @@
+Build with TI RPC instead of GNU libc RPC
+
+--- nfstrace-0.4.3.2+git20200805+b220d04.orig/CMakeLists.txt
++++ nfstrace-0.4.3.2+git20200805+b220d04/CMakeLists.txt
+@@ -29,6 +29,9 @@ if ("${PCAP_LIBRARY}" STREQUAL "PCAP_LIB
+     message (FATAL_ERROR "Could NOT find PCAP")
+ endif ()
+ 
++find_package(PkgConfig REQUIRED)
++pkg_check_modules(TIRPC REQUIRED libtirpc)
++
+ # build application 
============================================================
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -pedantic -Wall -Werror 
-Wextra -Wno-invalid-offsetof -Wno-error=address-of-packed-member -fPIC 
-fvisibility=hidden")
+ set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--export-dynamic")
+@@ -56,13 +59,14 @@ else ()
+     string (TIMESTAMP COMPILATION_DATE "%Y-%m-%d")
+ endif ()
+ 
+-include_directories (src)
++include_directories (src ${TIRPC_INCLUDE_DIRS})
+ 
+ # nfstrace executable 
==========================================================
+ file (GLOB_RECURSE SRCS "src/*.cpp")
+ set (LIBS ${CMAKE_DL_LIBS}          # libdl with dlopen()
+           ${CMAKE_THREAD_LIBS_INIT} # libpthread
+           ${PCAP_LIBRARY}           # libpcap
++          ${TIRPC_LIBRARIES}        # libtirpc
+           )
+ 
+ configure_file (docs/nfstrace.8.in              
${PROJECT_SOURCE_DIR}/docs/nfstrace.8)

--- End Message ---
--- Begin Message ---
Source: nfstrace
Source-Version: 0.4.3.2+git20200805+b220d04-2
Done: Andrej Shadura <andre...@debian.org>

We believe that the bug you reported is fixed in the latest version of
nfstrace, 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 992...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrej Shadura <andre...@debian.org> (supplier of updated nfstrace 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 26 Aug 2021 12:08:31 +0200
Source: nfstrace
Architecture: source
Version: 0.4.3.2+git20200805+b220d04-2
Distribution: unstable
Urgency: medium
Maintainer: Andrej Shadura <andre...@debian.org>
Changed-By: Andrej Shadura <andre...@debian.org>
Closes: 992960
Changes:
 nfstrace (0.4.3.2+git20200805+b220d04-2) unstable; urgency=medium
 .
   [ Aurelien Jarno ]
   * Switch to the TI RPC implementation (Closes: #992960).
 .
   [ Andrej Shadura ]
   * Wrap long lines in changelog entries: 0.4.3.2+git20200805+b220d04-1.
   * Bump debhelper from old 12 to 13.
   * Fix broken Vcs URL.
Checksums-Sha1:
 7ea9b974a30ac132359a904d35782c724c2097d7 1866 
nfstrace_0.4.3.2+git20200805+b220d04-2.dsc
 77c99080ba4f0c84622243c14356ef9073247157 4036 
nfstrace_0.4.3.2+git20200805+b220d04-2.debian.tar.xz
Checksums-Sha256:
 af4a4dacea05a10b8d35271445a7144a8dc35a5c49f6038960b595dbe1442a65 1866 
nfstrace_0.4.3.2+git20200805+b220d04-2.dsc
 af77a1f3107183956b2b0fea5daeac32bb5e1eca8cc1a7ef4736ae808b97a572 4036 
nfstrace_0.4.3.2+git20200805+b220d04-2.debian.tar.xz
Files:
 5d22ab9e76e6f96d36e2d06113c29ba2 1866 net optional 
nfstrace_0.4.3.2+git20200805+b220d04-2.dsc
 a6733ed42e3511f824ca5ab915685274 4036 net optional 
nfstrace_0.4.3.2+git20200805+b220d04-2.debian.tar.xz

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

iHUEARYIAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCYSdolQAKCRDoRGtKyMdy
YQCuAP4lsoZyMmEteKihG4EwJfPI4gqmzu3MdqQx+T3sONPWwAEA1M88wc0kOnid
fJSbzqRp4r6BR1QgXHYcDONmlBuKtwk=
=GvK0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to