You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2022/06/20 16:27:00 UTC
[jira] [Commented] (IMPALA-11372) Building impala_shell-install-test could fail on python3
[ https://issues.apache.org/jira/browse/IMPALA-11372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556453#comment-17556453 ]
Michael Smith commented on IMPALA-11372:
----------------------------------------
This looks like a local configuration issue, although maybe we need a clean step to clear out {{shell/build/py*_env}}.
Did you have python3.8 installed, then replaced it with python3.5 with dev?
> Building impala_shell-install-test could fail on python3
> --------------------------------------------------------
>
> Key: IMPALA-11372
> URL: https://issues.apache.org/jira/browse/IMPALA-11372
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Reporter: Quanlong Huang
> Priority: Major
> Attachments: build-output.txt
>
>
> Saw the build failure locally:
> {code}
> FAILED: cd /home/quanlong/workspace/Impala/shell && /home/quanlong/workspace/Impala/bin/junitxml_command_wrapper.sh /home/quanlong/workspace/Impala/shell/build/py3_venv/bin/pip install /home/quanlong/workspace/Impala/shell/build/dist/impala_shell-install-test.tar.gz
> ...
> building 'kerberos' extension
> creating build
> creating build/temp.linux-x86_64-cpython-38
> creating build/temp.linux-x86_64-cpython-38/src
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/home/quanlong/workspace/Impala/shell/build/py3_venv/include/python3.8 -c src/base64.c -o build/temp.linux-x86_64-cpython-38/src/base64.o -isystem /usr/include/mit-krb5
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/home/quanlong/workspace/Impala/shell/build/py3_venv/include/python3.8 -c src/kerberos.c -o build/temp.linux-x86_64-cpython-38/src/kerberos.o -isystem /usr/include/mit-krb5
> src/kerberos.c:17:20: fatal error: Python.h: No such file or directory
> compilation terminated.
> error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
> [end of output]
> {code}
> Attached the full output. I have to disable building python3 tests to workaround the failure.
> {code:bash}
> export DISABLE_PYTHON3_TEST=true
> {code}
> I'm on Ubuntu 16.04 with python3-dev installed (version: 3.5).
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org