[RFC PATCH v4 1/2] configure: Remove --enable-obsolete-nsl

2020-06-06 Thread Petr Vorel
this means that *always* libnsl is only built as shared library for backward compatibility and the NSS modules libnss_compat, libnss_nis and libnss_nisplus are not built at all, libnsl's headers aren't installed. This compatibility is kept only for architectures and ABIs that have been added in or

[RFC PATCH v4 0/2] Remove --enable-obsolete-nsl --enable-obsolete-rpc

2020-06-06 Thread Petr Vorel
Hi, sorry for posting too many versions. changes v3->v4: * Rename libc_hidden_nolink back to libc_hidden_nolink_sunrpc (more descriptive, fewer line changed). changes v2->v3: * Fix issue with missing etc directory. It was caused by missing: install-others = $(inst_sysconfdir)/rpc But now is /etc

Re: [RFC PATCH v3 0/2] Remove --enable-obsolete-nsl --enable-obsolete-rpc

2020-06-06 Thread Petr Vorel
Hi, Maybe the naming isn't quite right: I guess libc_hidden_nolink should be libc_hidden_nolink_sunrpc (thus files in sunrpc/ will not have to be renamed) => v4. I kept libnsl_hidden_nolink_def. I could rename it to libnsl_hidden_nolink if desired. Kind regards, Petr

[RFC PATCH v3 1/2] configure: Remove --enable-obsolete-nsl

2020-06-06 Thread Petr Vorel
this means that *always* libnsl is only built as shared library for backward compatibility and the NSS modules libnss_compat, libnss_nis and libnss_nisplus are not built at all, libnsl's headers aren't installed. This compatibility is kept only for architectures and ABIs that have been added in or

[RFC PATCH v3 0/2] Remove --enable-obsolete-nsl --enable-obsolete-rpc

2020-06-06 Thread Petr Vorel
Hi, changes v2->v3: * Fix issue with missing etc directory. It was caused by missing: install-others = $(inst_sysconfdir)/rpc But now is /etc/rpc only included on backward compatibility. It leaded me to create /etc directory for tests in testroot.pristine/install.stamp make target (I could add may

Re: [RFC PATCH v2 0/2] Remove --enable-obsolete-nsl --enable-obsolete-rpc

2020-06-06 Thread Petr Vorel
Hi, > On Fri, 5 Jun 2020, Szabolcs Nagy wrote: > > i would try to see why /etc is not created in the testroot. > Maybe it was only previously created as part of installing /etc/rpc there > and the patch is causing that file no longer to be installed? Found that. That was the missing piece. ins

Re: [RFC PATCH v2 0/2] Remove --enable-obsolete-nsl --enable-obsolete-rpc

2020-06-06 Thread Petr Vorel
Hi Szabolcs, Joseph, > On Fri, 5 Jun 2020, Szabolcs Nagy wrote: > > i would try to see why /etc is not created in the testroot. > Maybe it was only previously created as part of installing /etc/rpc there > and the patch is causing that file no longer to be installed? Thanks for your tips! Inde