Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9985

CentOS 8 builds break with __glibc_has_include ("__linux__/stat.h")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.0.0
    • Infrastructure
    • None
    • ghx-label-11

    Description

      Currently Docker-based builds are running; they are breaking early in the build, during virtualenv construction, when the Python bitarray module is compiled:

      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

      Attachments

        Activity

          People

            laszlog Laszlo Gaal
            laszlog Laszlo Gaal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: