[Buildroot] [PATCH 1/2] libtirpc: remove NIS patch

Yann E. MORIN yann.morin.1998 at free.fr
Tue Dec 29 20:46:58 UTC 2020


Petr, All,

On 2020-12-02 19:49 +0100, Petr Vorel spake thusly:
> It was originally added in 6dc861f2a2 ("libtirpc: new package")
> for libtirpc 0.2.2 (8 years ago). It might have been fixed in
> 5f00f8c ("Remove dependency to nis.h"), released in 1.0.2.

Yup, seems like it.

Applied to master, thanks.

> Testing with test-pkg shows the only failure for br-riscv32:
> RPC support not available in C library, please disable
> BR2_TOOLCHAIN_EXTERNAL_INET_RPC
> 
> But test fails with the same error even when this patch is kept.

Indeed, the risc32 case is special: it uses a glibc more recent than
2.32. In glibc 2.32, RPC support was entirely removed, so it is not
unexpected that we do have RPC-relacted issues for riscv32.

Regards,
Yann E. MORIN.

> Signed-off-by: Petr Vorel <petr.vorel at gmail.com>
> ---
> Originally sent in
> https://patchwork.ozlabs.org/project/buildroot/patch/20201127203907.16845-1-petr.vorel@gmail.com/
> 
>  ...parts-of-TIRPC-requiring-NIS-support.patch | 50 -------------------
>  1 file changed, 50 deletions(-)
>  delete mode 100644 package/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch
> 
> diff --git a/package/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch b/package/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch
> deleted file mode 100644
> index 101a779ade..0000000000
> --- a/package/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch
> +++ /dev/null
> @@ -1,50 +0,0 @@
> -From cb30579c9195ae29c82545c934e0bd9677262bce Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause at embedded.rocks>
> -Date: Fri, 20 Dec 2019 17:58:17 +0100
> -Subject: [PATCH] Disable parts of TIRPC requiring NIS support
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
> -
> -Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> -[yann.morin.1998 at free.fr: update for 0.3.1]
> -Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> -[joerg.krause at embedded.rocks: update for 0.3.2]
> -Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> -[peda at axentia.se: update for 1.0.1]
> -Signed-off-by: Peter Rosin <peda at axentia.se>
> -[bernd.kuhls at t-online.de: update for 1.0.2]
> -Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> -[pvorel: update for 1.2.5]
> -Signed-off-by: Petr Vorel <petr.vorel at gmail.com>
> ----
> - src/Makefile.am | 6 +++---
> - 1 file changed, 3 insertions(+), 3 deletions(-)
> -
> -diff --git a/src/Makefile.am b/src/Makefile.am
> -index b2d5436..864f984 100644
> ---- a/src/Makefile.am
> -+++ b/src/Makefile.am
> -@@ -24,7 +24,7 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c \
> -         rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
> -         rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \
> -         svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
> --        auth_time.c debug.c 
> -+        debug.c
> - 
> - if AUTHDES
> - libtirpc_la_SOURCES += auth_des.c  authdes_prot.c  des_crypt.c  des_impl.c  des_soft.c  svc_auth_des.c
> -@@ -45,8 +45,8 @@ if GSS
> -     libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS)
> - endif
> - 
> --libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c
> --libtirpc_la_SOURCES += netname.c netnamer.c rpcdname.c rtime.c
> -+#libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c
> -+#libtirpc_la_SOURCES += netname.c netnamer.c rpcdname.c rtime.c
> - 
> - CLEANFILES	       = cscope.* *~
> - DISTCLEANFILES	       = Makefile.in
> --- 
> -2.24.0
> -
> -- 
> 2.29.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list