Quanlong Huang created IMPALA-11372:
---------------------------------------
Summary: 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
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)