Bug#1129655: trixie-pu: package scilab/2024.1.0+dfsg-6+deb13u1

Santiago Vila sanvila at debian.org
Wed Mar 4 13:39:21 GMT 2026


Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: scilab at packages.debian.org, pgt at debian.org, sanvila at debian.org
Control: affects -1 + src:scilab
User: release.debian.org at packages.debian.org
Usertags: pu

[ Reason ]
Fix Bug #1106083, "FTBFS: autobuilder hangs when using the kernel of trixie"

[ Impact ]
People trying to build the package from source might find that the package
fails to build randomly, with very high probability in some systems.

[ Tests ]
I've tested that the applied fix reduces significantly the failure rate.
In some systems, the failure rate has decreased from 80% to 10% which
is a lot more acceptable.

[ Risks ]
Low. It can't be worse than the current package.

[ Checklist ]
   [X] *all* changes are documented in the d/changelog
   [X] I reviewed all changes and I approve them
   [X] attach debdiff against the package in (old)stable
   [X] the issue is verified as fixed in unstable

[ Changes ]
See changelog.

[ Other info ]
The package is already uploaded.
-------------- next part --------------
diff -Nru scilab-2024.1.0+dfsg/debian/changelog scilab-2024.1.0+dfsg/debian/changelog
--- scilab-2024.1.0+dfsg/debian/changelog	2024-10-08 22:13:28.000000000 +0200
+++ scilab-2024.1.0+dfsg/debian/changelog	2026-03-04 13:25:00.000000000 +0100
@@ -1,3 +1,13 @@
+scilab (2024.1.0+dfsg-6+deb13u1) trixie; urgency=medium
+
+  * Team upload.
+
+  [ Pierre Gruet ]
+  * Using the UTF-8 suffix when calling scilab to build the documentation.
+    Closes: #1106083.
+
+ -- Santiago Vila <sanvila at debian.org>  Wed, 04 Mar 2026 13:25:00 +0100
+
 scilab (2024.1.0+dfsg-6) unstable; urgency=medium
 
   * Skipping libxml2 patch until version 2.12.7 enters Debian/unstable again
diff -Nru scilab-2024.1.0+dfsg/debian/patches/locales_utf8.patch scilab-2024.1.0+dfsg/debian/patches/locales_utf8.patch
--- scilab-2024.1.0+dfsg/debian/patches/locales_utf8.patch	1970-01-01 01:00:00.000000000 +0100
+++ scilab-2024.1.0+dfsg/debian/patches/locales_utf8.patch	2026-03-04 11:29:00.000000000 +0100
@@ -0,0 +1,42 @@
+Description: using the UTF-8 suffix after the locale when building the
+ documentation. Also skipping the attempt to launch scilab on regen_list.sce,
+ which can cause problems with the locales and cannot be run in a headless
+ environment anyway.
+Author: Pierre Gruet <pgt at debian.org>
+Bug-Debian: https://bugs.debian.org/1106083
+Forwarded: https://gitlab.com/scilab/scilab/-/issues/17461
+Last-Update: 2026-01-29
+
+Index: scilab-2024.1.0+dfsg/scilab/Makefile.am
+===================================================================
+--- scilab-2024.1.0+dfsg.orig/scilab/Makefile.am
++++ scilab-2024.1.0+dfsg/scilab/Makefile.am
+@@ -293,7 +293,7 @@ doc-images:
+ 	mkdir $(top_srcdir)/modules/helptools/images/
+ 	$(MAKE) doc
+ 
+-doc: function-list javadoc $(top_builddir)/scilab-bin $(top_builddir)/bin/scilab-adv-cli
++doc: javadoc $(top_builddir)/scilab-bin $(top_builddir)/bin/scilab-adv-cli
+ if BUILD_HELP
+ 	@if test -x $(top_builddir)/scilab-bin; then \
+ 		cd $(top_builddir);\
+@@ -304,8 +304,8 @@ if BUILD_HELP
+ 				echo "LANG=$$l.UTF-8 SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 _JAVA_OPTIONS='-Djava.awt.headless=true' HOME=/tmp $(top_builddir)/bin/scilab-adv-cli -noatomsautoload -nb -l $$l -nouserstartup -e \"$$COMMAND\"";\
+ 				LANG=$$l.UTF-8 SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 _JAVA_OPTIONS='-Djava.awt.headless=true' HOME=/tmp $(top_builddir)/bin/scilab-adv-cli -noatomsautoload -nb -l $$l -nouserstartup -e "$$COMMAND" || exit 1;\
+ 			else \
+-				echo "LANG=$$l.UTF-8 LC_ALL=C SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 _JAVA_OPTIONS='-Djava.awt.headless=true' HOME=/tmp $(top_builddir)/bin/scilab-adv-cli -noatomsautoload -nb -l $$l -nouserstartup -e \"$$COMMAND\"";\
+-				LANG=$$l.UTF-8 LC_ALL=C SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 _JAVA_OPTIONS="-Djava.awt.headless=true -Djava.library.path=/usr/lib/jni:$$(find . -name "*.so" -a -wholename "*modules*" | sed 's/\/[^/]*$$//' | sort | uniq | tr '\n' ':' | sed 's/:$$//')" HOME=/tmp $(top_builddir)/bin/scilab-adv-cli -noatomsautoload -nb -l $$l -nouserstartup -e "$$COMMAND" || exit 1;\
++				echo "LANG=$$l.UTF-8 LC_ALL=C SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 _JAVA_OPTIONS='-Djava.awt.headless=true' HOME=/tmp $(top_builddir)/bin/scilab-adv-cli -noatomsautoload -nb -l $$l.UTF-8 -nouserstartup -e \"$$COMMAND\"";\
++				LANG=$$l.UTF-8 LC_ALL=C SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 _JAVA_OPTIONS="-Djava.awt.headless=true -Djava.library.path=/usr/lib/jni:$$(find . -name "*.so" -a -wholename "*modules*" | sed 's/\/[^/]*$$//' | sort | uniq | tr '\n' ':' | sed 's/:$$//')" HOME=/tmp $(top_builddir)/bin/scilab-adv-cli -noatomsautoload -nb -l $$l.UTF-8 -nouserstartup -e "$$COMMAND" || exit 1;\
+ 			fi; \
+ 		done; \
+ 	else \
+@@ -315,7 +315,7 @@ else
+ 	@echo "Cannot buid help. Add --enable-build-help to the ./configure if you want to build it."
+ endif
+ 
+-doc-web: function-list javadoc $(top_builddir)/scilab-bin $(top_builddir)/bin/scilab-adv-cli
++doc-web: javadoc $(top_builddir)/scilab-bin $(top_builddir)/bin/scilab-adv-cli
+ if BUILD_HELP
+ 	@if test -x $(top_builddir)/scilab-bin; then \
+ 		cd $(top_builddir);\
diff -Nru scilab-2024.1.0+dfsg/debian/patches/series scilab-2024.1.0+dfsg/debian/patches/series
--- scilab-2024.1.0+dfsg/debian/patches/series	2024-10-08 22:12:00.000000000 +0200
+++ scilab-2024.1.0+dfsg/debian/patches/series	2026-03-04 11:00:00.000000000 +0100
@@ -27,3 +27,4 @@
 no_flexdock_version_check.patch
 gcc14.patch
 JFXScilabFileChooser.patch
+locales_utf8.patch


More information about the debian-science-maintainers mailing list