On Fri, Oct 31, 2025 at 10:03:15AM +0100, Eray Aslan via dovecot wrote:
> Running make check for pigeonhole-2.4.2 fails:
> 
> $ ./configure --with-dovecot=../dovecot-2.4.2 --with-managesieve \
>   && make \
>   && make check
> [...]
> make[2]: Leaving directory '/tmp/dovecot/dovecot-pigeonhole-2.4.2/doc'
> make[1]: Leaving directory '/tmp/dovecot/dovecot-pigeonhole-2.4.2/doc'
> /bin/sh ./update-version.sh . .
> testsuite: Fatal: execv(/usr/local/bin/doveconf) failed: No such file or 
> directory
> make: *** [Makefile:1261: tests/testsuite.svtest] Error 84

Potentially, using execvp instead of execv would help as we can give the
path of the newly built doveconf library during pigeonhole tests but I
am not sure if this is acceptable:

diff --git a/src/lib-master/master-service-settings.c 
b/src/lib-master/master-service-settings.c
index b94fa3a472..91b3d143f3 100644
--- a/src/lib-master/master-service-settings.c
+++ b/src/lib-master/master-service-settings.c
@@ -280,7 +280,7 @@ master_service_exec_config(struct master_service *service,
        array_append_zero(&conf_argv);

        const char *const *argv = array_front(&conf_argv);
-       execv_const(argv[0], argv);
+       execvp_const(argv[0], argv);
 }

 static void

-- 
Eray
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to