Segfaults after upgrade to Debian Jessie
Stephan Bosch
stephan at rename-it.nl
Mon Aug 17 12:13:53 UTC 2015
Andrew Beverley schreef op 17-8-2015 om 14:05:
> 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?
Yes. I prepared for preventing your problem by adding ABI version
support (much like Dovecot itself already has for its plugins). This is
the last change in the pigeonhole-0.4-sieve-extdata plugin repository.
There is no Pigeonhole release for this yet (and adoption in Debian will
likely take some time), but until then you can avoid this by using the
the exdata hg revision before tip (57c8d3e6b562).
Regards,
Stephan.
More information about the dovecot
mailing list