Re: Making in libmu_dbm [was Re: Putmail ignores multiple SMTP recipients]

"Sergey Poznyakoff" <[email protected]> Sat, 11 Oct 2025 10:01:46 +0200
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
--1804289383-1760169706=:6696
Content-Type: text/plain
Content-ID: <[email protected]>

> See config.log and make_log.txt attached. This build was run in a
> freshly unpacked mailutils-3.20.tar.xz source tree.

Thank you.  Your config.log reveals that you don't have any dbm
libraries to link with, therefore building in libmu_dbm was disabled.
That's OK.  The actual problem is that a sieve module that depends on
libmu_dbm was enabled despite that.  Please find attached a patch to fix
that.

Regards,
Sergey


--1804289383-1760169706=:6696
Content-Type: text/x-diff; name="0001-Bugfix.patch"
Content-ID: <[email protected]>
Content-Description: 
Content-Transfer-Encoding: quoted-printable

From 676aa55c45a8721d535030cb2ee16a66ac3d6560 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <[email protected]>
Date: Sat, 11 Oct 2025 10:58:16 +0300
Subject: [PATCH] Bugfix

* libmu_sieve/extensions/Makefile.am: Build uidnew only if
MU_COND_DBM condition is set.
---
 libmu_sieve/extensions/Makefile.am | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libmu_sieve/extensions/Makefile.am b/libmu_sieve/extensions/Makefile.am
index 3a0de92d3..e0ff163ca 100644
--- a/libmu_sieve/extensions/Makefile.am
+++ b/libmu_sieve/extensions/Makefile.am
@@ -22,10 +22,12 @@ mod_LTLIBRARIES =3D \
  pipe.la\
  spamd.la\
  timestamp.la\
- uidnew.la\
  vacation.la
 AM_CPPFLAGS =3D $(MU_APP_COMMON_INCLUDES)
 AM_LDFLAGS =3D -module -avoid-version -no-undefined -rpath '$(moddir)'
 LIBS =3D ../libmu_sieve.la
 
-uidnew_la_LIBADD =3D ${top_builddir}/libmu_dbm/libmu_dbm.la
+if MU_COND_DBM
+  mod_LTLIBRARIES +=3D uidnew.la
+  uidnew_la_LIBADD =3D ${top_builddir}/libmu_dbm/libmu_dbm.la
+endif
-- 
2.35.1


--1804289383-1760169706=:6696--