Fixed the json.h not included bug here: https://github.com/rsyslog/liblognorm/pull/18
On Mon, Jan 19, 2015 at 5:09 PM, Florian Riedl <[email protected]> wrote: > 2015-01-19 11:51 GMT+01:00 Tomas Heinrich <[email protected]>: > > > On 01/16/15 12:05, Florian Riedl wrote: > > > >> Hi all, > >> > >> We have just released liblognorm 1.1.0. > >> > > > > I've checked out the new release and there are couple of things that I > > think need to be sorted out. I'll start filing PRs for those confirmed to > > be real bugs. > > > > The link at http://www.liblognorm.com/download/ actually points to > 1.0.1. > > I guess this is why Upstream Tracker didn't pick it up. > > > > > Fixed > > > > The library (as in soname) is incorrectly versioned. The current version > > is: > > liblognorm_la_LDFLAGS = -version-info 1:0:0 > > It wasn't updated since 0.4.0 even though the interface has been changed. > > Updating the version should be part of the release process and > > not doing so would cause issues for the consumers of this lib. > > This is not the only github.com/rsyslog/lib* with this problem. > > Some details about the versioning mechanism are here[0]. > > > > I've noticed that liblognorm.h references struct json_object without > > including json.h. This doesn't seem to break compilation of mmnormalize > > only because the module itself includes json.h before including > > liblognorm.h. > > > > liblognorm.h includes libestr.h without an apparent need. The lognorm.h > > header seems to require libestr.h withouth including it - but it includes > > liblognorm.h so things kind of work. > > > > The headers distributed with liblognorm are scattered all over > > /usr/include. Using a single directory would be preferable. > > > > Are all the headers that are distributed[1] really mean to be public? > > > > Needs to be done through developement. > > > > > > Tomas > > > > [0] https://www.sourceware.org/autobook/autobook/autobook_91.html > > [1] include_HEADERS = liblognorm.h samp.h lognorm.h ptree.h annot.h enc.h > > parser.h lognorm-features.h > > > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > > DON'T LIKE THAT. > > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > -- Regards, Janmejay http://codehunk.wordpress.com _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

