[ 
https://issues.apache.org/jira/browse/PROTON-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270187#comment-17270187
 ] 

ASF GitHub Bot commented on PROTON-2169:
----------------------------------------

astitcher commented on pull request #274:
URL: https://github.com/apache/qpid-proton/pull/274#issuecomment-765454696


   As far as I know distutils is in the Python standard library (although 
deprecated and replaced by setuptools) and so should be present for any correct 
python installation. We don't check that other standard libraries we rely on 
are present,
   
   The actual issue might be using distutils at all! Especially in the Python 
CMake file. The setup.py already mostly uses setuptools and probably could stop 
using distutils completely with some amount of work!
   
   So I'd say on balance this change isn't really needed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> Build fails with ModuleNotFoundError when python3-distutils is missing
> ----------------------------------------------------------------------
>
>                 Key: PROTON-2169
>                 URL: https://issues.apache.org/jira/browse/PROTON-2169
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: build
>    Affects Versions: proton-c-0.30.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> Compile as in PROTON-2145, that means
> {noformat}
> mkdir _build
> cd _build
> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local\
>   -DSYSINSTALL_BINDINGS=ON\
>   -DBUILD_STATIC_LIBS=ON\
>   -DBUILD_TESTING=OFF\
>   -DBUILD_WITH_CXX=ON\
>   -DENABLE_FUZZ_TESTING=OFF\
>   -DFUZZ_REGRESSION_TESTS=OFF
> make -j4
> make install
> {noformat}
> When I don't have {{python3-distutils}} installed, I get
> {noformat}
> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ModuleNotFoundError: No module named 'distutils.sysconfig'
> -- Looking for Python module sphinx - not found
> -- Looking for Python module sphinx_automodapi - not found
> -- Sphinx modules not found; doc generation disabled.
> CMake Error at python/CMakeLists.txt:139 (install):
>   install FILES given no DESTINATION!
> CMake Error at python/CMakeLists.txt:145 (install):
>   install TARGETS given no LIBRARY DESTINATION for module target "_cproton".
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to