From: Nathan via Bug reports for GNU Guix <bug-guix@gnu.org>
To: mail@timmydouglas.com, 53547@debbugs.gnu.org
Subject: bug#53547: Error sending email with OpenSMTPD, fatal: time_to_text: bsnprintf
Date: Wed, 22 Nov 2023 12:57:09 -0500 [thread overview]
Message-ID: <87r0khis2j.fsf@nborghese.com> (raw)
In-Reply-To: <87jzqba8ha.fsf@timmydouglas.com>
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]
I don't have this problem on my server.
I looked at your github issue page.
Those macros are defined by the `configure' script.
I can see that guix's `configure' output defines HAVE_STRUCT_TM_TM_GMTOFF in config.h.
(if neither of the #if match, then the `tz' pointer is likely garbage and the program will crash.)
A problem with your time zone configuration seems like a reasonable guess.
I'd check it with a simple C program like the one attached.
[-- Attachment #2: test program --]
[-- Type: application/octet-stream, Size: 213 bytes --]
// compile with
// gcc ./a.c
// run with
// ./a.out
#include <stdio.h>
#include <time.h>
int main(int argc, char** argv){
time_t now=time(NULL);
struct tm *lt=localtime(&now);
printf("\"%s\"\n",lt->tm_zone);
}
next prev parent reply other threads:[~2023-11-22 19:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 5:51 bug#53547: Error sending email with OpenSMTPD, fatal: time_to_text: bsnprintf Timmy Douglas via Bug reports for GNU Guix
2023-11-21 7:09 ` Timmy Douglas via Bug reports for GNU Guix
2023-11-22 17:57 ` Nathan via Bug reports for GNU Guix [this message]
2023-11-23 0:03 ` Timmy Douglas via Bug reports for GNU Guix
[not found] ` <87plzq7zwa.fsf@nckx>
2023-12-02 5:15 ` Timmy Douglas via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0khis2j.fsf@nborghese.com \
--to=bug-guix@gnu.org \
--cc=53547@debbugs.gnu.org \
--cc=mail@timmydouglas.com \
--cc=nathan_mail@nborghese.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).