freebsd 12.1
dovecot-2.3.14 built manually (no port build) : ./configure
--with-pgsql
currentconfig (dovecot-2.3-pigeonhole-0.5.18) : ./configure
--with-dovecot=/usr/local/lib/dovecot
Error when building :
Screen Shot (color may help)
Actual :
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../..
-I/usr/local/include/dovecot -I../../../..
-I../../../../src/lib-sieve -std=gnu99 -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast
-fno-builtin-strftime -Wstrict-aliasing=2 -fstack-protector-strong
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mfunction-return=keep
-mindirect-branch=keep -I../../../.. -MT sieve-dict-script.lo -MD
-MP -MF .deps/sieve-dict-script.Tpo -c sieve-dict-script.c -fPIC
-DPIC -o .libs/sieve-dict-script.o
sieve-dict-script.c: In function 'sieve_dict_script_open':
sieve-dict-script.c:84:9: error: variable 'set' has initializer
but incomplete type
84 | struct dict_op_settings set = {
| ^~~~~~~~~~~~~~~~
sieve-dict-script.c:85:4: error: 'struct dict_op_settings' has no
member named 'username'
85 | .username = dstorage->username,
| ^~~~~~~~
sieve-dict-script.c:85:15: warning: excess elements in struct
initializer
85 | .username = dstorage->username,
| ^~~~~~~~
sieve-dict-script.c:85:15: note: (near initialization for 'set')
sieve-dict-script.c:84:26: error: storage size of 'set' isn't
known
84 | struct dict_op_settings set = {
| ^~~
sieve-dict-script.c:88:31: warning: passing argument 3 of
'dict_lookup' from incompatible pointer type
[-Wincompatible-pointer-types]
88 | (dscript->dict, &set, script->pool, path,
&data_id, &error);
| ~~~~~~^~~~~~
| |
| pool_t {aka struct pool *}
In file included from sieve-dict-script.c:8:
/usr/local/include/dovecot/dict.h:102:15: note: expected 'const
char *' but argument is of type 'pool_t' {aka 'struct pool *'}
102 | const char *key, const char **value_r, const char
**error_r);
| ~~~~~~~~~~~~^~~
sieve-dict-script.c:88:39: warning: passing argument 4 of
'dict_lookup' from incompatible pointer type
[-Wincompatible-pointer-types]
88 | (dscript->dict, &set, script->pool, path,
&data_id, &error);
| ^~~~
| |
| const char *
In file included from sieve-dict-script.c:8:
/usr/local/include/dovecot/dict.h:102:33: note: expected 'const
char **' but argument is of type 'const char *'
102 | const char *key, const char **value_r, const char
**error_r);
| ~~~~~~~~~~~~~^~~~~~~
sieve-dict-script.c:87:8: error: too many arguments to function
'dict_lookup'
87 | ret = dict_lookup
| ^~~~~~~~~~~
In file included from sieve-dict-script.c:8:
/usr/local/include/dovecot/dict.h:101:5: note: declared here
101 | int dict_lookup(struct dict *dict, pool_t pool,
| ^~~~~~~~~~~
sieve-dict-script.c:84:26: warning: unused variable 'set'
[-Wunused-variable]
84 | struct dict_op_settings set = {
| ^~~
sieve-dict-script.c: In function 'sieve_dict_script_get_stream':
sieve-dict-script.c:126:9: error: variable 'set' has initializer
but incomplete type
126 | struct dict_op_settings set = {
| ^~~~~~~~~~~~~~~~
sieve-dict-script.c:127:4: error: 'struct dict_op_settings' has no
member named 'username'
127 | .username = dstorage->username,
| ^~~~~~~~
sieve-dict-script.c:127:15: warning: excess elements in struct
initializer
127 | .username = dstorage->username,
| ^~~~~~~~
sieve-dict-script.c:127:15: note: (near initialization for 'set')
sieve-dict-script.c:126:26: error: storage size of 'set' isn't
known
126 | struct dict_op_settings set = {
| ^~~
sieve-dict-script.c:130:32: warning: passing argument 3 of
'dict_lookup' from incompatible pointer type
[-Wincompatible-pointer-types]
130 | (dscript->dict, &set, dscript->data_pool,
path, &data, &error);
| ~~~~~~~^~~~~~~~~~~
| |
| pool_t {aka struct pool *}
In file included from sieve-dict-script.c:8:
/usr/local/include/dovecot/dict.h:102:15: note: expected 'const
char *' but argument is of type 'pool_t' {aka 'struct pool *'}
102 | const char *key, const char **value_r, const char
**error_r);
| ~~~~~~~~~~~~^~~
sieve-dict-script.c:130:45: warning: passing argument 4 of
'dict_lookup' from incompatible pointer type
[-Wincompatible-pointer-types]
130 | (dscript->dict, &set, dscript->data_pool,
path, &data, &error);
| ^~~~
| |
| const char *
In file included from sieve-dict-script.c:8:
/usr/local/include/dovecot/dict.h:102:33: note: expected 'const
char **' but argument is of type 'const char *'
102 | const char *key, const char **value_r, const char
**error_r);
| ~~~~~~~~~~~~~^~~~~~~
sieve-dict-script.c:129:8: error: too many arguments to function
'dict_lookup'
129 | ret = dict_lookup
| ^~~~~~~~~~~
In file included from sieve-dict-script.c:8:
/usr/local/include/dovecot/dict.h:101:5: note: declared here
101 | int dict_lookup(struct dict *dict, pool_t pool,
| ^~~~~~~~~~~
sieve-dict-script.c:126:26: warning: unused variable 'set'
[-Wunused-variable]
126 | struct dict_op_settings set = {
| ^~~
gmake[5]: *** [Makefile:461: sieve-dict-script.lo] Error 1
gmake[5]: Leaving directory
'/usr/local/src/mail/dovecot-2.3-pigeonhole-0.5.18/src/lib-sieve/storage/dict'
gmake[4]: *** [Makefile:426: all-recursive] Error 1
gmake[4]: Leaving directory
'/usr/local/src/mail/dovecot-2.3-pigeonhole-0.5.18/src/lib-sieve/storage'
gmake[3]: *** [Makefile:909: all-recursive] Error 1
gmake[3]: Leaving directory
'/usr/local/src/mail/dovecot-2.3-pigeonhole-0.5.18/src/lib-sieve'
gmake[2]: *** [Makefile:438: all-recursive] Error 1
gmake[2]: Leaving directory
'/usr/local/src/mail/dovecot-2.3-pigeonhole-0.5.18/src'
gmake[1]: *** [Makefile:763: all-recursive] Error 1
gmake[1]: Leaving directory
'/usr/local/src/mail/dovecot-2.3-pigeonhole-0.5.18'
gmake: *** [Makefile:622: all] Error 2
--
Happy Sunday !!!
Thanks - paul
Paul Kudla
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3
Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266