Source: mongo-c-driver
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Tags: ftbfs patch

Hi,

During a test recompilation with the new ICU release I've realized
your package FTBFS in Sid due to a possible behavior change of Sphinx.
The relevant output is:
[  0%] Building HTML documentation with Sphinx
[...]
Warning, treated as error:
the taglist extension is not safe for parallel reading

The following patch fixes this, please apply it as time permits:
--- mongo-c-driver-1.16.1.orig/build/cmake/SphinxBuild.cmake
+++ mongo-c-driver-1.16.1/build/cmake/SphinxBuild.cmake
@@ -40,7 +40,7 @@ function (sphinx_build_html target_name
       ${CMAKE_COMMAND} -E env
       "PYTHONDONTWRITEBYTECODE=1"
       ${SPHINX_EXECUTABLE}
-         -j ${NPROCS} -qEW -b html
+         -j 1 -qEW -b html
          -c "${CMAKE_CURRENT_SOURCE_DIR}"
          "${CMAKE_CURRENT_SOURCE_DIR}"
          "${SPHINX_HTML_DIR}"
@@ -133,7 +133,7 @@ function (sphinx_build_man target_name)
       ${CMAKE_COMMAND} -E env
       "PYTHONDONTWRITEBYTECODE=1"
       ${SPHINX_EXECUTABLE}
-         -j ${NPROCS} -qEW -b man
+         -j 1 -qEW -b man
          -c "${CMAKE_CURRENT_SOURCE_DIR}"
          "${CMAKE_CURRENT_SOURCE_DIR}"
          "${SPHINX_MAN_DIR}"

Regards,
Laszlo/GCS

Reply via email to