[Debian-med-packaging] Bug#1105459: libsbml: FTBFS with make --shuffle=reverse: FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/libsbml-5.20.4+dfsg/build/docs/../src/bindings/python/libsbml-doxygen.py'

Lucas Nussbaum lucas at debian.org
Tue May 13 20:06:11 BST 2025


Source: libsbml
Version: 5.20.4+dfsg-0.1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
> make[3]: Entering directory '/build/reproducible-path/libsbml-5.20.4+dfsg/build'
> docs/CMakeFiles/api_docs_python_py.dir/build.make:75: update target '/build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/libsbml.py' due to: target does not exist
> /usr/bin/cmake -E cmake_echo_color "--switch=" --blue --bold --progress-dir=/build/reproducible-path/libsbml-5.20.4+dfsg/build/CMakeFiles --progress-num= "Generate libsbml.py"
> [  0%] Generate libsbml.py
> cd /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src && /usr/bin/python3.13 /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/utilities/pythondocpreprocessor.py /build/reproducible-path/libsbml-5.20.4+dfsg/build/docs/../src/bindings/python/libsbml-doxygen.py libsbml.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/ASTNodeList.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/CVTermList.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/CompPkgNamespaces.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/DateList.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/FbcPkgNamespaces.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/GroupsPkgNamespaces.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/LayoutPkgNamespaces.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/ModelCreatorList.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/MultiPkgNamespaces.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/QualPkgNamespaces.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/SBMLNamespacesList.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/SBaseList.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/libsbml.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/ostream.py /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/python-substitutions/ostringstream.py
> /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/utilities/pythondocpreprocessor.py:65: SyntaxWarning: invalid escape sequence '\('
>   if re.search(r'\Aclass ' + c + '\([^)]+\):', line):
> Traceback (most recent call last):
>   File "/build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/utilities/pythondocpreprocessor.py", line 107, in <module>
>     main(sys.argv)
>     ~~~~^^^^^^^^^^
>   File "/build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/utilities/pythondocpreprocessor.py", line 37, in main
>     input     = open(args[1], 'r')
> FileNotFoundError: [Errno 2] No such file or directory: '/build/reproducible-path/libsbml-5.20.4+dfsg/build/docs/../src/bindings/python/libsbml-doxygen.py'
> make[3]: *** [docs/CMakeFiles/api_docs_python_py.dir/build.make:76: /build/reproducible-path/libsbml-5.20.4+dfsg/docs/src/libsbml.py] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/libsbml_5.20.4+dfsg-0.1_unstable_reverse.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects



More information about the Debian-med-packaging mailing list