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 "Joe McDonnell (Jira)" <ji...@apache.org> on 2020/07/21 19:09:00 UTC

[jira] [Commented] (IMPALA-9985) CentOS 8 builds break with __glibc_has_include ("__linux__/stat.h")

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

Joe McDonnell commented on IMPALA-9985:
---------------------------------------

I wonder if it is possible to have discrepancies due to building against different versions of Centos 8. We build GCC via the native toolchain on Centos 8.1. If we were using it on Centos 8.2, I wonder if that would ever have problems? glibc removed "__glibc_has_include" in version 2.31. If we built GCC on a version of Centos 8 with an older glibc (<=2.30), it might not know to avoid that macro. If Centos 8.2 used the new glibc, then it wouldn't have that macro. We could add a Centos 8.2 variant to the toolchain to see if that behaves differently.

> CentOS 8 builds break with __glibc_has_include ("__linux__/stat.h")
> -------------------------------------------------------------------
>
>                 Key: IMPALA-9985
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9985
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 4.0
>            Reporter: Laszlo Gaal
>            Priority: Blocker
>
> Currently Docker-based builds are running; they are breaking early in the build, during virtualenv construction, when the Python bitarray module is compiled:
> {code}
> 2020-07-21 07:44:32.913375     Complete output from command /home/impdev/Impala/bin/../infra/python/env-gcc7.5.0/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-NK6_23/bitarray/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-L3NjnK-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/impdev/Impala/bin/../infra/python/env-gcc7.5.0/include/site/python2.7/bitarray:
> 2020-07-21 07:44:32.913393     running install
> 2020-07-21 07:44:32.913411     running build
> 2020-07-21 07:44:32.913430     running build_py
> 2020-07-21 07:44:32.913447     creating build
> 2020-07-21 07:44:32.913476     creating build/lib.linux-x86_64-2.7
> 2020-07-21 07:44:32.913510     creating build/lib.linux-x86_64-2.7/bitarray
> 2020-07-21 07:44:32.913553     copying bitarray/util.py -> build/lib.linux-x86_64-2.7/bitarray
> 2020-07-21 07:44:32.913599     copying bitarray/test_util.py -> build/lib.linux-x86_64-2.7/bitarray
> 2020-07-21 07:44:32.913645     copying bitarray/__init__.py -> build/lib.linux-x86_64-2.7/bitarray
> 2020-07-21 07:44:32.913695     copying bitarray/test_bitarray.py -> build/lib.linux-x86_64-2.7/bitarray
> 2020-07-21 07:44:32.913715     running build_ext
> 2020-07-21 07:44:32.913746     building 'bitarray._bitarray' extension
> 2020-07-21 07:44:32.913775     creating build/temp.linux-x86_64-2.7
> 2020-07-21 07:44:32.913809     creating build/temp.linux-x86_64-2.7/bitarray
> 2020-07-21 07:44:32.914022     ccache /home/impdev/Impala/toolchain/toolchain-packages-gcc7.5.0/gcc-7.5.0/bin/gcc -fno-strict-aliasing -I/usr/include/ncurses -I/mnt/build/bzip2-1.0.6-p2/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/impdev/Impala/toolchain/toolchain-packages-gcc7.5.0/python-2.7.16/include/python2.7 -c bitarray/_bitarray.c -o build/temp.linux-x86_64-2.7/bitarray/_bitarray.o
> 2020-07-21 07:44:32.914059     In file included from /usr/include/sys/stat.h:446:0,
> 2020-07-21 07:44:32.914135                      from /home/impdev/Impala/toolchain/toolchain-packages-gcc7.5.0/python-2.7.16/include/python2.7/pyport.h:390,
> 2020-07-21 07:44:32.914210                      from /home/impdev/Impala/toolchain/toolchain-packages-gcc7.5.0/python-2.7.16/include/python2.7/Python.h:61,
> 2020-07-21 07:44:32.914244                      from bitarray/_bitarray.c:12:
> 2020-07-21 07:44:32.914350     /home/impdev/Impala/toolchain/toolchain-packages-gcc7.5.0/gcc-7.5.0/lib/gcc/x86_64-pc-linux-gnu/7.5.0/include-fixed/bits/statx.h:38:25: error: missing binary operator before token "("
> 2020-07-21 07:44:32.914384      #if __glibc_has_include ("__linux__/stat.h")
> 2020-07-21 07:44:32.914408                              ^
> 2020-07-21 07:44:32.914444     error: command 'ccache' failed with exit status 1
> 20{code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org