Your message dated Mon, 30 Aug 2021 09:19:16 +0000
with message-id <e1mkdrk-0002uj...@fasolo.debian.org>
and subject line Bug#991448: fixed in ui-utilcpp 1.10.0-1.1
has caused the Debian Bug report #991448,
regarding ui-utilcpp: migration to libtirpc-dev
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.)


-- 
991448: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991448
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ui-utilcpp
Version: 1.10.0-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu impish ubuntu-patch

Hello,

In Ubuntu, which has migrated to glibc 2.33, ui-utilcpp fails to build
because it relies on rpc/clnt.h which has been split out.

The attached patch fixes the build to use libtirpc-dev instead.

Although Debian has not yet migrated to glibc 2.33, this should be safe to
apply already today.

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru ui-utilcpp-1.10.0/debian/control ui-utilcpp-1.10.0/debian/control
--- ui-utilcpp-1.10.0/debian/control    2020-02-02 11:32:45.000000000 -0800
+++ ui-utilcpp-1.10.0/debian/control    2021-07-23 12:47:36.000000000 -0700
@@ -12,6 +12,7 @@
                libidn11-dev,
                libcap-dev,
                libboost-all-dev (>= 1.35),
+               libtirpc-dev,
                xfslibs-dev,
                doxygen (>= 1.5.6),
                graphviz (>= 2.20.2)
diff -Nru ui-utilcpp-1.10.0/debian/patches/series 
ui-utilcpp-1.10.0/debian/patches/series
--- ui-utilcpp-1.10.0/debian/patches/series     1969-12-31 16:00:00.000000000 
-0800
+++ ui-utilcpp-1.10.0/debian/patches/series     2021-07-23 12:45:47.000000000 
-0700
@@ -0,0 +1 @@
+tirpc.patch
diff -Nru ui-utilcpp-1.10.0/debian/patches/tirpc.patch 
ui-utilcpp-1.10.0/debian/patches/tirpc.patch
--- ui-utilcpp-1.10.0/debian/patches/tirpc.patch        1969-12-31 
16:00:00.000000000 -0800
+++ ui-utilcpp-1.10.0/debian/patches/tirpc.patch        2021-07-23 
12:47:36.000000000 -0700
@@ -0,0 +1,35 @@
+Description: Port from deprecated glibc rpcsvc to libtirpc-dev
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Forwarded: no
+Last-Update: 2021-07-23
+
+Index: ui-utilcpp-1.10.0/configure.ac
+===================================================================
+--- ui-utilcpp-1.10.0.orig/configure.ac
++++ ui-utilcpp-1.10.0/configure.ac
+@@ -83,8 +83,8 @@
+ AC_CHECK_FUNCS(cap_clear_flag)
+ 
+ # Push generic flags
+-AC_SUBST(AM_CPPFLAGS, ["-I\$(top_srcdir)/src"])
+-AC_SUBST(AM_CXXFLAGS, ["-pthread -lrpcsvc $(ucommon-config --cflags)"])
++AC_SUBST(AM_CPPFLAGS, ["-I\$(top_srcdir)/src -I/usr/include/tirpc"])
++AC_SUBST(AM_CXXFLAGS, ["-pthread -ltirpc $(ucommon-config --cflags)"])
+ AC_SUBST(AM_LDFLAGS, ["-pthread"])
+ AC_SUBST(AM_LIBADD, $(ucommon-config --libs))
+ AC_SUBST(AM_LDADD, $(ucommon-config --libs))
+Index: ui-utilcpp-1.10.0/src/ui-utilcpp/Makefile.am
+===================================================================
+--- ui-utilcpp-1.10.0.orig/src/ui-utilcpp/Makefile.am
++++ ui-utilcpp-1.10.0/src/ui-utilcpp/Makefile.am
+@@ -45,3 +45,10 @@
+ libui_utilcpp_la_CXXFLAGS = @AM_CXXFLAGS@ -fvisibility=default
+ libui_utilcpp_la_LDFLAGS = @AM_LDFLAGS@ -version-info @SO_VERSION@
+ libui_utilcpp_la_LIBADD = http/libui-utilcpp-http.la
++
++nodist_libui_utilcpp_la_SOURCES = xdr_rquota.c
++CLEANFILES = xdr_rquota.c
++
++xdr_rquota.c:
++      rpcgen -c /usr/include/rpcsvc/rquota.x > $@
++

