First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 212594
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Benedikt Böhm <hollow@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robin Bankhead <robin.bankhead@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212594 depends on: Show dependency tree
Show dependency graph
Bug 212594 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-07 15:48 0000
Build fails with the following output. The header that can't be found is
present, in /usr/include/dovecot/src/lib-index/mail-index-private.h so I assume
this is a bug in how the header dirs are selected.


>>> Unpacking source...
>>> Unpacking dovecot-antispam-20080227.tar.gz to /var/tmp/portage/mail-filter/dovecot-antispam-20080227/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mail-filter/dovecot-antispam-20080227/work/dovecot-antispam ...
cc -c -std=gnu99 -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include   
-DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/
-I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/
-I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/
-I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/imap/
-Dstr_array_length=strarray_length "-Dmempool_unref(x)=pool_unref(*(x))" -fPIC
-shared -Wall -Wextra -DPLUGINNAME=antispam -o antispam-storage-1.0.o
antispam-storage-1.0.c
cc -c -std=gnu99 -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include   
-DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/
-I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/
-I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/
-I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/imap/
-Dstr_array_length=strarray_length "-Dmempool_unref(x)=pool_unref(*(x))" -fPIC
-shared -Wall -Wextra -DPLUGINNAME=antispam -o signature.o signature.c
cc -c -std=gnu99 -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include   
-DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/
-I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/
-I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/
-I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/imap/
-Dstr_array_length=strarray_length "-Dmempool_unref(x)=pool_unref(*(x))" -fPIC
-shared -Wall -Wextra -DPLUGINNAME=antispam -o antispam-plugin.o
antispam-plugin.c
cc -c -std=gnu99 -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include   
-DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/
-I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/
-I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/
-I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/imap/
-Dstr_array_length=strarray_length "-Dmempool_unref(x)=pool_unref(*(x))" -fPIC
-shared -Wall -Wextra -DPLUGINNAME=antispam -o dspam-exec.o dspam-exec.c
In file included from antispam-plugin.c:34:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:7:32: error:
mail-index-private.h: No such file or directory
In file included from antispam-plugin.c:34:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:87: warning:
'struct mail_index_view' declared inside parameter list
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:87: warning: its
scope is only this definition or declaration, which is probably not what you
want
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:91: warning:
'struct mail_index_transaction' declared inside parameter list
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:311: error:
'mail_index_module_register' undeclared here (not in a function)
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:311: warning: type
defaults to 'int' in declaration of 'reg'
In file included from antispam-plugin.c:41:
antispam-plugin.h: In function 'debug':
antispam-plugin.h:42: warning: unused parameter 'fmt'
antispam-plugin.c: At top level:
antispam-plugin.c:104: warning: no previous prototype for
'antispam_plugin_init'
antispam-plugin.c:158: warning: no previous prototype for
'antispam_plugin_deinit'
antispam-plugin.c: In function 'antispam_plugin_deinit':
antispam-plugin.c:161: error: invalid type argument of '->'
make: *** [antispam-plugin.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from dspam-exec.c:27:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:7:32: error:
mail-index-private.h: No such file or directory
In file included from dspam-exec.c:27:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:87: warning:
'struct mail_index_view' declared inside parameter list
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:87: warning: its
scope is only this definition or declaration, which is probably not what you
want
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:91: warning:
'struct mail_index_transaction' declared inside parameter list
In file included from antispam-storage-1.0.c:15:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:7:32: error:
mail-index-private.h: No such file or directory
In file included from antispam-storage-1.0.c:15:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:87: warning:
'struct mail_index_view' declared inside parameter list
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:87: warning: its
scope is only this definition or declaration, which is probably not what you
want
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:91: warning:
'struct mail_index_transaction' declared inside parameter list
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:311: error:
'mail_index_module_register' undeclared here (not in a
function)/usr/include/dovecot/src/lib-storage/mail-storage-private.h:311:
error: 'mail_index_module_register' undeclared here (not in a function)
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:311: warning: type
defaults to 'int' in declaration of 'reg'

/usr/include/dovecot/src/lib-storage/mail-storage-private.h:311: warning: type
defaults to 'int' in declaration of 'reg'
In file included from signature.c:3:
antispam-plugin.h: In function 'debug':
antispam-plugin.h:42: warning: unused parameter 'fmt'
In file included from signature.c:5:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:7:32: error:
mail-index-private.h: No such file or directory
In file included from signature.c:5:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h: At top level:
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:87: warning:
'struct mail_index_view' declared inside parameter list
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:87: warning: its
scope is only this definition or declaration, which is probably not what you
want
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:91: warning:
'struct mail_index_transaction' declared inside parameter list
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:311: error:
'mail_index_module_register' undeclared here (not in a function)
/usr/include/dovecot/src/lib-storage/mail-storage-private.h:311: warning: type
defaults to 'int' in declaration of 'reg'
signature.c: In function 'signature_extract_to_list':
signature.c:24: error: too few arguments to function 'mail_get_headers'
signature.c:27: error: incompatible type for argument 2 of
'mail_storage_set_error'
signature.c:27: error: too few arguments to function 'mail_storage_set_error'
signature.c: In function 'signature_extract':
signature.c:49: error: too few arguments to function 'mail_get_headers'
signature.c:52: error: incompatible type for argument 2 of
'mail_storage_set_error'
signature.c:52: error: too few arguments to function 'mail_storage_set_error'
In file included from antispam-storage-1.0.c:17:
antispam-plugin.h: In function 'debug':
antispam-plugin.h:42: warning: unused parameter 'fmt'
antispam-storage-1.0.c: At top level:
antispam-storage-1.0.c:36: warning: no previous prototype for 'move_to_class'
make: *** [signature.o] Error 1
antispam-storage-1.0.c: In function 'antispam_copy':
antispam-storage-1.0.c:64: warning: implicit declaration of function
'array_idx_modifyable'
antispam-storage-1.0.c:64: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:66: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:82: error: incompatible type for argument 2 of
'mail_storage_set_error'
antispam-storage-1.0.c:82: error: too few arguments to function
'mail_storage_set_error'
antispam-storage-1.0.c: In function 'antispam_save_init':
antispam-storage-1.0.c:134: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:139: error: incompatible type for argument 8 of
'asbox->super.save_init'
antispam-storage-1.0.c: In function 'antispam_save_finish':
antispam-storage-1.0.c:146: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:148: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:158: error: too many arguments to function
'asbox->super.save_finish'
antispam-storage-1.0.c:174: error: incompatible type for argument 2 of
'mail_storage_set_error'
antispam-storage-1.0.c:174: error: too few arguments to function
'mail_storage_set_error'
In file included from dspam-exec.c:29:
antispam-plugin.h: In function 'debug':
antispam-plugin.h:42: warning: unused parameter 'fmt'
antispam-storage-1.0.c: In function 'antispam_mailbox_transaction_begin':
antispam-storage-1.0.c:223: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:230: error: size of array 'type name' is negative
antispam-storage-1.0.c: In function 'antispam_mailbox_transaction_commit':
antispam-storage-1.0.c:238: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:239: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:245: error: incompatible type for argument 2 of
'asbox->super.transaction_commit'
antispam-storage-1.0.c:245: error: too few arguments to function
'asbox->super.transaction_commit'
dspam-exec.c: At top level:
dspam-exec.c:158: error: expected ';', ',' or ')' before '__attr_unused__'
antispam-storage-1.0.c: In function 'antispam_mailbox_transaction_rollback':
antispam-storage-1.0.c:251: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:252: warning: cast from function call of type 'int' to
non-matching type 'void **'
dspam-exec.c: In function 'backend_commit':
dspam-exec.c:183: error: incompatible type for argument 2 of
'mail_storage_set_error'
dspam-exec.c:183: error: too few arguments to function 'mail_storage_set_error'
antispam-storage-1.0.c: In function 'antispam_mailbox_open':
antispam-storage-1.0.c:263: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:277: warning: assignment from incompatible pointer type
antispam-storage-1.0.c:278: warning: assignment from incompatible pointer type
antispam-storage-1.0.c:280: warning: assignment from incompatible pointer type
antispam-storage-1.0.c:283: error: size of array 'type name' is negative
antispam-storage-1.0.c: In function 'antispam_mail_storage_created':
antispam-storage-1.0.c:300: error: 'mail_storage_module_id' undeclared (first
use in this function)
antispam-storage-1.0.c:300: error: (Each undeclared identifier is reported only
once
antispam-storage-1.0.c:300: error: for each function it appears in.)
antispam-storage-1.0.c:304: error: size of array 'type name' is negative
make: *** [dspam-exec.o] Error 1
make: *** [antispam-storage-1.0.o] Error 1


Flags for related packages:
[ebuild     U ] net-mail/dovecot-1.1_rc1-r1 [1.1_rc1] USE="kerberos ldap mysql
pam ssl -debug -doc -ipv6 -managesieve -mbox -pop3d -postgres -sieve -suid
-vpopmail" 0 kB
[ebuild   R   ] mail-filter/dspam-3.8.0-r11  USE="clamav daemon ldap mysql
virtual-users -debug -large-domain -postgres -sqlite -syslog -user-homedirs" 0
kB
[ebuild  N    ] mail-filter/dovecot-antispam-20080227  USE="dspam -crm114
-debug -mailtrain -signature-log -syslog" 0 kB

emerge --info:
Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.7-r1,
2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Pentium III (Coppermine)
Timestamp of tree: Thu, 06 Mar 2008 20:17:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/make.conf"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer nodoc noinfo sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LINGUAS="en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X509 a52 aac acl acpi aim apache2 berkdb bzip2 clamav cli cracklib crypt
cups curl curlwrappers dba dbm dbus dbx dio dri dv dvb encode exif fastcgi
ffmpeg foomaticdb fortran ftp gd gd-external gdbm glut gpm hal hardened
hardenedphp iconv icq imagemagick imap innodb isdnlog java javascript jpeg
kerberos lcms ldap libwww mad mailwrapper matroska mcal midi minimal mmx mmxext
mp3 mudflap mysql ncurses nls nptl nptlonly ogg openmp pam pcre perl php png
portaudio posix ppds pppd python readline reflection samba scanner session
sharedmem snmp soap spl sse ssl tcpd theora threads tidy tiff tokenizer
truetype unicode usb vcd vhosts win32codecs x86 xine xml xml2 xmlrpc xorg xsl
xvid zip zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty
extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null
plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter
file_cache filter headers ident imagemap include info log_config logio
mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB"
USERLAND="GNU" VIDEO_CARDS="ati fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Robin Bankhead 2008-03-08 12:00:24 0000 -------
To get round the initial problem Ì added this line to the Makefile

CFLAGS += -I$(DOVECOT)/src/lib-index/

But there are other errors after that.  Output now is:


cc -c -std=gnu99 -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include   
-DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/
-I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/
-I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/
-I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/lib-index/
-I/usr/include/dovecot/src/imap/ -Dstr_array_length=strarray_length
"-Dmempool_unref(x)=pool_unref(*(x))" -fPIC -shared -Wall -Wextra
-DPLUGINNAME=antispam -o antispam-storage-1.0.o antispam-storage-1.0.c
cc -c -std=gnu99 -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include   
-DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/
-I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/
-I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/
-I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/lib-index/
-I/usr/include/dovecot/src/imap/ -Dstr_array_length=strarray_length
"-Dmempool_unref(x)=pool_unref(*(x))" -fPIC -shared -Wall -Wextra
-DPLUGINNAME=antispam -o signature.o signature.c
cc -c -std=gnu99 -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include   
-DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/
-I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/
-I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/
-I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/lib-index/
-I/usr/include/dovecot/src/imap/ -Dstr_array_length=strarray_length
"-Dmempool_unref(x)=pool_unref(*(x))" -fPIC -shared -Wall -Wextra
-DPLUGINNAME=antispam -o antispam-plugin.o antispam-plugin.c
cc -c -std=gnu99 -O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts
-Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -I/usr/kerberos/include   
-DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/
-I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/
-I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/
-I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/lib-index/
-I/usr/include/dovecot/src/imap/ -Dstr_array_length=strarray_length
"-Dmempool_unref(x)=pool_unref(*(x))" -fPIC -shared -Wall -Wextra
-DPLUGINNAME=antispam -o dspam-exec.o dspam-exec.c
In file included from signature.c:3:
antispam-plugin.h: In function 'debug':
antispam-plugin.h:42: warning: unused parameter 'fmt'
signature.c: In function 'signature_extract_to_list':
signature.c:24: error: too few arguments to function 'mail_get_headers'
signature.c:27: error: incompatible type for argument 2 of
'mail_storage_set_error'
signature.c:27: error: too few arguments to function 'mail_storage_set_error'
signature.c: In function 'signature_extract':
signature.c:49: error: too few arguments to function 'mail_get_headers'
signature.c:52: error: incompatible type for argument 2 of
'mail_storage_set_error'
signature.c:52: error: too few arguments to function 'mail_storage_set_error'
make: *** [signature.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from antispam-plugin.c:41:
antispam-plugin.h: In function 'debug':
antispam-plugin.h:42: warning: unused parameter 'fmt'
antispam-plugin.c: At top level:
antispam-plugin.c:104: warning: no previous prototype for
'antispam_plugin_init'
antispam-plugin.c:158: warning: no previous prototype for
'antispam_plugin_deinit'
antispam-plugin.c: In function 'antispam_plugin_deinit':
antispam-plugin.c:161: error: invalid type argument of '->'
make: *** [antispam-plugin.o] Error 1
In file included from antispam-storage-1.0.c:17:
antispam-plugin.h: In function 'debug':
antispam-plugin.h:42: warning: unused parameter 'fmt'
antispam-storage-1.0.c: At top level:
antispam-storage-1.0.c:36: warning: no previous prototype for 'move_to_class'
antispam-storage-1.0.c: In function 'antispam_copy':
antispam-storage-1.0.c:64: warning: implicit declaration of function
'array_idx_modifyable'
antispam-storage-1.0.c:64: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:66: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:82: error: incompatible type for argument 2 of
'mail_storage_set_error'
antispam-storage-1.0.c:82: error: too few arguments to function
'mail_storage_set_error'
antispam-storage-1.0.c: In function 'antispam_save_init':
antispam-storage-1.0.c:134: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:139: error: incompatible type for argument 8 of
'asbox->super.save_init'
antispam-storage-1.0.c: In function 'antispam_save_finish':
antispam-storage-1.0.c:146: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:148: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:158: error: too many arguments to function
'asbox->super.save_finish'
antispam-storage-1.0.c:174: error: incompatible type for argument 2 of
'mail_storage_set_error'
antispam-storage-1.0.c:174: error: too few arguments to function
'mail_storage_set_error'
antispam-storage-1.0.c: In function 'antispam_mailbox_transaction_begin':
antispam-storage-1.0.c:223: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:230: error: size of array 'type name' is negative
antispam-storage-1.0.c: In function 'antispam_mailbox_transaction_commit':
antispam-storage-1.0.c:238: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:239: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:245: error: incompatible type for argument 2 of
'asbox->super.transaction_commit'
antispam-storage-1.0.c:245: error: too few arguments to function
'asbox->super.transaction_commit'
antispam-storage-1.0.c: In function 'antispam_mailbox_transaction_rollback':
antispam-storage-1.0.c:251: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:252: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c: In function 'antispam_mailbox_open':
antispam-storage-1.0.c:263: warning: cast from function call of type 'int' to
non-matching type 'void **'
antispam-storage-1.0.c:277: warning: assignment from incompatible pointer type
antispam-storage-1.0.c:278: warning: assignment from incompatible pointer type
antispam-storage-1.0.c:280: warning: assignment from incompatible pointer type
antispam-storage-1.0.c:283: error: size of array 'type name' is negative
antispam-storage-1.0.c: In function 'antispam_mail_storage_created':
antispam-storage-1.0.c:300: error: 'mail_storage_module_id' undeclared (first
use in this function)
antispam-storage-1.0.c:300: error: (Each undeclared identifier is reported only
once
antispam-storage-1.0.c:300: error: for each function it appears in.)
antispam-storage-1.0.c:304: error: size of array 'type name' is negative
make: *** [antispam-storage-1.0.o] Error 1
In file included from dspam-exec.c:29:
antispam-plugin.h: In function 'debug':
antispam-plugin.h:42: warning: unused parameter 'fmt'
dspam-exec.c: At top level:
dspam-exec.c:158: error: expected ';', ',' or ')' before '__attr_unused__'
dspam-exec.c: In function 'backend_commit':
dspam-exec.c:183: error: incompatible type for argument 2 of
'mail_storage_set_error'
dspam-exec.c:183: error: too few arguments to function 'mail_storage_set_error'
make: *** [dspam-exec.o] Error 1

------- Comment #2 From Robin Bankhead 2008-03-08 13:09:17 0000 -------
According to the defconfig file:

# Dovecot version to build against
DOVECOT_VERSION=1.0
#DOVECOT_VERSION=1.1    # CURRENTLY BROKEN

This message is present in the older ebuild and still there in current git
snapshot. Until upstream changes this, the ebuild should depend on
<net-mail/dovecot-1.1*

------- Comment #3 From Benedikt Böhm 2008-06-01 10:36:44 0000 -------
i have added 20080601 which compiles fine with dovecot-1.1, please test

------- Comment #4 From Robin Bankhead 2008-06-01 18:29:59 0000 -------
I may not be able to test in the near future, unfortunately: went with an
alternative solution and the server is now in fairly constant use. I'll
certainly let you know if I get an opportunity to test it, but can't really
forecast when this might happen. Sorry.

First Last Prev Next    No search results available      Search page      Enter new bug