[med-svn] [Git][med-team/libsbml][master] Fix FTBFS with make --shuffle=reverse Closes: #1105459
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sat Sep 19 10:30:37 BST 2026
Andreas Tille pushed to branch master at Debian Med / libsbml
Commits:
d1bd2e1b by Andreas Tille at 2026-09-19T11:30:03+02:00
Fix FTBFS with make --shuffle=reverse Closes: #1105459
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/make-shuffle.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+libsbml (5.21.2+dfsg-2) UNRELEASED; urgency=medium
+
+ * Fix FTBFS with make --shuffle=reverse
+ Closes: #1105459
+
+ -- Andreas Tille <tille at debian.org> Sat, 19 Sep 2026 11:23:19 +0200
+
libsbml (5.21.2+dfsg-1) unstable; urgency=medium
[ Andreas Tille ]
=====================================
debian/patches/make-shuffle.patch
=====================================
@@ -0,0 +1,34 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: 2026-09-19
+Description: Fix FTBFS with make --shuffle=reverse
+ The Python API documentation target (docs/CMakeLists.txt) runs
+ pythondocpreprocessor.py on src/bindings/python/libsbml-doxygen.py.
+ That file is generated by the Python SWIG binding custom command, but
+ it was neither declared as an OUTPUT of that custom command nor as a
+ DEPENDS of the docs custom command. As a result, with
+ "make --shuffle=reverse" the docs target could run before the file was
+ generated, causing FileNotFoundError and a build failure.
+ Declare the file as an explicit dependency so make always builds it
+ first.
+Bug-Debian: https://bugs.debian.org/1105459
+
+--- a/docs/CMakeLists.txt
++++ b/docs/CMakeLists.txt
+@@ -240,5 +240,6 @@
+ COMMENT "Generate libsbml.py"
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
++ ${CMAKE_CURRENT_BINARY_DIR}/../src/bindings/python/libsbml-doxygen.py
+ )
+ add_custom_target(api_docs_python_py ALL DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/libsbml.py)
+--- a/src/bindings/python/CMakeLists.txt
++++ b/src/bindings/python/CMakeLists.txt
+@@ -173,6 +173,7 @@
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libsbml_wrap.cpp
+ ${CMAKE_CURRENT_BINARY_DIR}/libsbml.py
+ ${CMAKE_CURRENT_BINARY_DIR}/class-list.txt
+ ${CMAKE_CURRENT_BINARY_DIR}/libsbml-converters.txt
++ ${CMAKE_CURRENT_BINARY_DIR}/libsbml-doxygen.py
+
+ COMMAND "${PYTHON_EXECUTABLE}"
+ ARGS "${CMAKE_CURRENT_SOURCE_DIR}/../swig/swigdoc.py"
=====================================
debian/patches/series
=====================================
@@ -11,3 +11,4 @@ doxygen_mathjax_path.patch
gcc-15.patch
0001-Use-system-minizip-cmake.patch
avoid-empty-L-option.patch
+make-shuffle.patch
View it on GitLab: https://salsa.debian.org/med-team/libsbml/-/commit/d1bd2e1b668a529e7b5670b5f460c8866b6d8fb6
--
View it on GitLab: https://salsa.debian.org/med-team/libsbml/-/commit/d1bd2e1b668a529e7b5670b5f460c8866b6d8fb6
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260919/9eb9ae8d/attachment-0001.htm>
More information about the debian-med-commit
mailing list