Segfaults after upgrade to Debian Jessie

Andrew Beverley andy at andybev.com
Mon Aug 17 12:05:18 UTC 2015


On Thu, 2015-08-06 at 16:10 +0200, Stephan Bosch wrote:
> Since the extdata plugin is not part of the normal Debian packages (not 
> afaik anyway), you likely compiled and installed the extdata plugin 
> manually in the past while using Dovecot 2.1. Do that again, but use 
> this repository: http://hg.rename-it.nl/pigeonhole-0.4-sieve-extdata/

I'm just trying to install this now, but am getting the following compilation
error:

make[2]: Entering directory '/usr/src/pigeonhole-0-4-sieve-extdata-4ce3912ee200/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I/usr/include/dovecot  -I/usr/include/dovecot/sieve -DPKG_RUNDIR=\"""\"   -std=gnu99 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2  -MT sieve-extdata-plugin.lo -MD -MP -MF .deps/sieve-extdata-plugin.Tpo -c -o sieve-extdata-plugin.lo sieve-extdata-plugin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/dovecot -I/usr/include/dovecot/sieve -DPKG_RUNDIR=\"\" -std=gnu99 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT sieve-extdata-plugin.lo -MD -MP -MF .deps/sieve-extdata-plugin.Tpo -c sieve-extdata-plugin.c  -fPIC -DPIC -o .libs/sieve-extdata-plugin.o
sieve-extdata-plugin.c:20:44: error: 'PIGEONHOLE_ABI_VERSION' undeclared here (not in a function)
 const char *sieve_extdate_plugin_version = PIGEONHOLE_ABI_VERSION;

This is on Debian Jessie using:

./configure --with-dovecot=/usr/lib/dovecot/ --with-pigeonhole=/usr/include/dovecot/sieve/

The headers seem to be found correctly when using configure, it's just when
compiling that I get an error.

pigeonhole-0-4-sieve-extdata-4ce3912ee200

Any ideas?

Thanks,

Andy



More information about the dovecot mailing list