[Dovecot] Released Pigeonhole v0.3.2 for Dovecot v2.1.9

Juan C. Blanco jcblanco at fi.upm.es
Tue Sep 18 21:18:21 EEST 2012


Hi Stephan, I'm traying to rebuild the RH (Centos) EL5 RPM with the new 
pigeonhole version, however I've got the follwing errors when compiling:

gcc -shared  .libs/rfc2822.o .libs/edit-mail.o .libs/sieve-settings.o 
.libs/sieve-message.o .libs/sieve-smtp.o .libs/sieve-lexer.o 
.libs/sieve-script.o .libs/sieve-script-file.o .libs/sieve-script-dict.o 
.libs/sieve-ast.o .libs/sieve-binary.o .libs/sieve-binary-file.o 
.libs/sieve-binary-code.o .libs/sieve-binary-debug.o 
.libs/sieve-parser.o .libs/sieve-address.o .libs/sieve-validator.o 
.libs/sieve-generator.o .libs/sieve-interpreter.o 
.libs/sieve-runtime-trace.o .libs/sieve-code-dumper.o 
.libs/sieve-binary-dumper.o .libs/sieve-result.o .libs/sieve-error.o 
.libs/sieve-objects.o .libs/sieve-stringlist.o .libs/sieve-comparators.o 
.libs/sieve-match-types.o .libs/sieve-address-parts.o 
.libs/sieve-match.o .libs/sieve-commands.o .libs/sieve-code.o 
.libs/sieve-actions.o .libs/sieve-extensions.o .libs/sieve-plugins.o 
.libs/cmp-i-octet.o .libs/cmp-i-ascii-casemap.o .libs/mcht-is.o 
.libs/mcht-contains.o .libs/mcht-matches.o .libs/tst-truefalse.o 
.libs/tst-not.o .libs/tst-anyof.o .libs/tst-allof.o .libs/tst-address.o 
.libs/tst-header.o .libs/tst-exists.o .libs/tst-size.o 
.libs/cmd-require.o .libs/cmd-stop.o .libs/cmd-if.o .libs/cmd-keep.o 
.libs/cmd-redirect.o .libs/cmd-discard.o .libs/ext-fileinto.o 
.libs/ext-reject.o .libs/ext-envelope.o .libs/ext-encoded-character.o 
.libs/sieve.o -Wl,--whole-archive 
../../src/lib-sieve/plugins/vacation/.libs/libsieve_ext_vacation.a 
../../src/lib-sieve/plugins/subaddress/.libs/libsieve_ext_subaddress.a 
../../src/lib-sieve/plugins/comparator-i-ascii-numeric/.libs/libsieve_ext_comparator-i-ascii-numeric.a 
../../src/lib-sieve/plugins/relational/.libs/libsieve_ext_relational.a 
../../src/lib-sieve/plugins/regex/.libs/libsieve_ext_regex.a 
../../src/lib-sieve/plugins/copy/.libs/libsieve_ext_copy.a 
../../src/lib-sieve/plugins/imap4flags/.libs/libsieve_ext_imap4flags.a 
../../src/lib-sieve/plugins/include/.libs/libsieve_ext_include.a 
../../src/lib-sieve/plugins/body/.libs/libsieve_ext_body.a 
../../src/lib-sieve/plugins/variables/.libs/libsieve_ext_variables.a 
../../src/lib-sieve/plugins/enotify/.libs/libsieve_ext_enotify.a 
../../src/lib-sieve/plugins/notify/.libs/libsieve_ext_notify.a 
../../src/lib-sieve/plugins/environment/.libs/libsieve_ext_environment.a 
../../src/lib-sieve/plugins/mailbox/.libs/libsieve_ext_mailbox.a 
../../src/lib-sieve/plugins/date/.libs/libsieve_ext_date.a 
../../src/lib-sieve/plugins/spamvirustest/.libs/libsieve_ext_spamvirustest.a 
../../src/lib-sieve/plugins/ihave/.libs/libsieve_ext_ihave.a 
../../src/lib-sieve/plugins/editheader/.libs/libsieve_ext_editheader.a 
../../src/lib-sieve/plugins/vnd.dovecot/debug/.libs/libsieve_ext_debug.a 
../../src/lib-sieve/plugins/vnd.dovecot/duplicate/.libs/libsieve_ext_duplicate.a 
-Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/lib64/dovecot 
-L/var/tmp/dovecot-2.1-pigeonhole-0.3.2-219_3-root/usr/lib64/dovecot 
-L/usr/lib64/dovecot -ldovecot-lda 
-L/home/jc/rpmbuild/BUILD/dovecot-2.1.9/src/lib-storage/.libs 
-L/usr/kerberos/lib64 
-L/home/jc/rpmbuild/BUILD/dovecot-2.1.9/src/lib-dovecot/.libs -lrt  -m64 
-mtune=generic -Wl,-soname -Wl,libdovecot-sieve.so.0 -o 
.libs/libdovecot-sieve.so.0.0.0
/usr/bin/ld: cannot find -ldovecot-lda
collect2: ld returned 1 exit status
libtool: install: error: relink `libdovecot-sieve.la' with the above 
command before installing it
make[4]: *** [install-dovecot_pkglibLTLIBRARIES] Error 1
make[4]: Leaving directory 
`/home/jc/rpmbuild/BUILD/dovecot-2.1-pigeonhole-0.3.2/src/lib-sieve'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory 
`/home/jc/rpmbuild/BUILD/dovecot-2.1-pigeonhole-0.3.2/src/lib-sieve'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory 
`/home/jc/rpmbuild/BUILD/dovecot-2.1-pigeonhole-0.3.2/src/lib-sieve'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory 
`/home/jc/rpmbuild/BUILD/dovecot-2.1-pigeonhole-0.3.2/src'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.50565 (%install)


It seems that the error is related to the ld.gold fix, If I revert the 
c52a0c561311 patch the error is not produced

Regards



More information about the dovecot mailing list