URL:
https://github.com/SSSD/sssd/pull/995
Author: mzidek-gh
Title: #995: nss: Collision with external nss symbol
Action: opened
PR body:
"""
One of our internal static function names started
to collide with external nss symbol. Additional
sss_ suffix was added to avoid the collision.
This is needed to unblock Fedora Rawhide's
SSSD build.
FYI here is the error on rawhide:
```
src/responder/nss/nss_cmd.c:736:16: error: 'nss_setnetgrent' redeclared as
different kind of symbol
736 | static errno_t nss_setnetgrent(struct cli_ctx *cli_ctx,
| ^~~~~~~~~~~~~~~
In file included from ./src/sss_client/sss_cli.h:28,
from ./src/db/sysdb.h:27,
from src/responder/nss/nss_cmd.c:26:
/usr/include/nss.h:184:25: note: previous declaration of 'nss_setnetgrent' was
here
184 | typedef enum nss_status nss_setnetgrent (const char *, struct __netgrent *);
| ^~~~~~~~~~~~~~~
```
Running scratch build right now to see if it fixed the issue.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/995/head:pr995
git checkout pr995