Summary: | app-admin/syslog-ng-3.4.3 - In file included from msg_parse_lib.h:31:0, from template_lib.c:26: /usr/include/krb5/plugin.h:43:2: error: expected declaration specifiers or ‘...’ before ‘*’ token (*krb5_plugin_initvt_fn)[...] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michal Privoznik <miso.privoznik> |
Component: | [OLD] Server | Assignee: | Mr. Bones. (RETIRED) <mr_bones_> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | algernon |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
syslog-ng-3.4.3.patch
emerge.info build.log |
Created attachment 358470 [details]
emerge.info
Forgot to attach the 'emerge --info' output. Doing so now.
I do not agree with the cfg-lex.l patch: sizeof(block_boundary) returns the correct number (2), while sizeof(*block_boundary) returns the size of a single gchar, which is not what we want there. The other changes look good, will pick them for the next 3.4 release, thanks! Please attach the entire (failing?) build log to this bug report. Created attachment 358474 [details]
build.log
syslog-ng 3.4.3 is gone |
Created attachment 358468 [details, diff] syslog-ng-3.4.3.patch If one tries to compile syslog-ng-3.4.3 he will get some errors. First of all, if kerberos is installed, the error in -I ordering will include kerberos' plugin.h instead of the one provided by syslog-ng. Sight. Moreover, there are two other bugs which may lead to runtime errors and random failures. These are type of: memcpy(ptr1, ptr2, sizeof(ptr1)), while it should be sizeof(*ptr1). See attached file which should serve as patch to address these issues.