Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-1
Description
Saw the build failure locally:
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]
Attached the full output. I have to disable building python3 tests to workaround the failure.
export DISABLE_PYTHON3_TEST=true
I'm on Ubuntu 16.04 with python3-dev installed (version: 3.5).