From abd83f1389fc091a73d16b30e563f38995cf4a95 Mon Sep 17 00:00:00 2001 From: CSHehu Date: Sat, 20 Jun 2026 19:27:42 +0300 Subject: [PATCH] Remove build timestamps from generated files Drop uses of `date`, `current-date`, and @DATE@ in generated files to fix non-reproducible builds. No functional changes. --- api-contribs/bigloo-with-dbus/configure | 4 +--- autoconf/runtest.in | 2 +- bde/afile/afile.scm | 1 - bglpkg/tuning.scm | 1 - configure | 7 ++----- 5 files changed, 4 insertions(+), 11 deletions(-) diff --git a/api-contribs/bigloo-with-dbus/configure b/api-contribs/bigloo-with-dbus/configure index 1cef89ff8..20859ff2a 100755 --- a/api-contribs/bigloo-with-dbus/configure +++ b/api-contribs/bigloo-with-dbus/configure @@ -2056,7 +2056,7 @@ if [ $action = "all" -o $action = "bigloo_config" ]; then rm -f $p 2> /dev/null rel=`echo $release | sed -e "s|[.]|_|"`; cat autoconf/`basename $p`.in \ - | sed -e "s|@CONFIGURE@|Automatically generated file (don't edit), `date`|" \ + | sed -e "s|@CONFIGURE@|Automatically generated file (don't edit)|" \ -e "s|@BGL_RELEASE@|BGL_$rel|" \ -e "s|@BGL_RELEASE_NUMBER@|$release|" \ -e "s|@BGL_SPECIFIC_VERSION@|$specific|" \ @@ -2201,7 +2201,6 @@ if [ $action = "all" -o $action = "bigloo_config_el" ]; then rm -f $bigloo_config_el 2> /dev/null echo ";; Automatically generated file (don't edit) */" > $bigloo_config_el - echo ";; `date`" >> $bigloo_config_el echo "" >> $bigloo_config_el echo "(provide 'bmacs-config)" >> $bigloo_config_el echo "(defvar bmacs-docdir \"$docdir\")" >> $bigloo_config_el @@ -2230,7 +2229,6 @@ if [ $action = "all" -o $action = "Makefile.config" ]; then # We first cleanup the file rm -f $makefile_cfg 2> /dev/null echo "# automatically generated, don't edit" > $makefile_cfg - echo "# `date`" >> $makefile_cfg echo "" >> $makefile_cfg # The Bigloo release number diff --git a/autoconf/runtest.in b/autoconf/runtest.in index f864ce079..3a0339862 100644 --- a/autoconf/runtest.in +++ b/autoconf/runtest.in @@ -1,5 +1,5 @@ #!/bin/sh -# Generated file, don't edit, @DATE@ +# Generated file, don't edit #*=====================================================================*/ #* serrano/prgm/project/bigloo/bigloo/autoconf/runtest.in */ #* ------------------------------------------------------------- */ diff --git a/bde/afile/afile.scm b/bde/afile/afile.scm index d62a1a440..dbb4c158d 100644 --- a/bde/afile/afile.scm +++ b/bde/afile/afile.scm @@ -92,7 +92,6 @@ (fprint po ";; automatically generated, don't edit" #\Newline ";; " (pwd) #\Newline - ";; " (date) #\Newline #\Newline #\() (for-each (lambda (a) (display " " po) diff --git a/bglpkg/tuning.scm b/bglpkg/tuning.scm index 9f3030a9b..112ad5b72 100644 --- a/bglpkg/tuning.scm +++ b/bglpkg/tuning.scm @@ -255,7 +255,6 @@ (begin (fprint op ";; automatically generated, don't edit") (fprint op ";; generated by " (bglpkg-name) ", tuned for " tuning) - (fprint op ";; " (current-date)) (newline op) (fprint op ";; package") (pp-package *package* op) diff --git a/configure b/configure index 43c24e6e2..91d0b8845 100755 --- a/configure +++ b/configure @@ -3719,7 +3719,7 @@ if [ $action = "all" -o $action = "bigloo_config" ]; then fi cat autoconf/`basename $p`.in \ - | sed -e "s|@CONFIGURE@|Automatically generated file (don't edit), `date`|" \ + | sed -e "s|@CONFIGURE@|Automatically generated file (don't edit)|" \ -e "s|@BGL_RELEASE@|BGL_$rel|" \ -e "s|@BGL_RELEASE_NUMBER@|$release|" \ -e "s|@BGL_RELEASE_VERSION@|$version|" \ @@ -4097,7 +4097,6 @@ if [ $action = "all" -o $action = "bigloo_config_el" ]; then rm -f $bigloo_config_el 2> /dev/null $echo ";; Automatically generated file (don't edit) */" > $bigloo_config_el - $echo ";; `date`" >> $bigloo_config_el $echo "" >> $bigloo_config_el $echo "(provide 'bmacs-config)" >> $bigloo_config_el $echo "(defvar bmacs-docdir \"$docdir\")" >> $bigloo_config_el @@ -4179,7 +4178,6 @@ if [ $action = "all" -o $action = "Makefile.config" ]; then # Makefile.buildconfig rm -f $makefile_build 2> /dev/null $echo "# automatically generated, don't edit" > $makefile_build - $echo "# `date`" >> $makefile_build $echo "" >> $makefile_build # The boot mode (see autoconf/prebuild) @@ -4218,7 +4216,6 @@ if [ $action = "all" -o $action = "Makefile.config" ]; then # We first cleanup the file rm -f $makefile_cfg 2> /dev/null $echo "# automatically generated, don't edit" > $makefile_cfg - $echo "# `date`" >> $makefile_cfg $echo "" >> $makefile_cfg # The Bigloo release number @@ -4703,7 +4700,7 @@ if [ $action = "all" -o $action = "Makefile.config" ]; then # Produce the bglgst_config.h file cat api/gstreamer/src/Clib/bglgst_config.h.in \ - | sed -e "s|@CONFIGURE@|Automatically generated file (don't edit), `date`|" \ + | sed -e "s|@CONFIGURE@|Automatically generated file (don't edit)|" \ -e "s|@GSTREAMER_VERSION@|$gstreamer|g" \ -e "s|@GSTREAMER_USE_THREADS@|$gstusethread|g" \ -e "s|@GSTREAMER_HAVE_AUDIO@|$gsthaveaudio|g" \