Your message dated Wed, 01 Sep 2021 17:21:38 +0000
with message-id <e1mltve-0005q5...@fasolo.debian.org>
and subject line Bug#992961: fixed in netkit-bootparamd 0.17-11
has caused the Debian Bug report #992961,
regarding netkit-bootparamd: 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.)


-- 
992961: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992961
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: netkit-bootparamd
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-bootparamd 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-bootparamd-0.17/debian/control
+++ netkit-bootparamd-0.17/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Alberto Gonzalez Iniesta <a...@inittab.org>
 Standards-Version: 4.3.0
-Build-Depends: debhelper (>= 10~), cmake
+Build-Depends: debhelper (>= 10~), cmake, pkg-config, libtirpc-dev
 
 Package: bootparamd
 Architecture: any
--- netkit-bootparamd-0.17/debian/patches/series
+++ netkit-bootparamd-0.17/debian/patches/series
@@ -1,3 +1,5 @@
 fix-getopt-return-type.patch
 use-cmake-as-buildsystem.patch
 use-cmake-as-buildsystem-debian-extras.patch
+use-cmake-as-buildsystem-tirpc.patch
+tirpc-drop-glibc-fix.patch
--- netkit-bootparamd-0.17/debian/patches/tirpc-drop-glibc-fix.patch
+++ netkit-bootparamd-0.17/debian/patches/tirpc-drop-glibc-fix.patch
@@ -0,0 +1,19 @@
+Description: Drop a GNU libc fix now that TI RPC is used instead
+Author: Aurelien Jarno <aure...@debian.org>
+Forwarded: no
+Last-Update: 2021-08-25
+
+--- netkit-bootparamd-0.17.orig/rpc.bootparamd/main.c
++++ netkit-bootparamd-0.17/rpc.bootparamd/main.c
+@@ -16,11 +16,6 @@
+ #include "bootparam_prot.h"
+ 
+ 
+-#ifdef __GLIBC__
+-      /* quick fix */
+-      void get_myaddress(struct sockaddr_in *);
+-#endif
+-
+ int debug = 0;
+ int dolog = 0;
+ struct in_addr route_addr;
--- netkit-bootparamd-0.17/debian/patches/use-cmake-as-buildsystem-tirpc.patch
+++ netkit-bootparamd-0.17/debian/patches/use-cmake-as-buildsystem-tirpc.patch
@@ -0,0 +1,35 @@
+Description: Use TI RPC instead of GNU libc RPC 
+Author: Aurelien Jarno <aure...@debian.org>
+Forwarded: no
+Last-Update: 2021-08-25
+
+--- netkit-bootparamd-0.17.orig/CMakeLists.txt
++++ netkit-bootparamd-0.17/CMakeLists.txt
+@@ -5,4 +5,7 @@ set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin
+ set(SBIN_DIR "${CMAKE_INSTALL_PREFIX}/sbin")
+ set(MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
+ 
++find_package(PkgConfig REQUIRED)
++pkg_check_modules(TIRPC REQUIRED libtirpc)
++
+ add_subdirectory(rpc.bootparamd)
+--- netkit-bootparamd-0.17.orig/rpc.bootparamd/CMakeLists.txt
++++ netkit-bootparamd-0.17/rpc.bootparamd/CMakeLists.txt
+@@ -13,6 +13,8 @@ add_executable(
+ 
+     bootparam_prot.h
+ )
++target_include_directories(rpc.bootparamd PUBLIC ${TIRPC_INCLUDE_DIRS})
++target_link_libraries(rpc.bootparamd ${TIRPC_LIBRARIES})
+ add_executable(
+     callbootd
+ 
+@@ -22,6 +24,8 @@ add_executable(
+ 
+     bootparam_prot.h
+ )
++target_include_directories(callbootd PUBLIC ${TIRPC_INCLUDE_DIRS})
++target_link_libraries(callbootd ${TIRPC_LIBRARIES})
+ 
+ install(
+     TARGETS rpc.bootparamd
--- netkit-bootparamd-0.17/debian/control
+++ netkit-bootparamd-0.17/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Alberto Gonzalez Iniesta <a...@inittab.org>
 Standards-Version: 4.3.0
-Build-Depends: debhelper (>= 10~), cmake
+Build-Depends: debhelper (>= 10~), cmake, pkg-config, libtirpc-dev
 
 Package: bootparamd
 Architecture: any
--- netkit-bootparamd-0.17/debian/patches/series
+++ netkit-bootparamd-0.17/debian/patches/series
@@ -1,3 +1,5 @@
 fix-getopt-return-type.patch
 use-cmake-as-buildsystem.patch
 use-cmake-as-buildsystem-debian-extras.patch
+use-cmake-as-buildsystem-tirpc.patch
+tirpc-drop-glibc-fix.patch
--- netkit-bootparamd-0.17/debian/patches/tirpc-drop-glibc-fix.patch
+++ netkit-bootparamd-0.17/debian/patches/tirpc-drop-glibc-fix.patch
@@ -0,0 +1,19 @@
+Description: Drop a GNU libc fix now that TI RPC is used instead
+Author: Aurelien Jarno <aure...@debian.org>
+Forwarded: no
+Last-Update: 2021-08-25
+
+--- netkit-bootparamd-0.17.orig/rpc.bootparamd/main.c
++++ netkit-bootparamd-0.17/rpc.bootparamd/main.c
+@@ -16,11 +16,6 @@
+ #include "bootparam_prot.h"
+ 
+ 
+-#ifdef __GLIBC__
+-      /* quick fix */
+-      void get_myaddress(struct sockaddr_in *);
+-#endif
+-
+ int debug = 0;
+ int dolog = 0;
+ struct in_addr route_addr;
--- netkit-bootparamd-0.17/debian/patches/use-cmake-as-buildsystem-tirpc.patch
+++ netkit-bootparamd-0.17/debian/patches/use-cmake-as-buildsystem-tirpc.patch
@@ -0,0 +1,35 @@
+Description: Use TI RPC instead of GNU libc RPC 
+Author: Aurelien Jarno <aure...@debian.org>
+Forwarded: no
+Last-Update: 2021-08-25
+
+--- netkit-bootparamd-0.17.orig/CMakeLists.txt
++++ netkit-bootparamd-0.17/CMakeLists.txt
+@@ -5,4 +5,7 @@ set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin
+ set(SBIN_DIR "${CMAKE_INSTALL_PREFIX}/sbin")
+ set(MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
+ 
++find_package(PkgConfig REQUIRED)
++pkg_check_modules(TIRPC REQUIRED libtirpc)
++
+ add_subdirectory(rpc.bootparamd)
+--- netkit-bootparamd-0.17.orig/rpc.bootparamd/CMakeLists.txt
++++ netkit-bootparamd-0.17/rpc.bootparamd/CMakeLists.txt
+@@ -13,6 +13,8 @@ add_executable(
+ 
+     bootparam_prot.h
+ )
++target_include_directories(rpc.bootparamd PUBLIC ${TIRPC_INCLUDE_DIRS})
++target_link_libraries(rpc.bootparamd ${TIRPC_LIBRARIES})
+ add_executable(
+     callbootd
+ 
+@@ -22,6 +24,8 @@ add_executable(
+ 
+     bootparam_prot.h
+ )
++target_include_directories(callbootd PUBLIC ${TIRPC_INCLUDE_DIRS})
++target_link_libraries(callbootd ${TIRPC_LIBRARIES})
+ 
+ install(
+     TARGETS rpc.bootparamd

--- End Message ---
--- Begin Message ---
Source: netkit-bootparamd
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-bootparamd, 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-bootparamd 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:25:56 +0200
Source: netkit-bootparamd
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: 992961
Changes:
 netkit-bootparamd (0.17-11) unstable; urgency=medium
 .
   * Fix FTBFS due to RPC removal from glibc. (Closes: #992961)
     Thanks Aurelien Jarno for the patch.
   * Make lintian happy:
     - Source init-functions in init.d script
     - Fix warning in bootparamd manpage
     - Add systemd service file
     - Bumped Standards-Version to 4.5.1
Checksums-Sha1:
 4e70bf8531d7f2e2c280733156e2e520e9444117 1790 netkit-bootparamd_0.17-11.dsc
 b5b552454db7f1da6ae0aceb547bb2a917994764 4536 
netkit-bootparamd_0.17-11.debian.tar.xz
 089c9a1c1d9485b0e8910808a8fe979d0313821d 6735 
netkit-bootparamd_0.17-11_amd64.buildinfo
Checksums-Sha256:
 869e8c951d773dadea08a3cf9166067dc0899d77b5dba1f30afd032d81f8110e 1790 
netkit-bootparamd_0.17-11.dsc
 cf2c7baf5ef66065644c97c1bb32fa04bde298cfbeaa091e50ae5b9dd326b81f 4536 
netkit-bootparamd_0.17-11.debian.tar.xz
 7a5edb20d1bdcccabcccded9d90295dc47f462f4a0339f97dc47c4cbed42d57d 6735 
netkit-bootparamd_0.17-11_amd64.buildinfo
Files:
 2214ba1228069aaa8e5fff2be0901025 1790 net optional 
netkit-bootparamd_0.17-11.dsc
 ae938e57ac4e08b085e68fca7203eb4e 4536 net optional 
netkit-bootparamd_0.17-11.debian.tar.xz
 e0982d735324f90eb80f1e5cc178c223 6735 net optional 
netkit-bootparamd_0.17-11_amd64.buildinfo

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

iQJEBAEBCAAuFiEEU0fL2D4wqetNfUvyAJszdWuaqlUFAmEvr2AQHGFnaUBpbml0
dGFiLm9yZwAKCRAAmzN1a5qqVZhvEACX/BvrPFsIQrBW9127mlfmizh5As+0pVmO
9d1e6bxQioVJ1ReU4hJCnE0P4993YVvD1K0GSZwft3FUpoqqmFlbkcFA2YZfcnYg
1T0OwmjEGj/DqQD+hbxTfVDXYudwfpF7MaIDmKSb1B/B2YVTZZw14XlzL9z+nFPB
fP20m6Xr5co4oWxyrWTUda0LVwLi29bgq6ttB3rs6pO1MGGYvirBvNZP81LIohkI
KJxmEXR4AIARYuq7eECKZcMCR1HLgsWDN6RXbyBhUS4sGFiR7rn/tJw+rbZ7TKCf
uRYnWkQLwepz2N6yfORZ37aONmnhzmdzZyQJimJw8plTrKuyXIk1hugw0gBtiq8y
N5WOxlA5tCMZcB9qckmBmZNHCm3XQmWcf7gmTF3KbPywHc80K9w4edojm7bmRY9y
8dl1mpAjx0dM9hxQLYxdTg96m42Re1DUpW5F99RUYLUmtlP5p7q+Xe7BavPQDrg8
qE9p9TaNSUQylGyJJ59qz1N7NaDt2P3uOecANUUNHB0Ja4wBNKU0GBb92xiyzODs
8K8VdxEI+xWm/A3PJdeep3jt+9aF5B7Fd45uZ4Rv4y/TvX1kEcZLar9hlK7CqXB5
zRA8SWsiF9T3TNEBi+mPz4tKeDimNfLdNJ9ERDpuYvxLA8+zNXgB0SJLe26GArAh
SGH+BO3OXw==
=ul6c
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to