[ https://issues.apache.org/jira/browse/PROTON-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045883#comment-15045883 ]
Ganesh Murthy commented on PROTON-1072: --------------------------------------- The build works fine when I commented out the following lines in /main/qpid-proton/proton-c/bindings/python/CMakeLists.txt if (EPYDOC_EXE) foreach (py_src_doc ${pysrc}) list(APPEND PY_DOC_FILES "${CMAKE_CURRENT_SOURCE_DIR}/${py_src_doc}") endforeach(py_src_doc) add_custom_target(docs-py COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../../env.py -- PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}:${CMAKE_CURRENT_SOURCE_DIR} ${EPYDOC_EXE} -v --no-private --html -o ${CMAKE_CURRENT_BINARY_DIR}/html ${PY_DOC_FILES} DEPENDENCIES ${SWIG_MODULE_${cproton}_REAL_NAME) add_dependencies(docs docs-py) install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html/" DESTINATION "${PROTON_SHARE}/docs/api-py" COMPONENT documentation ${OPTIONAL_ARG}) endif (EPYDOC_EXE > Proton build fails if epydoc is installed > ----------------------------------------- > > Key: PROTON-1072 > URL: https://issues.apache.org/jira/browse/PROTON-1072 > Project: Qpid Proton > Issue Type: Bug > Components: proton-c > Affects Versions: 0.11 > Reporter: Ganesh Murthy > > Steps to reproduce > Get the latest proton from master. > Install epydoc on your system (dnf -y install epydoc (I did this on Docker > using Fedora 23 environment)) > Now run the proton build > You will see the following error - > CMake Warning (dev) at proton-c/bindings/python/CMakeLists.txt:87 > (add_custom_target): > Syntax error in cmake code at > /main/qpid-proton/proton-c/bindings/python/CMakeLists.txt:91 > when parsing string > ${SWIG_MODULE_${cproton}_REAL_NAME > syntax error, unexpected $end, expecting } (34) > Policy CMP0010 is not set: Bad variable reference syntax is an error. Run > "cmake --help-policy CMP0010" for policy details. Use the cmake_policy > command to set the policy and suppress this warning. > This warning is for project developers. Use -Wno-dev to suppress it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)