Pacaging/build issues with AIX and vac (dovecot-2.2.25)

Michael Felt michael at felt.demon.nl
Sat Jun 10 18:26:03 EEST 2017


On 10/06/2017 17:23, Michael Felt wrote:
> On 10/06/2017 14:42, Michael Felt wrote:
>>
>> Next chapter in packaging.(Not meant to be extensive, only what I run 
>> across and is easy to report)
>
> c)
>
>       378 | int quota_root_default_init(struct quota_root *root, const 
> char *args,
>       379 |                             const char **error_r)
>       380 | {
>       381 |         const struct quota_param_parser default_params[] = {
>       382 |                 quota_param_hidden,
> "../../../../src/x071-test/src/plugins/quota/quota.c", line 382.17: 
> 1506-196 (S) Initialization between types "char* const" and "struct 
> quota_param_parser" is not allowed.
>       383 |                 quota_param_ignoreunlimited,
> "../../../../src/x071-test/src/plugins/quota/quota.c", line 383.17: 
> 1506-196 (S) Initialization between types "void(* const)(struct 
> quota_root*,const char*)" and "struct quota_param_parser" is not allowe
> d.
>       384 |                 quota_param_noenforcing,
> "../../../../src/x071-test/src/plugins/quota/quota.c", line 384.17: 
> 1506-196 (S) Initialization between types "char* const" and "struct 
> quota_param_parser" is not allowed.
>       385 |                 quota_param_ns,
> "../../../../src/x071-test/src/plugins/quota/quota.c", line 385.17: 
> 1506-196 (S) Initialization between types "void(* const)(struct 
> quota_root*,const char*)" and "struct quota_param_parser" is not allowe
> d.
>       386 |                 {.param_name = NULL}
>       386 +                 {.param_name = 0}
>       387 |         };
>       388 |         return quota_parse_parameters(root, &args, 
> error_r, default_params, FALSE);
>       388 +         return quota_parse_parameters(root, &args, 
> error_r, default_params, 0);
>       389 | }

More on this (the redirect to /dev/null is to remove all the verbosity)

michael at x071.home.local:[/data/prj/aixtools/github/dovecot/x071-test/src/plugins/quota]make 
-i >/dev/null
"../../../../src/x071-test/src/plugins/quota/quota.c", line 382.17: 
1506-196 (S) Initialization between types "char* const" and "struct 
quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota.c", line 383.17: 
1506-196 (S) Initialization between types "void(* const)(struct 
quota_root*,const char*)" and "struct quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota.c", line 384.17: 
1506-196 (S) Initialization between types "char* const" and "struct 
quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota.c", line 385.17: 
1506-196 (S) Initialization between types "void(* const)(struct 
quota_root*,const char*)" and "struct quota_param_parser" is not allowed.
make: [quota.lo] Error 1 (ignored)
"../../../../src/x071-test/src/plugins/quota/quota-fs.c", line 125.17: 
1506-196 (S) Initialization between types "char* const" and "struct 
quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota-fs.c", line 125.37: 
1506-196 (S) Initialization between types "void(* const)(struct 
quota_root*,const char*)" and "struct quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota-fs.c", line 125.62: 
1506-196 (S) Initialization between types "char* const" and "struct 
quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota-fs.c", line 126.18: 
1506-515 (S) Member designator cannot be applied to an object of type 
"const struct quota_param_parser[]".
make: [quota-fs.lo] Error 1 (ignored)
"../../../../src/x071-test/src/plugins/quota/quota-dict.c", line 47.17: 
1506-196 (S) Initialization between types "char* const" and "struct 
quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota-dict.c", line 47.37: 
1506-196 (S) Initialization between types "void(* const)(struct 
quota_root*,const char*)" and "struct quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota-dict.c", line 47.66: 
1506-196 (S) Initialization between types "char* const" and "struct 
quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota-dict.c", line 47.91: 
1506-196 (S) Initialization between types "void(* const)(struct 
quota_root*,const char*)" and "struct quota_param_parser" is not allowed.
make: [quota-dict.lo] Error 1 (ignored)
"../../../../src/x071-test/src/plugins/quota/quota-imapc.c", line 66.17: 
1506-196 (S) Initialization between types "char* const" and "struct 
quota_param_parser" is not allowed.
"../../../../src/x071-test/src/plugins/quota/quota-imapc.c", line 67.18: 
1506-515 (S) Member designator cannot be applied to an object of type 
"const struct quota_param_parser[]".
make: [quota-imapc.lo] Error 1 (ignored)
libtool:   error: 'quota.lo' is not a valid libtool object
make: [lib10_quota_plugin.la] Error 1 (ignored)
libtool:   error: 'quota.lo' is not a valid libtool object
make: [quota-status] Error 1 (ignored)
michael at x071.home.local:[/data/prj/aixtools/github/dovecot/x071-test/src/plugins/quota]



More information about the dovecot mailing list