Package Details: notmuchfs-git 0.3.r23.f7ed316-1

Git Clone URL: (read-only, click to copy)
Package Base: notmuchfs-git
Description: A virtual maildir file system for notmuch queries.
Upstream URL:
Licenses: GPLv3
Conflicts: notmuchfs
Provides: notmuchfs=0.3.r23.f7ed316
Submitter: aksr
Maintainer: aksr
Last Packager: aksr
Votes: 1
Popularity: 0.000000
First Submitted: 2014-03-07 21:22
Last Updated: 2018-09-12 13:19

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2018-09-06 14:05

Upstream has fixed the -Werror-related error.

Now just the PKGBUILD still misses a provides=("notmuchfs=${pkgver}").

dreieck commented on 2018-09-03 13:21

Build fails wit up to date gcc:

==> Starting build()...
cc -g -O2 -std=c99 -Wall -Wextra -Werror -D_FILE_OFFSET_BITS=64   -c -MD -o notmuchfs.o notmuchfs.c
notmuchfs.c: In function ‘notmuchfs_rename’:
notmuchfs.c:1088:6: error: ‘notmuch_database_add_message’ is deprecated: function deprecated as of libnotmuch 5.1 [-Werror=deprecated-declarations]
      if (notmuch_database_add_message(p_ctx->db, trans_name_to, NULL) !=
In file included from notmuchfs.c:66:
/usr/include/notmuch.h:637:1: note: declared here
 notmuch_database_add_message (notmuch_database_t *database,
cc1: all warnings being treated as errors
make: *** [Makefile:37: notmuchfs.o] Error 1
==> ERROR: A failure occurred in build().

Consider compilation without -Werror. Makefile needs to be patched for this.

I added the following to the PKGBUILD to workaround this issue:

prepare() {
  cd "${srcdir}/${pkgname}"
  patch --follow-symlinks -N -p1 -i "${srcdir}/notmuchfs.Makefile.noWerror.patch"

And reported it upstream:

dreieck commented on 2018-09-03 13:11

Please add provides=("notmuchfs=${pkgver}").

dreieck commented on 2016-07-27 07:28

@aksr: Fixed upstream now, you can remove the Makefile-patch. See

Minimum notmuch version required: 0.20, you could include the version dependency it in the "depends"-array.

Also, would be nice if the pkgver()-function also returns the upstream version of notmuchfs, which is 0.2, so the complete version of notmuchfs-git something like 0.2.r<something>. Now, you only return the "0"-part, but miss the ".2".

dreieck commented on 2016-07-08 11:54

I made a patch for the build error:


New PKGBUILD which applies the patch:

Just a patch to the PKGBUILD (can be used with customizepkg-scripting):

dreieck commented on 2016-07-08 11:36

In your PKGBUILD, there is only one entry in the source-array, but two in the md5sums and sha1sums array. But their size must be equal. Please correct.

PS: I am working on a patch to the Makefile so that it builds again.

gypaetus commented on 2016-04-06 20:22

If I skyp the checksum verification there is an error in build().

Fetching origin
==> WARNING: Skipping verification of source file checksums.
==> Extracting sources...
-> Creating working copy of notmuchfs git repo...
Cloning into 'notmuchfs-git'...
==> Starting pkgver()...
==> Starting build()...
cc -g -O2 -std=c99 -Wall -Werror -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -c -MD -o notmuchfs.o notmuchfs.c
notmuchfs.c: In function ‘notmuchfs_opendir’:
notmuchfs.c:468:8: error: ‘notmuch_query_search_messages’ is deprecated: function deprecated as of libnotmuch 4.3 [-Werror=deprecated-declarations]
dir_fd->p_messages = notmuch_query_search_messages(dir_fd->p_query);
In file included from notmuchfs.c:65:0:
/usr/include/notmuch.h:915:1: note: declared here
notmuch_query_search_messages (notmuch_query_t *query);
cc1: all warnings being treated as errors
Makefile:37: recipe for target 'notmuchfs.o' failed
make: *** [notmuchfs.o] Error 1
==> ERROR: A failure occurred in build().

gypaetus commented on 2016-04-06 20:19

I am getting this error when I build the package using makepkg:

-> Cloning notmuchfs-git git repo...
Cloning into bare repository '/aur/notmuchfs-git/notmuchfs-git'...
remote: Counting objects: 58, done.
remote: Total 58 (delta 0), reused 0 (delta 0), pack-reused 58
Unpacking objects: 100% (58/58), done.
Checking connectivity... done.
==> ERROR: Integrity checks (md5) differ in size from the source array.

zhenya1007 commented on 2014-09-19 20:11

Would you consider adding procmail to the optdepends array since it provides the 'formail' binary which the instructions in reference?