Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package maxima for openSUSE:Factory checked 
in at 2026-08-30 19:08:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maxima (Old)
 and      /work/SRC/openSUSE:Factory/.maxima.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "maxima"

Sun Aug 30 19:08:09 2026 rev:54 rq:1374638 version:5.50.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/maxima/maxima.changes    2026-08-19 
17:58:54.688268399 +0200
+++ /work/SRC/openSUSE:Factory/.maxima.new.1265/maxima.changes  2026-08-30 
19:08:10.319953767 +0200
@@ -1,0 +2,13 @@
+Sun Aug 23 05:44:53 UTC 2026 - Bernhard Wiedemann <[email protected]>
+
+- Compress the manpages with `gzip -n9` so that the build time does
+  not end up in the gzip header; this makes the maxima package
+  reproducible.
+- Add maxima-clisp-fail-on-error.patch: clisp exits 0 even when
+  ext:saveinitmem fails, so an empty binary-clisp/maxima.mem was
+  silently packaged (seen past 2036, where saveinitmem dies with
+  "not a 32-bit integer",
+  https://gitlab.com/gnu-clisp/clisp/-/work_items/59). Check that the
+  image is non-empty and fail the build otherwise.
+
+-------------------------------------------------------------------

New:
----
  maxima-clisp-fail-on-error.patch

----------(New B)----------
  New:  reproducible.
- Add maxima-clisp-fail-on-error.patch: clisp exits 0 even when
  ext:saveinitmem fails, so an empty binary-clisp/maxima.mem was
----------(New E)----------

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

Other differences:
------------------
++++++ maxima.spec ++++++
--- /var/tmp/diff_new_pack.CbKo8W/_old  2026-08-30 19:08:11.952010528 +0200
+++ /var/tmp/diff_new_pack.CbKo8W/_new  2026-08-30 19:08:11.954010598 +0200
@@ -46,6 +46,8 @@
 Source2:        README.SUSE.packaging
 # PATCH-FIX-UPSTREAM maxima-python3.patch [email protected] -- Use python3 
instead of python(2) when importing vtk modules and building help; this allows 
maxima to be built with python3 instead of python2.
 Patch0:         maxima-python3.patch
+# PATCH-FIX-UPSTREAM maxima-clisp-fail-on-error.patch -- fail the build 
instead of installing an empty maxima.mem when clisp saveinitmem dies, e.g. 
https://gitlab.com/gnu-clisp/clisp/-/work_items/59
+Patch1:         maxima-clisp-fail-on-error.patch
 BuildRequires:  bash-completion
 BuildRequires:  fdupes
 BuildRequires:  gzip
@@ -188,9 +190,9 @@
 rm -f %{buildroot}%{_infodir}/dir
 # set executable rights for example scripts
 chmod +x 
%{buildroot}%{_datadir}/%{name}/%{version}/share/contrib/lurkmathml/mathmltest
-# compress manpages
-gzip %{buildroot}%{_mandir}/man1/maxima.1
-gzip %{buildroot}%{_mandir}/*/man1/maxima.1
+# compress manpages, -n keeps the mtime out of the gzip header
+gzip -n9 %{buildroot}%{_mandir}/man1/maxima.1
+gzip -n9 %{buildroot}%{_mandir}/*/man1/maxima.1
 # reduce space, create symlinks
 %fdupes -s %{buildroot}/%{_datadir}/%{name}/%{version}/share 
%{buildroot}/%{_datadir}/%{name}/%{version}/src
 

++++++ maxima-clisp-fail-on-error.patch ++++++
From: Bernhard M. Wiedemann <[email protected]>
Date: 2026-08-23
Subject: [PATCH] Fail the build when clisp cannot save maxima.mem

clisp exits 0 even when ext:saveinitmem bails out, leaving a zero-length
binary-clisp/maxima.mem behind. `make` happily installed and packaged that
empty file, so the breakage only surfaced at runtime.

Seen with clisp 2.49.95+ when the clock is past 2036, where saveinitmem dies
with "*** - not a 32-bit integer: 4504185493" (clisp stores the CL universal
time, 1900 epoch, in 32 bits) - 
https://gitlab.com/gnu-clisp/clisp/-/work_items/59

Checking that the image is non-empty turns that into a build failure.

--- maxima-5.50.0.orig/src/Makefile.am  2026-08-23 07:35:01.956928005 +0200
+++ maxima-5.50.0/src/Makefile.am       2026-08-23 07:35:01.973291090 +0200
@@ -177,6 +177,7 @@
        $(EXECUTECLISP) clisp-command.lisp
        echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (ext:saveinitmem "$@" 
:init-function (function cl-user::run) $(clispexeflag))' > clisp-command.lisp
        $(EXECUTECLISP) clisp-command.lisp
+       test -s "$@" || { echo "$(CLISP_NAME) failed to save $@" >&2; exit 1; }
        rm clisp-command.lisp
 
 clisp-depends.mk: maxima.system Makefile *.lisp
--- maxima-5.50.0.orig/src/Makefile.in  2026-08-23 07:35:01.958742765 +0200
+++ maxima-5.50.0/src/Makefile.in       2026-08-23 07:35:01.974197166 +0200
@@ -1275,6 +1275,7 @@
 @CLISP_TRUE@   $(EXECUTECLISP) clisp-command.lisp
 @CLISP_TRUE@   echo '$(LOADDEFSYSTEM) $(DEFSYSTEMLOAD) (ext:saveinitmem "$@" 
:init-function (function cl-user::run) $(clispexeflag))' > clisp-command.lisp
 @CLISP_TRUE@   $(EXECUTECLISP) clisp-command.lisp
+@CLISP_TRUE@   test -s "$@" || { echo "$(CLISP_NAME) failed to save $@" >&2; 
exit 1; }
 @CLISP_TRUE@   rm clisp-command.lisp
 
 @[email protected]: maxima.system Makefile *.lisp

Reply via email to