Your message dated Wed, 01 Sep 2021 15:49:11 +0000
with message-id <e1mlsub-000bdt...@fasolo.debian.org>
and subject line Bug#992962: fixed in netkit-rusers 0.17-11
has caused the Debian Bug report #992962,
regarding netkit-rusers: 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.)
--
992962: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992962
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: netkit-rusers
Version: 0.17-10
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 netkit-rusers now fails to build from source. You will
find attached a patch to switch to the TI RPC implementation, fixing the
FTBFS.
Regards,
Aurelien
--- netkit-rusers-0.17/debian/control
+++ netkit-rusers-0.17/debian/control
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Alberto Gonzalez Iniesta <a...@inittab.org>
Standards-Version: 4.2.1
-Build-Depends: debhelper (>= 11), cmake
+Build-Depends: debhelper (>= 11), cmake, pkg-config, libtirpc-dev
Package: rusersd
Architecture: any
--- netkit-rusers-0.17/debian/patches/series
+++ netkit-rusers-0.17/debian/patches/series
@@ -2,3 +2,4 @@
system-headers-location.patch
use-cmake-as-buildsystem.patch
use-cmake-as-buildsystem-debian-extras.patch
+use-cmake-as-buildsystem-tirpc.patch
--- netkit-rusers-0.17/debian/patches/use-cmake-as-buildsystem-tirpc.patch
+++ netkit-rusers-0.17/debian/patches/use-cmake-as-buildsystem-tirpc.patch
@@ -0,0 +1,50 @@
+Description: Use TI RPC instead of GNU libc RPC
+Author: Aurelien Jarno <aure...@debian.org>
+Forwarded: no
+Last-Update: 2021-08-25
+
+--- netkit-rusers-0.17.orig/CMakeLists.txt
++++ netkit-rusers-0.17/CMakeLists.txt
+@@ -7,6 +7,9 @@ set(MAN_DIR "${CMAKE_INSTALL_PREFIX}/sha
+
+ set(USE_GLIBC 1)
+
++find_package(PkgConfig REQUIRED)
++pkg_check_modules(TIRPC REQUIRED libtirpc)
++
+ add_subdirectory(rpc.rusersd)
+ add_subdirectory(rup)
+ add_subdirectory(rusers)
+--- netkit-rusers-0.17.orig/rpc.rusersd/CMakeLists.txt
++++ netkit-rusers-0.17/rpc.rusersd/CMakeLists.txt
+@@ -21,6 +21,8 @@ add_executable(
+ daemon.c
+ rusers.h
+ )
++target_include_directories(rpc.rusersd PUBLIC ${TIRPC_INCLUDE_DIRS})
++target_link_libraries(rpc.rusersd ${TIRPC_LIBRARIES})
+ install(
+ TARGETS rpc.rusersd
+ DESTINATION ${SBIN_DIR}
+--- netkit-rusers-0.17.orig/rup/CMakeLists.txt
++++ netkit-rusers-0.17/rup/CMakeLists.txt
+@@ -16,6 +16,8 @@ add_executable(
+ rstat_xdr.c
+ rstat.h
+ )
++target_include_directories(rup PUBLIC ${TIRPC_INCLUDE_DIRS})
++target_link_libraries(rup ${TIRPC_LIBRARIES})
+ install(
+ TARGETS rup
+ DESTINATION ${BIN_DIR}
+--- netkit-rusers-0.17.orig/rusers/CMakeLists.txt
++++ netkit-rusers-0.17/rusers/CMakeLists.txt
+@@ -23,6 +23,8 @@ add_executable(
+ rusers_xdr.c
+ rusers.h
+ )
++target_include_directories(rusers PUBLIC ${TIRPC_INCLUDE_DIRS})
++target_link_libraries(rusers ${TIRPC_LIBRARIES})
+ install(
+ TARGETS rusers
+ DESTINATION ${BIN_DIR}
--- End Message ---
--- Begin Message ---
Source: netkit-rusers
Source-Version: 0.17-11
Done: Alberto Gonzalez Iniesta <a...@inittab.org>
We believe that the bug you reported is fixed in the latest version of
netkit-rusers, 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.
Alberto Gonzalez Iniesta <a...@inittab.org> (supplier of updated netkit-rusers
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: Wed, 01 Sep 2021 17:17:28 +0200
Source: netkit-rusers
Architecture: source
Version: 0.17-11
Distribution: unstable
Urgency: medium
Maintainer: Alberto Gonzalez Iniesta <a...@inittab.org>
Changed-By: Alberto Gonzalez Iniesta <a...@inittab.org>
Closes: 992962
Changes:
netkit-rusers (0.17-11) unstable; urgency=medium
.
* Fix FTBFS due to RPC removal from glibc. (Closes: #992962)
Thanks Aurelien Jarno for the patch.
Checksums-Sha1:
0fdecb68647a35c5b518ea06d5dcffc57ce8f7cd 1797 netkit-rusers_0.17-11.dsc
fca3e07434f4e20b080de921bb400ff564164e6b 5764
netkit-rusers_0.17-11.debian.tar.xz
66ed9c30f0f2f120093f435b5acd28476b108e44 7211
netkit-rusers_0.17-11_amd64.buildinfo
Checksums-Sha256:
a003929c78527a5d4601aeab38a0b37c319f4362251f5a2253bb78d9c29a49bc 1797
netkit-rusers_0.17-11.dsc
bbbc48316ca49536ec773c6bb587dc80e9d7e96e789d0a025101947771469f9b 5764
netkit-rusers_0.17-11.debian.tar.xz
e57555f39c9beba4f78c964126c84e78f4d426b5547b5f5e07bda380e957d101 7211
netkit-rusers_0.17-11_amd64.buildinfo
Files:
072274f7e6e86634d2fe6c1b36eeb2ca 1797 net optional netkit-rusers_0.17-11.dsc
e61dcc6cf7a7fb3fa502b26f2b8e111f 5764 net optional
netkit-rusers_0.17-11.debian.tar.xz
d28d588d894ac25f0b7bcfc04a1799b7 7211 net optional
netkit-rusers_0.17-11_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEEU0fL2D4wqetNfUvyAJszdWuaqlUFAmEvm88QHGFnaUBpbml0
dGFiLm9yZwAKCRAAmzN1a5qqVSePD/9DaAfV/a2sAbmiqFi9OryMOA3EkW3nMQ6M
9Uy02MpapUNSYNuQRJtK24v5NPvl/AQM3Pmx3iigalJlOX6bQnqDJGSoGelicKFo
Q2T8lpQwN9REqXbeiMik1Jk65NuWrn97DKjmdcFhQgZOvhk5cb4t1CRj/j7l3BCr
UbgAjv22Qb9ZSmBkiQXT78qqmqaq2lm4LKtXcfAtMApD7NIIM7N2tOPpeeEhzShK
N5n65yRU6PrTZ05W8Aghf0XVSqjWHEmxi3xO6AIkE8IilYZXdY2rSDtpCHWzRzp/
p6+Oz6JtaW3ezUzUoExjsOLOmyEdYwVU330J/TlmHxQsDLjHG5I3ZnkIl0qyf97H
q0DmfnkMH+QBCmuL6n7j2gPU8d25klelrCbD+tuKFi/8LTJrRe608/M8T1j6i1Vd
T6tzr4Ie9mNjwaOUTMQHLFJOm8pao0W6sgO26tgYOYcLQLMtED8EvBaBR15e54my
xbezg2DWZL0ute1pRRxzAtarR/PqrLruME6HI1ew9bOgQi6VBhKUPJYhM7EHxouZ
v4mt6KdJTMFC+YSV7M6hjaD5M1QPj8iW3N1SaIZsWGwhc99whIAQq+CJ+y/q1z3d
uzjTXfM206BwR3XlF+O9gJ9bYMnV8dW1el7KSH9OPho3zUOCF0W6YZ+Jr/Vu129C
qXKIuZqPiQ==
=62w3
-----END PGP SIGNATURE-----
--- End Message ---