Your message dated Mon, 24 Aug 2015 12:37:45 +0300
with message-id <20150824093745.31763.5...@mitya57.me>
and subject line Re: Bug#792715: opencv: FTBFS with Sphinx 1.3: wrong code to 
detect Sphinx version
has caused the Debian Bug report #792715,
regarding opencv: FTBFS with Sphinx 1.3: wrong code to detect Sphinx version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
792715: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792715
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: opencv
Version: 2.4.9.1+dfsg-1.1
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx1.3

opencv FTBFS with Sphinx 1.3 (which is available in experimental),
because cmake cannot detect Sphinx properly. This can be seen in
cmake output:

  --   Documentation:
  --     Build Documentation:         NO
  --     Sphinx:                      NO
  --     PdfLaTeX compiler:           /usr/bin/pdflatex

The relevant code in cmake/OpenCVDetectPython.cmake is:

    find_host_program(SPHINX_BUILD sphinx-build)
    if(SPHINX_BUILD)
        execute_process(COMMAND "${SPHINX_BUILD}"
                        OUTPUT_QUIET
                        ERROR_VARIABLE SPHINX_OUTPUT
                        OUTPUT_STRIP_TRAILING_WHITESPACE)
        if(SPHINX_OUTPUT MATCHES "Sphinx v([0-9][^ \n]*)")
          set(SPHINX_VERSION "${CMAKE_MATCH_1}")
          set(HAVE_SPHINX 1)
          message(STATUS "Found Sphinx ${SPHINX_VERSION}: ${SPHINX_BUILD}")
        endif()
    endif()

Here it calls 'sphinx-build' and expects the output to be
"Sphinx v([0-9][^ \n]*)".

However with Sphinx 1.3, 'sphinx-build' prints:

  $ sphinx-build
  Error: Insufficient arguments.

You need to pass --version and adjust the regex a bit:

  $ sphinx-build --version
  Sphinx (sphinx-build) 1.3.1

--
Dmitry Shachnev

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: 2.4.9.1+dfsg-1.2

On Thu, 20 Aug 2015 11:40:56 +0300, Dmitry Shachnev wrote:
> Reassigning back to src:opencv then.

... and closing the bug.

I don't think anything else will change on Sphinx side of things.

--
Dmitry Shachnev

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to