Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename XrdAccAuthorizeObjectAdd to XrdAccAuthorizeObjAdd #1361

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

djw8605
Copy link
Contributor

@djw8605 djw8605 commented Dec 14, 2020

The plugin interface expect XrdAccAuthorizeObjAdd function to
exist.

The plugin interface expect XrdAccAuthorizeObjAdd function to
exist.
@matyasselmeci
Copy link
Contributor

Tried applying this as a patch to the osg build but got this:


[100%] Building CXX object src/XrdSciTokens/CMakeFiles/XrdAccSciTokens.dir/src/XrdAccSciTokens.cc.o
/builddir/build/BUILD/xrootd/xrootd/src/XrdSciTokens/src/XrdAccSciTokens.cc: In function 'XrdAccAuthorize* XrdAccAuthorizeObject(XrdSysLogger*, const char*, const char*)':
/builddir/build/BUILD/xrootd/xrootd/src/XrdSciTokens/src/XrdAccSciTokens.cc:1006:53: error: 'XrdAccAuthorizeObjectAdd' was not declared in this scope
     return XrdAccAuthorizeObjectAdd(lp, cfn, parm, 0);
                                                     ^
/builddir/build/BUILD/xrootd/xrootd/src/XrdSciTokens/src/XrdAccSciTokens.cc:1007:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1plus: all warnings being treated as errors
make[2]: *** [src/XrdSciTokens/CMakeFiles/XrdAccSciTokens.dir/src/XrdAccSciTokens.cc.o] Error 1
make[1]: *** [src/XrdSciTokens/CMakeFiles/XrdAccSciTokens.dir/all] Error 2
make: *** [all] Error 2

(koji build is here: https://koji.opensciencegrid.org/koji/taskinfo?taskID=325387)

@abh3 abh3 merged commit a906155 into xrootd:master Dec 15, 2020
@xrootd-dev
Copy link

xrootd-dev commented Dec 15, 2020 via email

@djw8605
Copy link
Contributor Author

djw8605 commented Dec 15, 2020

Michal found a typo I missed in bf5aa96. @matyasselmeci if you want to patch it again, you will need the second patch as well

@djw8605 djw8605 deleted the rename-scitokens-func branch December 15, 2020 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants