Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sbcl for openSUSE:Factory checked in 
at 2026-08-24 12:11:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sbcl (Old)
 and      /work/SRC/openSUSE:Factory/.sbcl.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sbcl"

Mon Aug 24 12:11:58 2026 rev:134 rq:1373348 version:2.6.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/sbcl/sbcl.changes        2026-08-01 
18:36:34.742803299 +0200
+++ /work/SRC/openSUSE:Factory/.sbcl.new.1258/sbcl.changes      2026-08-24 
12:17:26.625440087 +0200
@@ -1,0 +2,10 @@
+Tue Aug  9 02:11:47 UTC 2026 - Bernhard Wiedemann <[email protected]>
+
+- Add sb-manual-source-date-epoch.patch to make the manual
+  generation date honour SOURCE_DATE_EPOCH (boo#1047218)
+- Exclude the sb-simd module via SBCL_CONTRIB_BLOCKLIST: it is
+  compiled for the CPU of the build machine, which made the package
+  content depend on the build worker and could require AVX2 on a
+  baseline x86_64-v1 machine (boo#1100677)
+
+-------------------------------------------------------------------

New:
----
  sb-manual-source-date-epoch.patch

----------(New B)----------
  New:
- Add sb-manual-source-date-epoch.patch to make the manual
  generation date honour SOURCE_DATE_EPOCH (boo#1047218)
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sbcl.spec ++++++
--- /var/tmp/diff_new_pack.U71d4J/_old  2026-08-24 12:17:28.091492288 +0200
+++ /var/tmp/diff_new_pack.U71d4J/_new  2026-08-24 12:17:28.093492359 +0200
@@ -106,6 +106,8 @@
 Patch0:         sbcl-1.1.2-install.patch
 # PATCH-FIX-UPSTREAM Remove obsolete qemu workarounds
 Patch1:         remove-qemu-workarounds.patch
+# PATCH-FIX-UPSTREAM Use SOURCE_DATE_EPOCH for the manual generation date
+Patch2:         sb-manual-source-date-epoch.patch
 ExcludeArch:    s390x
 Requires:       sbcl-bin
 
@@ -139,6 +141,8 @@
 
 %build
 export CFLAGS="%optflags -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=64"
+# make it run on x86_64-v1 (boo#1100677)
+export SBCL_CONTRIB_BLOCKLIST=sb-simd
 %if %{with bootstrap}
 %{?sbcl_arch:export SBCL_ARCH=%{sbcl_arch}}
 %if 0%{?with_clisp}

++++++ sb-manual-source-date-epoch.patch ++++++
>From f72396a3c119b10fe6d1285e62919ed89fbc2a98 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Fri, 7 Aug 2026 20:55:59 +0200
Subject: [PATCH] sb-manual: honour SOURCE_DATE_EPOCH in the generation date

The SBCL version and generation date are baked into the @sbcl-manual
docstring and into UPDATE-MONTH in variables.texinfo, which ends up on
the title page of the PDF manual. Taking them from the wall clock makes
sb-manual.fasl and sbcl.pdf differ between two builds of the same
source, which breaks reproducible builds.

Use SOURCE_DATE_EPOCH when it is set, in the same way that dumping
debug-source information already does, and decode in UTC so the result
does not depend on the builder timezone either.
---
 contrib/sb-manual/doc/sbcl.lisp | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/contrib/sb-manual/doc/sbcl.lisp b/contrib/sb-manual/doc/sbcl.lisp
index 40ad88c97..1f3c0ebc6 100644
--- a/contrib/sb-manual/doc/sbcl.lisp
+++ b/contrib/sb-manual/doc/sbcl.lisp
@@ -1,9 +1,20 @@
 (in-package :sb-manual)
 
 (eval-when (:compile-toplevel :load-toplevel :execute)
+  (defun documentation-generation-time ()
+    (let ((source-date-epoch (sb-ext:posix-getenv "SOURCE_DATE_EPOCH")))
+      (or (when source-date-epoch
+            (multiple-value-bind (val end)
+                (parse-integer source-date-epoch :junk-allowed t)
+              (when (and val (= end (length source-date-epoch)))
+                (+ val (encode-universal-time 0 0 0 1 1 1970 0)))))
+          (get-universal-time))))
+
   (defun documentation-generation-date-string (&key long)
+    ;; Decoded in UTC, so that the rendered date does not depend on the
+    ;; time zone of the machine the manual was generated on.
     (multiple-value-bind (second minute hour day month year)
-        (decode-universal-time (get-universal-time))
+        (decode-universal-time (documentation-generation-time) 0)
       (if long
           (format nil "~D-~2,'0D-~2,'0D ~2,'0D:~2,'0D:~2,'0D"
                   year month day hour minute second)
-- 
2.54.0

Reply via email to