[RFC PATCH] Remove --enable-obsolete-rpc flag

Szabolcs Nagy szabolcs.nagy@arm.com
Thu Jun 4 10:53:03 GMT 2020


The 06/04/2020 12:35, Petr Vorel wrote:
> The Sun RPC headers are not built, rpcgen program, librpcsvc and
> test for bug #20790 are completely removed.
> 
> libtirpc is mature enough, librpcsvc and rpcgen are provided in
> rpcsvc-proto project.

i don't have a strong opinion on this, but i know we
have internal build scripts with --enable-obsolete-rpc
so i guess we will have to update those build scripts.

a bit more background detail may be useful in the
commit message though to help those who will have to
transition.

> this is a naive approach to stop providing the Sun RPC headers and
> related tools. It'd be great to move on and encourage using libtirpc and
> rpcsvc-proto for the rest of the users which are still using glibc
> implementation on never distros. Is it too early for it? If not,
> dropping --enable-obsolete-nsl could also be considered.
> 
> make check failed on elf/tst-ldconfig-ld_so_conf-update and I was not
> able to figure out what broke it:
> FAIL: elf/tst-ldconfig-ld_so_conf-update
> Any hint what's wrong?

well first look at elf/tst-ldconfig-ld_so_conf-update.out

i usually get this if etc/ld.so.cache is not installed
(e.g. cross-compiling != no in config.make) or if it
is not updated in the testroot container, but it can
fail for various reasons, you can try to run

strace -o logfile -f -s 222 -tt make test t=elf/tst-ldconfig-ld_so_conf-update

and look for a failing test child process and work
backwards to see what might have caused that failure.

>  86 files changed, 160 insertions(+), 9587 deletions(-)

nice.


More information about the Libc-alpha mailing list