Source: notmuch-addrlookup
Version: 5-1
Severity: important
Tags: upstream
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
This program uses APIs deprecated since notmuch 0.21 (2015), and
consequently fails to compile with notmuch 0.25, currently in
experimental.
With my notmuch upstream hat on, I'm not sure this project is really
needed now that notmuch ships a "notmuch address" command. On the
other hand, I didn't carefully look at the features provided by this
projected compared to the built-in command.
In any case it looks like this problem is fixed in upstream release 7.
I'm filing this at severity important, but will raise the severity to
serious shortly when the notmuch transition proceeds.
Here is the relevant part of the build log
cc -Wall -O2 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -std=c99 -Wdate-time
-D_FORTIFY_SOURCE=2 -c -o notmuch-addrlookup.o notmuch-addrlookup.c
notmuch-addrlookup.c: In function 'create_queries':
notmuch-addrlookup.c:168:7: error: too few arguments to function
'notmuch_query_count_messages'
if (notmuch_query_count_messages (queries[0]) +
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from notmuch-addrlookup.c:9:0:
/usr/include/notmuch.h:1031:1: note: declared here
notmuch_query_count_messages (notmuch_query_t *query, unsigned int *count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
notmuch-addrlookup.c:169:7: error: too few arguments to function
'notmuch_query_count_messages'
notmuch_query_count_messages (queries[1]) < 10)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from notmuch-addrlookup.c:9:0:
/usr/include/notmuch.h:1031:1: note: declared here
notmuch_query_count_messages (notmuch_query_t *query, unsigned int *count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
notmuch-addrlookup.c: In function 'run_queries':
notmuch-addrlookup.c:221:43: error: too few arguments to function
'notmuch_query_search_messages'
for (notmuch_messages_t *messages = notmuch_query_search_messages
(queries[i]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from notmuch-addrlookup.c:9:0:
/usr/include/notmuch.h:934:1: note: declared here
notmuch_query_search_messages (notmuch_query_t *query,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- -- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCAAdFiEE3VS2dnyDRXKVCQCp8gKXHaSnniwFAllsn3UACgkQ8gKXHaSn
nizgvQwAjMSvQBDmZxegfrm6J7hlsTUjOpLq534BXDgtQrjyX4RqZwVscb2MbfvV
MZaSXNZChaguDTC0iw5xhhy2vnVWVX8/j1zWj9/PJkEurlDerHv0a+ykRDHPmBSc
QjzUm5sZtNq5VmWDioUdyEjgvbij+jqTZdDxn5MNI1Qq4itq+qStAUp8ZiOuqMGU
NcQfaGCGnfs3tPhBXXcRlonWCLsrg4q/9c4GZt2mIbhhrKBgmBv7x8gNrRz9zC0o
29a7PJ/VAaqN+J43EVlFjenW0y2W9lvm3Wdy/q38lYptmWA5lT3ueKi6i4lQWMtT
lVDqJZhqTFAyZXg4hSILl1Bp91HoeF/xcVPPE26PaCrWLJ36xNy+cpG1oEvabvK6
sqlzusZCmwNIGwVmyJxLackSkUmJ9Ei2P87BVD7CrcGX3QszNNSaSIpbgqldyaeD
j1eyMBOIN6eMr3Mh+6wzabjL6INrIHjnwmqlCoaYKNDeeY3HJ2Idd54ErBI/t5CF
klYG4jwB
=M6nu
-----END PGP SIGNATURE-----