Dovecot: Undefined symbol "fdatasync"

Hello there,

I'm trying to setting up Dovecot (2.2.33.2) in a jail.
When i restart it (or when postfix try to relay mail to dovecot), I get the following error :
Code:
"/usr/local/libexec/dovecot/deliver". Command output: /usr/local/lib/dovecot/libdovecot-storage.so.0: Undefined symbol "fdatasync"

I found this but I compiled dovecot from poudriere on a 11.1-RELEASE host, my dovecot jail is also in 11.1-RELEASE.

Any ideas ? :)
Thanks
 
Show us the output of freebsd-version -uk for both the host and the jail.
 
What version of the jail did you use on poudriere? I'm guessing there's a discrepancy where your poudriere jail is using a different version than the systems themselves.

It's also possible poudriere didn't properly pick up on a 11.0-RELEASE -> 11.1-RELEASE upgrade of its jails. Have you tried doing a full rebuild (add -c to bulk)?
 
Well, it seems my poudriere jail is in 11.1-RELEASE :
Code:
poudriere jail -u -j 11x64
[00:00:00] ====>> Upgrading using ftp
/etc/resolv.conf -> /usr/local/poudriere/jails/11x64/etc/resolv.conf
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 11.1-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 11.1-RELEASE-p2.
11x64-default: removed
11x64-default-n: removed
11.1-RELEASE-p2
[00:00:03] ====>> Recording filesystem state for clean... done

I just started a new full build using -c option.
 
I just started a new full build using -c option.
That's typically what I do if I get weird dependency errors. Most of the time poudriere correctly rebuilds what's needed but sometimes it seems to fail to see what's been changed. Doing a full rebuild every now and then usually solves it.
 
Well, the problem persists after a full rebuild.
I forced the jail to reinstall the packages with pkg upgrade -f, is it correct ?
 
Hi Yelin,

I face exactly the same problem, also in a jail trying to install dovecot. I wonder if you find in the meantime a solution.

Thanks
 
The solution is to update the jail.
Didn't work for me. I think right now the port utilities are just broken and it may take some time for these bugs to get fixed.

I had this same error with fdatasync and Firefox and the only thing that's worked is manually building the port from the system ports tree and installing that in place of the version that I got from poudiere. I had the same problem with png insisting upon using an older version of zlib.

Ultimately uninstalling the poudiere built version of sqlite3 and installing the version built with just make seems to have fixed the problem, but I'm at a loss as to why, even after nuking and building a new build environment poudiere still built a version that doesn't work.
 
It works just fine with Poudriere. If you get messed up dependencies do a full run (bulk -c) to rebuild everything from scratch. And make sure your Poudriere jails are 11.1 (and updated to the latest patch level).
 
It works just fine with Poudriere. If you get messed up dependencies do a full run (bulk -c) to rebuild everything from scratch. And make sure your Poudriere jails are 11.1 (and updated to the latest patch level).
I'll give that a shot, but I started with a completely new jail and it failed anyways, so I'm at a loss as to why doing this would give me a different result.

EDIT: Definitely didn't change anything. sqlite3 still had to be reinstalled manually after the fact to get the error to go away. Not sure why, but it's definitely not as simple as just refreshing the jail.
 
Back
Top