From: Sevan Janiyan <venture37@geeklan.co.uk>
To: 64984@debbugs.gnu.org
Subject: bug#64984: call to date(1) uses non-portable flag
Date: Tue, 1 Aug 2023 02:23:13 +0100 [thread overview]
Message-ID: <72db7211-6230-a10e-6e77-161d526cbd0e@geeklan.co.uk> (raw)
Hi,
In libguile/Makefile there is a call to date(1) for recording the build
stamp as so:
@BUILD_DATE="$${SOURCE_DATE_EPOCH:-`date '+%s'`}" ; \
echo ' { "buildstamp", "'`date -u +'%Y-%m-%d %T' -d
@$$BUILD_DATE`'" }, \' >> libpath.tmp
The -d flag doesn't necessarily mean the same thing across different
operating systems, e.g on macOS it means "Set the kernel's value for
daylight saving time." vs the coreutils version which means "display
time described by STRING, not 'now'"
The command errors but the build continues so it is non-fatal which is
perhaps why it has gone undetected?
Sevan
reply other threads:[~2023-08-01 1:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72db7211-6230-a10e-6e77-161d526cbd0e@geeklan.co.uk \
--to=venture37@geeklan.co.uk \
--cc=64984@debbugs.gnu.org \
/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.
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).