direct log4shib access

wferi at niif.hu wferi at niif.hu
Mon Jun 22 15:41:06 BST 2020


"Cantor, Scott" <cantor.2 at osu.edu> writes:

> On 6/22/20, 6:53 AM, "Ferenc Wagner,,, on behalf of wferi at niif.hu" <wferi at niif.hu> wrote:
>
>> The memcache-store SP plugin calls log4shib::Category::debug() without
>> linking to the log4shib library.  This works, because the SP plugin host
>> provides this symbol for the plugin.  If it is the intended way, then
>> log4shib/log4cpp should either be declared as a public requirement in
>> the pkg-config file of the appropriate library, or the host CXXFLAGS/
>> LIBADD enumerations should be augmented with the logging libraries.  On
>> the other hand if these symbols aren't meant to be provided by the host,
>> then the plugin CXXFLAGS/LIBADD should be augmented instead. (The above
>> plugin is just an example illustrating the question about the intended
>> API usage.)
>
> This really needs to get filed as a bug or it will get dropped, I'm
> not really back on SP work and probably won't be for months.

Actually I loaded up JIRA first, but then grew unsure about the
component to file against.  I'll choose the SP then.
-- 
Thanks,
Feri



More information about the Pkg-shibboleth-devel mailing list