--- End Message ---
--- Begin Message ---
Source: ui-utilcpp
Source-Version: 1.10.0-1.1
Done: Simon Josefsson <si...@josefsson.org>

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

Debian distribution maintenance software
pp.
Simon Josefsson <si...@josefsson.org> (supplier of updated ui-utilcpp 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: SHA512

Format: 1.8
Date: Wed, 25 Aug 2021 10:23:30 +0200
Source: ui-utilcpp
Architecture: source
Version: 1.10.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: Stephan Sürken <abs...@debian.org>
Changed-By: Simon Josefsson <si...@josefsson.org>
Closes: 991448
Changes:
 ui-utilcpp (1.10.0-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload
   * Add FTBFS patch from Steve Langasek.  Closes: #991448.
Checksums-Sha1:
 aab0524d90da24c04792e7c5859f5021b08c7ad3 1843 ui-utilcpp_1.10.0-1.1.dsc
 298ce239752828cedb26dc7e03295044505fec7b 12080 
ui-utilcpp_1.10.0-1.1.debian.tar.xz
 f632ab180310bbcaf221c9b59a9041bc2abe4896 14877 
ui-utilcpp_1.10.0-1.1_amd64.buildinfo
Checksums-Sha256:
 677e3b0a90c38292b7ce180e0c88917b45ba5deb8b8408b4e09f7816a8d977b8 1843 
ui-utilcpp_1.10.0-1.1.dsc
 ec359f7a27e96a21acc01c0c014e042bf1343d6b48b991c63d3d7d7e2aca0597 12080 
ui-utilcpp_1.10.0-1.1.debian.tar.xz
 54f443592c60da9fbbdac02e13322392d0f213a85e6a91106e36836c2cfc473d 14877 
ui-utilcpp_1.10.0-1.1_amd64.buildinfo
Files:
 e630fd20431232eb63d92abfd37e2c14 1843 libs optional ui-utilcpp_1.10.0-1.1.dsc
 297ad93bf6c501f000f16025e7b241f8 12080 libs optional 
ui-utilcpp_1.10.0-1.1.debian.tar.xz
 b0ebbd351795cd92896b0d57229892f4 14877 libs optional 
ui-utilcpp_1.10.0-1.1_amd64.buildinfo

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

iQFIBAEBCgAyFiEEmUFc4ZBdDlWp+IAmhgt/uzL4EZ0FAmEl/2oUHHNpbW9uQGpv
c2Vmc3Nvbi5vcmcACgkQhgt/uzL4EZ04owf+MFXfl3dhgnafXoL4/0AQkuNKTpBg
R5/KhMId/2/7OzylxYSH6QRykvEEPHDWk5y0gexcXXH608BF/CJc6W3w5FOUzF5q
BjAgSMg3xSVOKHnJEdohvkiIMQ12ADa0+cX7S247badEmznybJSVkFWMRk0WmaSc
dP/9Ogb+YETNuagI7rmcfT6a8sAsCVyeRJ4wyGKrrhgu9ekSjvbdYfsDrsRPR092
AHlr/1UFRmEcelbPTG8X+VDJXuPh9TQn506nwM3Fylh1gjhNkmK+t9hw1W7cE4Js
CI7sQdYKEW+HIKj2B4wBDuBQBikavYJeRqZ8X9To9G3tg0OwL0fAMSSuOw==
=ge0K
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to