Re: [Dovecot] 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto

2012-11-30 Thread Tobias Hachmer
On Friday 30 November 2012 10:44:48 Timo Sirainen wrote:
> You built Dovecot from a Debian package too, but don't have OpenSSL
> installed?..

Thanks Timo for hte hint. openssl was installed, but the openssl development 
files (libssl-dev) dependency for my dovecot-dev package was missing.

Regards,
Tobias Hachmer


Re: [Dovecot] 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto

2012-11-30 Thread Timo Sirainen
On 30.11.2012, at 10.30, Tobias Hachmer wrote:

> Although timos bugfix release this morning I can't build pigeonhole 0.3.3 for 
> dovecot 2.1.12 successfully. I don't know if it is a new bug or if I do 
> something wrong but with dovecot 2.1.10 all worked fine, with the same 
> configure 
> options.

Yes, the build was changed since v2.1.10 because the old way didn't work with 
some systems.

> configure options (out of debian/rules for building debian package):
..
> /usr/bin/ld: cannot find -lssl
> /usr/bin/ld: cannot find -lcrypto

You built Dovecot from a Debian package too, but don't have OpenSSL installed?..



[Dovecot] 2.1.12 - Pigeonhole 0.3.3 build failed: /usr/bin/ld: cannot find -lssl -lcrypto

2012-11-30 Thread Tobias Hachmer
Hello list,

Although timos bugfix release this morning I can't build pigeonhole 0.3.3 for 
dovecot 2.1.12 successfully. I don't know if it is a new bug or if I do 
something wrong but with dovecot 2.1.10 all worked fine, with the same 
configure 
options.

configure options (out of debian/rules for building debian package):

./configure --with-dovecot=/usr/lib/dovecot \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=\$${prefix}/lib \
--localstatedir=/var \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--with-moduledir=\$${prefix}/lib/dovecot/modules


buildlogextraction with error, the full log is available here: 
https://launchpadlibrarian.net/124478979/buildlog_ubuntu-precise-
amd64.dovecot-2.1-pigeonhole_0.3.3-7~kokelnet~precise_FAILEDTOBUILD.txt.gz

Thanks in advance for any help,
Tobias Hachmer

Making all in lib-sieve-tool
make[4]: Entering directory `/build/buildd/dovecot-2.1-
pigeonhole-0.3.3/src/lib-sieve-tool'
/bin/bash ../../libtool --tag=CC   --mode=compile x86_64-linux-gnu-gcc -
DHAVE_CONFIG_H -I. -I../..  -I../../src/lib-sieve -I/usr/include/dovecot   -
D_FORTIFY_SOURCE=2  -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-
size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -Wmissing-
declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast 
-fno-builtin-strftime -Wstrict-aliasing=2  -MT sieve-tool.lo -MD -MP -MF 
.deps/sieve-tool.Tpo -c -o sieve-tool.lo sieve-tool.c
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -
I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g 
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -
Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-
subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-
aliasing=2 -MT sieve-tool.lo -MD -MP -MF .deps/sieve-tool.Tpo -c sieve-tool.c  
-fPIC -DPIC -o .libs/sieve-tool.o
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -
I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g 
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -
Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-
subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-
aliasing=2 -MT sieve-tool.lo -MD -MP -MF .deps/sieve-tool.Tpo -c sieve-tool.c 
-o sieve-tool.o >/dev/null 2>&1
mv -f .deps/sieve-tool.Tpo .deps/sieve-tool.Plo
/bin/bash ../../libtool --tag=CC   --mode=compile x86_64-linux-gnu-gcc -
DHAVE_CONFIG_H -I. -I../..  -I../../src/lib-sieve -I/usr/include/dovecot   -
D_FORTIFY_SOURCE=2  -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-
size=4 -Wformat -Wformat-security -Wall -W -Wmissing-prototypes -Wmissing-
declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast 
-fno-builtin-strftime -Wstrict-aliasing=2  -MT mail-raw.lo -MD -MP -MF 
.deps/mail-raw.Tpo -c -o mail-raw.lo mail-raw.c
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -
I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g 
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -
Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-
subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-
aliasing=2 -MT mail-raw.lo -MD -MP -MF .deps/mail-raw.Tpo -c mail-raw.c  -fPIC 
-DPIC -o .libs/mail-raw.o
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -
I../../src/lib-sieve -I/usr/include/dovecot -D_FORTIFY_SOURCE=2 -std=gnu99 -g 
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -
Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-
subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-
aliasing=2 -MT mail-raw.lo -MD -MP -MF .deps/mail-raw.Tpo -c mail-raw.c -o 
mail-raw.o >/dev/null 2>&1
mv -f .deps/mail-raw.Tpo .deps/mail-raw.Plo
/bin/bash ../../libtool --tag=CC   --mode=link x86_64-linux-gnu-gcc  -
std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-
security -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith 
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -
Wstrict-aliasing=2   -Wl,-Bsymbolic-functions -Wl,-z,relro -o libsieve-tool.la  
sieve-tool.lo mail-raw.lo  -lrt
libtool: link: ar cru .libs/libsieve-tool.a .libs/sieve-tool.o .libs/mail-
raw.o 
libtool: link: ranlib .libs/libsieve-tool.a
libtool: link: ( cd ".libs" && rm -f "libsieve-tool.la" && ln -s "../libsieve-
tool.la" "libsieve-tool.la" )
make[4]: Leaving directory `/build/buildd/dovecot-2.1-
pigeonhole-0.3.3/src/lib-sieve-tool'
Making all in sie