pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47365: pkgsrc/mail/dovecot2-pigeonhole needs libiconv
>Number: 47365
>Category: pkg
>Synopsis: pkgsrc/mail/dovecot2-pigeonhole needs libiconv
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 26 13:20:00 +0000 2012
>Originator: Richard PALO
>Release: pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris
>Description:
pkgsrc/mail/dovecot2-pigeonhole build fails with:
ibtool: link: gcc -shared -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h
-Wl,libdovecot-sieve.so.0 -o .libs/libdovecot-sieve.so.0.0.0 .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,-z
-Wl,allextract
../../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,-z -Wl,defaultextract
-R/tmp/pkgsrc/mail/dovecot2-pigeonhole/work/.buildlink/lib/dovecot
-R/tmp/pkgsrc/mail/dovecot2-pigeonhole/work/.buildlink/lib/doveco
t -L/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2 -L/opt/pkg/gcc47/lib
-L/tmp/pkgsrc/mail/dovecot2-pigeonhole/work/.buildlink/lib
-L/tmp/pkgsrc/mail/dovecot2-pigeonhole/work/.buildlink/lib/dovecot
/tmp/pkgsrc/mail/dovecot2-pigeonhole/work/.buildlink/lib/dovecot/libdovecot-lda.so
/tmp/pkgsrc/mail/dovecot2-pigeonhole/work/.buildlink/lib/dovecot/libdovecot-storage.so
-lssl -lcrypto
/tmp/pkgsrc/mail/dovecot2-pigeonhole/work/.buildlink/lib/dovecot/libdovecot.so
-liconv -lnsl -lsocket -lrt -lsendfile -O
-Wl,-R/opt/pkg/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.2
-Wl,-R/opt/pkg/gcc47/lib -Wl,-R/opt/pkg/lib
ld: fatal: library -liconv: not found
ld: fatal: file processing errors. No output written to
.libs/libdovecot-sieve.so.0.0.0
collect2: error: ld returned 1 exit status
>How-To-Repeat:
>Fix:
a shortcut fix seemed to be the following patch:
richard@devzoneX:~/src/pkgsrc/mail/dovecot2-pigeonhole$ cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/dovecot2-pigeonhole/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile 22 Oct 2012 09:44:06 -0000 1.12
+++ Makefile 26 Dec 2012 13:15:27 -0000
@@ -22,5 +22,6 @@ MAKE_DIRS+= ${CONFD}
CONF_FILES+= ${EGDIR}/conf.d/20-managesieve.conf
${CONFD}/20-managesieve.conf
CONF_FILES+= ${EGDIR}/conf.d/90-sieve.conf ${CONFD}/90-sieve.conf
+.include "../../converters/libiconv/buildlink3.mk"
.include "../../mail/dovecot2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index