Comments (3)
CI is run on a stock debian buster image (see https://github.com/slusarz/dovecot-fts-flatcurve/blob/master/.github/actions/dovecot-fts-flatcurve-test/Dockerfile)
If I change the image used from "debian:buster-slim" to "ubuntu:20.04", all tests pass:
➜ dovecot-fts-flatcurve-test git:(master) ✗ podman run flatcurve-ubuntu
Testing RFC Compliant (substring) configuration
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/66 individual commands failed
extensions: 0/0 individual commands failed
Testing prefix-only configuration
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/66 individual commands failed
extensions: 0/0 individual commands failed
Testing GitHub Issue #9 (1st pass)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/5 individual commands failed
extensions: 0/0 individual commands failed
Testing GitHub Issue #9 (2nd pass; crash)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/5 individual commands failed
extensions: 0/0 individual commands failed
Testing GitHub Issue #10 (English)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/5 individual commands failed
extensions: 0/0 individual commands failed
Testing GitHub Issue #10 (German; fails)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/5 individual commands failed
extensions: 0/0 individual commands failed
Testing GitHub Issue #11 (DB Rotation/Deletion)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/12 individual commands failed
extensions: 0/0 individual commands failed
Testing DB Rotation/Deletion (populating mailbox)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/2 individual commands failed
extensions: 0/0 individual commands failed
Testing DB Rotation/Deletion (multiple current DBs)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/5 individual commands failed
extensions: 0/0 individual commands failed
Testing DB Rotation/Deletion (after optimization)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/4 individual commands failed
extensions: 0/0 individual commands failed
Testing optimize_limit
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/2 individual commands failed
extensions: 0/0 individual commands failed
Testing Concurrent Indexing
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/2 individual commands failed
extensions: 0/0 individual commands failed
Testing large mailbox
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/2 individual commands failed
extensions: 0/0 individual commands failed
Testing small mailbox (and large expunge from previous test)
1 test groups: 0 failed, 0 skipped due to missing capabilities
base protocol: 0/2 individual commands failed
extensions: 0/0 individual commands failed
Testing rescan
Success!
Testing optimize
Success!
Testing 'doveadm fts-flatcurve check'
Success!
Testing 'doveadm fts-flatcurve stats'
Success!
Testing 'doveadm fts-flatcurve remove'
Success!
➜ dovecot-fts-flatcurve-test git:(master) ✗ podman run --rm -it --entrypoint cat flatcurve-ubuntu /etc/issue.net
Ubuntu 20.04.3 LTS
Thus, this seems to be a local compiling/linking error on your system, as I cannot reproduce. Suggestion: build the code with the steps contained in the Dockerfile listed above on your local system.
Also, check to make sure you are loading all necessary plugins in doveadm mode (i.e. your mail_plugins setting is not different for doveadm service as it is for, e.g., imap). Working config for CI can be found at https://github.com/slusarz/dovecot-fts-flatcurve/blob/master/.github/actions/dovecot-fts-flatcurve-test/configs/dovecot.conf.
from dovecot-fts-flatcurve.
Closing due to no feedback.
from dovecot-fts-flatcurve.
FWIW, I've encountered a similar problem while testing fts-flatcurve on a Debian testing. Everything was compiled successfully but the dlopen
failed. In my case, the undefined symbol was a Xapian-related one. The problem was that ./configure
succeeded even though I had forgotten to install libxapian-dev
, but make
failed because of it, so I ended up installing the library after ./configure
was run which meant that $(XAPIAN_LIBS)
was empty and the resulting solib didn't link against libxapian.
It seems to me that ./configure
should fail if it can't find the required dependencies, Xapian included.
from dovecot-fts-flatcurve.
Related Issues (20)
- BODY text search doesn't seem to work as expected HOT 3
- dlopen() failed: lib21_fts_flatcurve_plugin.so: undefined symbol HOT 6
- simple, single string body search exec'd as unneeded boolean OR? HOT 5
- attachment search support config? HOT 2
- Build failing HOT 1
- Searching for phrases with IMAP SEARCH vs. doveadm search, v0.2.0 vs. v0.3.0 HOT 3
- Feature Request: Change Flatcurve Index Location via config parameter HOT 1
- Separate directory for indexing? HOT 7
- Search by some email addresses is not working HOT 3
- Virtual search doesn't consider unindexed messages HOT 2
- backtrace during indexing HOT 2
- Inconsistent results when searching in attachment HOT 4
- Filename too long errors during FTS optimize HOT 5
- Panic when running a search HOT 2
- Inaccurate results while searching for a phrase in subject HOT 2
- Excessively long string sent to xapian to index HOT 1
- Using fts-flatcure with Dovecot 2.3.13 / Debian Bookworm HOT 2
- Example config anywhere? HOT 2
- Error: fts: Failed to initialize backend 'flatcurve': Unknown backend HOT 2
- imap segfault with fts flatcurve HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dovecot-fts-flatcurve.