[BUG] Issues with glib in 3.1.0.11

asked 2019-08-19 15:09:27 +0300

Nieldk gravatar image

updated 2019-08-26 14:14:44 +0300

GLIB got an update in the latest Sailfish OS version (3.1.0.11). This version of glibc (2.28) have removed SunRPC. It was optional until 2.25.

The recommendation is now, to use libtirpc as opposed to SunRPC.

libtirpc, however, have not been compiled for Sailfish OS.

This will mean issues for packages needing the NIS / RPC libraries. I just now experienced that issue with my build of Postfix for Sailfish OS.

I tried to build libtirpc on mer (succeded), however, that breaks other dependencies.

While it is possible to build and compile on-device, I dont think this is the way to go, and i most certainly will mean less support on my builds, as it is not solvable on the build engine.

The conflicting files in glibc-headers <-> libtirpc, which should be removed from glibc-headers, and libtirpc should replace them are:

auth.h auth_des.h auth_unix.h clnt.h key_prot.h pmap_clnt.h pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h svc_auth.h types.h xdr.h

For a bit more information, have a look at the Fedora pages for removal of SunRPC from GLIBC, https://fedoraproject.org/wiki/Changes/SunRPCRemoval#Upgrade.2Fcompatibility_impact

edit retag flag offensive close delete

Comments

Just to clarify for my understanding : there's headers for an uncompiled which have not been removed from glibc's package, did I get it right?

tortoisedoc ( 2019-08-26 20:30:35 +0300 )edit

Since SunRPC is deprecated, and should be replaced by libtirpc, mentioned headers in glibc-headers package needs to be removed. But also , libtirpc should be build , together with libnsl, to replace the deprecated glubc headers.

The mentioned headers are basically “leftovers” from SunRPC.

This is an issue since glibc greater than version 2.25, when SunRPC was deprecated (due to IPv6 support)

Nieldk ( 2019-08-26 21:06:13 +0300 )edit