[OpenAFS-devel] GNU glibc >=2.26 and openafs
Peter Gille
petergil+afs@pdc.kth.se
Sun, 10 Dec 2017 13:58:43 +0100
On 2017-12-09 19:45:27 +0000, Benjamin Kaduk <kaduk@mit.edu> wrote:
> I think that as of commit 7293ddf325b149cae60d3abe7199d08f196bd2b9
> (so, quite some time ago), we are supposed to only be using the
> in-tree XDR bits, at least for userspace builds. So it should be
> easy to resolve this issue by just removing the offending include
> directives -- I took a stab in the chain of patches ending at
> https://gerrit.openafs.org/#/c/12802/ .
Ah, ok. That was good news.
> Well, it looks like 2.26 is only in debian experimental so far, so
> my systems (on unstable) haven't picked it up yet.
Sure. It was released in August so I would have been surprised if any
major distro picked it up yet. Still, it's good to be prepared.
Especially since this turned out to be a fairly minor patch.
> Could you give the above patches a try and see if they help?
They seem to work on 1.8.0_pre3 but I'm getting some unrelated linking
errors there so I can't actually run it at the moment.
Adapting the patches to apply to 1.6.22 seems to work except there is
one include that is missed in src/rxkad/rxkad_client.c, line 40.
Commenting that out as well gives a working compile and a running afs.
> Thanks,
>
> Ben
Thanks for the quick fix!
Cheers,
Peter