<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-03-09 14:48 GMT+01:00 Tomas Heinrich <span dir="ltr"><<a href="mailto:theinric@redhat.com" target="_blank">theinric@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/09/15 14:09, Rainer Gerhards wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Maybe a bug in libestr?<br>
</blockquote>
<br></span>
Turns out that it is a bug in the packaging. Filed as rhbz 1199995.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
... but I also get some unexpected warnings, for which I did not yet<br>
find a cure. It's about json_object_object_get being depricated [0].<br>
<br>
This is (kind of;)) being checked for in <a href="http://configure.ac" target="_blank">configure.ac</a><br></span>
<<a href="http://configure.ac" target="_blank">http://configure.ac</a>> as well. I thought the include file was missing<span class=""><br>
here, too, but this definition doesn't make any difference:<br>
<br>
AC_CHECK_FUNCS(json_object_<u></u>object_get_ex,,,[#include <json.h>])<br>
<br>
Any idea?<br>
</span></blockquote>
<br>
Uhm, doesn't it check for json_object_object_get_ex()? Maybe I don't get how those two are related.<br>
<br>
Either way, is the warning a real bug? It just warns that the function should be avoided in the future. The code in json_compatibility.c only handles the nonexistence of json_object_object_get_ex(), but explicitly references json_object_object_get().</blockquote><div><br></div><div>It's a warning, and it's not a real problem. But the detection of json_object_object_get_ex() does not work on el6. On other platforms, configure detects it, and so the old one is never used. On el6, it looks like it doesn't detect the function, and so the "json compatiblitly layer" in liblognorm is invoked, which calls the old function. A little bit of overhead involved, but mostly the issue is what's going on.</div><div><br></div><div>In any case, I'll release with more or less cosmetic issue. We can always "fix" it later.</div><div><br></div><div>Rainer</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Rainer<br>
<br>
[0]<br>
enc_syslog.c: En la función ‘ln_fmtEventToRFC5424’:<br>
</blockquote>
<br></span>
What locale are you using? :]<span class="HOEnZb"><font color="#888888"><br>
<br>
Tomas<br>
<br>
</font></span></blockquote></div><br></div></div>