notmuch, OpenBSD issues

David Bremner david at tethera.net
Thu Apr 17 15:50:15 PDT 2014


Allan Streib <astreib at indiana.edu> writes:

> Hi David,
>
> I've been using notmuch on OpenBSD for a while, and I really appreciate
> the project.

I hope you don't mind my replying to the list. Notmuch is not a one man project...

>
> In recent days I've had a couple problems building. First issue was a
> complaint about "cannonicalize_file_name" being an unknown symbol. I
> fixed that with the following:

Yeah, that's actually a bug in my fix other fix for openbsd.
There's actually a patch queued for merging on the mailing list, see

id:1397042643-10975-1-git-send-email-david at tethera.net

> The other issue is with the support for gzipped dump and restore;
> OpenBSD currently provides zlib version 1.2.3 which apparently is too
> old for what you are doing. For now I am just building from commit
> 69867c33 which pre-dates the inclusion of the zlib version checks. Is
> there a convenient way to make the gzipped dump and restore optional, so
> that I can continue to keep up with other changes?
>
> If not I can look into building a newer version of zlib for use with
> notmuch.

Unfortunately I can't think of a simple change to make gzipped dump and
restore optional; somewhat ironically we actually need the later zlib
for dumping uncompressed backups. This is clearly not a feature we want
to take away.  I guess it would be possible to write a compat shim on
top of zlib that implemented the passthrough that we need. Tomi Ollila,
who runs notmuch on various old systems, might a have a comment about
that.  Meanwhile, unlike libc, it should be possible to compile a newer 
zlib.

d


More information about the notmuch mailing list