* bug#64984: call to date(1) uses non-portable flag
@ 2023-08-01 1:23 Sevan Janiyan
0 siblings, 0 replies; only message in thread
From: Sevan Janiyan @ 2023-08-01 1:23 UTC (permalink / raw)
To: 64984
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-01 1:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01 1:23 bug#64984: call to date(1) uses non-portable flag Sevan Janiyan
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).