Bug 228067 - mail/dovecot-pigeonhole: Undefined symbol "i_stream_read_memarea"
Summary: mail/dovecot-pigeonhole: Undefined symbol "i_stream_read_memarea"
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Larry Rosenman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-08 10:57 UTC by Ekkehard 'Ekki' Gehm
Modified: 2019-02-05 18:23 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ler)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ekkehard 'Ekki' Gehm 2018-05-08 10:57:46 UTC
Since the last update I get this during restart:

/usr/local/libexec/dovecot/managesieve: Undefined symbol "i_stream_read_memarea"
doveconf: Error: managesieve-login: dump-capability process returned 1

System (Jail):
10.4-RELEASE-p5 FreeBSD 10.4-RELEASE-p5 #0 r328273: Tue Jan 23 20:42:01 CET 2018

Port Version:
dovecot-2.3.1_2                Secure, fast and powerful IMAP and POP3 server
dovecot-pigeonhole-0.5.1       Sieve plugin for the Dovecot 'deliver' LDA and LMTP
Comment 1 Larry Rosenman freebsd_committer 2018-05-08 11:47:36 UTC
is this installed from the binary packages or did you compile them both yourself?
Comment 2 Ekkehard 'Ekki' Gehm 2018-05-11 08:22:12 UTC
(In reply to Larry Rosenman from comment #1)
Build from the ports... I even did a reinstall of both. Same same...
Never the less: Sive seems to work, thouh...
Comment 3 freebsd 2018-07-14 22:59:57 UTC
Same error here. Build from ports. Managesieve stopped working.

%uname -a
FreeBSD 10.4-RELEASE-p9 FreeBSD 10.4-RELEASE-p9 #0: Sat Jul 14 22:38:37 CEST 2018 /usr/obj/usr/src/sys/GENERIC  amd64

%pkg version -v | grep dovecot
dovecot-2.3.2.1                    =   up-to-date with index
dovecot-pigeonhole-0.5.2_2         =   up-to-date with index

%dmesg -a
/usr/local/libexec/dovecot/managesieve: Undefined symbol "i_stream_read_memarea"
doveconf: Error: managesieve-login: dump-capability process returned 1
Comment 4 Larry Rosenman freebsd_committer 2018-07-15 00:54:38 UTC
Can I see both users doveconf -n output, please?
Comment 5 freebsd 2018-07-15 09:33:03 UTC
Output from "dovecot -n". Domain have been modified.

% dovecot -n
# 2.3.2.1 (0719df592): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.2 (7704de5e)
/usr/local/libexec/dovecot/managesieve: Undefined symbol "i_stream_read_memarea"
doveconf: Error: managesieve-login: dump-capability process returned 1
# OS: FreeBSD 10.4-RELEASE-p9 amd64
# Hostname: mail.example.com
auth_mechanisms = plain login
first_valid_uid = 125
hostname = mail.example.com
listen = *
log_path = /var/log/dovecot
mail_plugins = zlib
mail_privileged_group = postfix
mail_temp_dir = /var/db/dovecot
namespace compat {
  hidden = yes
  inbox = no
  list = no
  location =
  prefix = INBOX.
  separator = .
  type = private
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox "Sent Items" {
    special_use = \Sent
  }
  mailbox Spam {
    special_use = \Junk
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
  separator = .
  type = private
}
passdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  fts = squat
  fts_squat = partial=4 full=10
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
postmaster_address = postmaster@example.com
protocols = imap pop3 lmtp sieve
service auth-worker {
  user = $default_internal_user
}
service auth {
  unix_listener /home/mail/postfix/private/dovecot-auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service lmtp {
  executable = lmtp -L
  unix_listener /home/mail/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
}
ssl_cert = </etc/ssl/example.com-chained.crt
ssl_dh =  # hidden, use -P to show it
ssl_key =  # hidden, use -P to show it
userdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  log_path = /var/log/dovecot-deliver
  mail_plugins = zlib sieve
}
protocol lda {
  mail_plugins = zlib sieve
}
protocol imap {
  mail_max_userip_connections = 30
  mail_plugins = zlib imap_zlib
}
Comment 6 freebsd 2018-08-02 14:02:21 UTC
ldd showed that managesieve was linked to "libdovecot.so" in "/usr/local/lib/compat/pkg".

/usr/local/lib/compat/pkg # ll
-rwxr-xr-x  1 root  wheel   164080 28 mar 14:50 libdovecot-fts.so.0*
-rwxr-xr-x  1 root  wheel    46016 28 mar 14:50 libdovecot-lda.so.0*
-rwxr-xr-x  1 root  wheel   122808 28 mar 14:50 libdovecot-login.so.0*
-rwxr-xr-x  1 root  wheel    45728 28 mar 14:50 libdovecot-sql.so.0*
-rwxr-xr-x  1 root  wheel  1282080 28 mar 14:50 libdovecot-storage.so.0*
-rwxr-xr-x  1 root  wheel  1203968 28 mar 14:50 libdovecot.so.0*

I removed these and recompiled. Now it is working again. I'm not sure how I ended up in this situation.
Comment 7 Larry Rosenman freebsd_committer 2018-08-19 22:57:22 UTC
This smells like portmaster being used to build, and/or mixed packages.

Can you use either poudriere to build, or use the standard packages?

I don't think there is anything I, as maintainer, can do to help here.
Comment 8 freebsd 2018-08-21 08:14:07 UTC
Agree from my point of view, but I'm not the original reporter.
Comment 9 Larry Rosenman freebsd_committer 2019-02-05 18:23:14 UTC
No feedback.  Closing.