• sendmail snapshot 8.19.0.0

    From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Tue Mar 10 07:05:49 2026
    From Newsgroup: comp.mail.sendmail

    sendmail snapshot 8.19.0.0 is available for testing. The sendmail
    code base has been converted to ANSI C. Please test this on different operating systems with different compilers and report any errors
    (and unusual warnings).

    SHA256 (sendmail.8.19.0.0.tar.gz) = 6f5137a447994c6a95c060d7b059f5370eaab75c935c351b86a37c81feb2868c
    SHA256 (sendmail.8.19.0.0.tar.gz.sig) = 165cd3b5e2dba58ff1c26a6f7f4f4d5f4c4afde9de653bccac9d111a3da1e35c

    Available at:
    https://ftp.sendmail.org/snapshots/sendmail.8.19.0.0.tar.gz https://ftp.sendmail.org/snapshots/sendmail.8.19.0.0.tar.gz.sig
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From kalevi@kalevi@kolttonen.fi (Kalevi Kolttonen) to comp.mail.sendmail on Tue Mar 10 14:46:17 2026
    From Newsgroup: comp.mail.sendmail

    Claus A|fmann <INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org> wrote:
    sendmail snapshot 8.19.0.0 is available for testing. The sendmail
    code base has been converted to ANSI C. Please test this on different operating systems with different compilers and report any errors
    (and unusual warnings).

    On Fedora Linux 43 with:

    libdb-5.3.28-66.fc43.x86_64
    gcc-15.2.1-5.fc43.x86_64

    compilation fails like this using NEWDB:

    ---------------------------------------------------------------
    smdb2.c: In function rCysmdb_db_open_internalrCO:
    smdb2.c:464:33: error: passing argument 2 of rCy(*db)->set_errcallrCO from incompatible pointer type [-Wincompatible-pointer-types]
    464 | (*db)->set_errcall(*db, db_err_cb);
    | ^~~~~~~~~
    | |
    | void (*)(const char *, char *) smdb2.c:464:33: note: expected rCyvoid (*)(const DB_ENV *, const char *, const char *)rCO {aka rCyvoid (*)(const struct __db_env *, const char *, const char *)rCO} but argument is of type rCyvoid (*)(const char *, char *)rCO
    smdb2.c:442:1: note: rCydb_err_cbrCO declared here
    442 | db_err_cb(
    | ^~~~~~~~~ ---------------------------------------------------------------


    The error is caused by the following:

    ---------------------------------------------------------------
    static void
    db_err_cb(
    # if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3
    const DB_ENV *dbenv, const char *errpfx, const char *msg
    # else
    const char *errpfx, char *msg
    # endif
    )
    {
    /* do not print/log any errors... */
    return;
    }
    ---------------------------------------------------------------

    I retried after a small change:

    # if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 3

    and the compilation succeeded.

    br,
    KK
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Tue Mar 10 13:11:53 2026
    From Newsgroup: comp.mail.sendmail

    Kalevi Kolttonen wrote:

    libdb-5.3.28-66.fc43.x86_64

    compilation fails like this using NEWDB:

    static void
    db_err_cb(
    # if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3
    const DB_ENV *dbenv, const char *errpfx, const char *msg

    # if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 3

    Can you please try with
    # if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3 instead?

    Your patch works because you use DB 5.3, but it would probably fail
    for 5.x with x < 3 (I haven't tried it because currently I don't
    have DB 5.x).

    Thanks!
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From kalevi@kalevi@kolttonen.fi (Kalevi Kolttonen) to comp.mail.sendmail on Tue Mar 10 19:37:48 2026
    From Newsgroup: comp.mail.sendmail

    Claus A|fmann <INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org> wrote:
    Can you please try with
    # if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3 instead?

    Yes, that one works as well and is better.

    Your patch works because you use DB 5.3, but it would probably fail
    for 5.x with x < 3 (I haven't tried it because currently I don't
    have DB 5.x).

    You are correct.

    br,
    KK
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Wed Mar 11 01:37:40 2026
    From Newsgroup: comp.mail.sendmail

    Kalevi Kolttonen wrote:
    Claus A|fmann

    # if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3

    Yes, that one works as well and is better.

    Thanks, the patch has been comitted.
    --- Synchronet 3.21d-Linux NewsLink 1.2