diff options
author | Abhishek Arya <inferno@chromium.org> | 2021-01-14 11:15:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 11:15:13 -0800 |
commit | 018314eefa3a247f48f0f063f351576b793e5d96 (patch) | |
tree | 2000116fda2a8d3f53e456c55a92e8508e5973a1 /infra/base-images/base-builder | |
parent | c47027fb5b9bd2c5e6964935a1b62df0b1b9ac36 (diff) | |
download | oss-fuzz-018314eefa3a247f48f0f063f351576b793e5d96.tar.gz |
Move python 3 install to base-clang, needed for clang build. (#4967)
```
-- Looking for os_signpost_interval_begin - not found
CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter)
Call Stack (most recent call first):
/usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.19/Modules/FindPython/Support.cmake:3148 (find_package_handle_standard_args)
/usr/local/share/cmake-3.19/Modules/FindPython3.cmake:398 (include)
CMakeLists.txt:711 (find_package)
-- Configuring incomplete, errors occurred!
See also "/work/llvm-stage1/CMakeFiles/CMakeOutput.log".
See also "/work/llvm-stage1/CMakeFiles/CMakeError.log".
The command '/bin/sh -c /root/checkout_build_install_llvm.sh' returned a non-zero code: 1
```
Diffstat (limited to 'infra/base-images/base-builder')
-rw-r--r-- | infra/base-images/base-builder/Dockerfile | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile index 72d127cf1..6a0b46be8 100644 --- a/infra/base-images/base-builder/Dockerfile +++ b/infra/base-images/base-builder/Dockerfile @@ -23,7 +23,6 @@ RUN dpkg --add-architecture i386 && \ apt-get update && \ apt-get install -y \ binutils-dev \ - build-essential \ curl \ git \ jq \ @@ -32,32 +31,6 @@ RUN dpkg --add-architecture i386 && \ subversion \ zip -# Build and install latest Python 3 (3.8.3). -ENV PYTHON_VERSION 3.8.3 -RUN export PYTHON_DEPS="\ - zlib1g-dev \ - libncurses5-dev \ - libgdbm-dev \ - libnss3-dev \ - libssl-dev \ - libsqlite3-dev \ - libreadline-dev \ - libffi-dev \ - libbz2-dev \ - liblzma-dev" && \ - unset CFLAGS CXXFLAGS && \ - apt-get install -y $PYTHON_DEPS && \ - cd /tmp/ && \ - curl -O https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz && \ - tar -xvf Python-$PYTHON_VERSION.tar.xz && \ - cd Python-$PYTHON_VERSION && \ - ./configure --enable-optimizations --enable-shared && \ - make -j install && \ - ldconfig && \ - cd .. && \ - rm -r /tmp/Python-$PYTHON_VERSION.tar.xz /tmp/Python-$PYTHON_VERSION && \ - apt-get remove -y $PYTHON_DEPS # https://github.com/google/oss-fuzz/issues/3888 - # Install latest atheris for python fuzzing, pyinstaller for fuzzer packaging. RUN unset CFLAGS CXXFLAGS && pip3 install -v atheris pyinstaller==4.1 |