Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

the problem with make check_gcc #72

Open
fxm88 opened this issue Nov 14, 2021 · 0 comments
Open

the problem with make check_gcc #72

fxm88 opened this issue Nov 14, 2021 · 0 comments

Comments

@fxm88
Copy link

fxm88 commented Nov 14, 2021

OS_ID=ubuntu1804
DOCKERFILE=Dockerfile.he_transformer.ubuntu1804
RUN_AS_USER_SCRIPT=/home/dockuser/he-transformer-test/contrib/docker/run_as_ubuntu_user.sh
RM_CONTAINER=true
cd "/home/ubuntu/he-transformer"/contrib/docker
mkdir "/home/ubuntu/he-transformer/contrib/docker/.build-02f908ff7ea565679487255cc5db855e8a11bdbe_2_ubuntu1804" || true
mkdir: 无法创建目录"/home/ubuntu/he-transformer/contrib/docker/.build-02f908ff7ea565679487255cc5db855e8a11bdbe_2_ubuntu1804": 文件已存在
sed -e 's/(FROM he_transformer.*)/\1:02f908ff7ea565679487255cc5db855e8a11bdbe_2/' Dockerfile.he_transformer.ubuntu1804 > "/home/ubuntu/he-transformer/contrib/docker/.build-02f908ff7ea565679487255cc5db855e8a11bdbe_2_ubuntu1804/Dockerfile.build_he_transformer_ubuntu1804"
OS_ID=ubuntu1804
/home/ubuntu/he-transformer/contrib/docker/.build-02f908ff7ea565679487255cc5db855e8a11bdbe_2_ubuntu1804
export CONTEXTDIR=/home/ubuntu/he-transformer/contrib/docker/.build-02f908ff7ea565679487255cc5db855e8a11bdbe_2_ubuntu1804;export DOCKER_TAG=build_he_transformer_ubuntu1804;./make-dimage.sh
CONTEXTDIR=/home/ubuntu/he-transformer/contrib/docker/.build-02f908ff7ea565679487255cc5db855e8a11bdbe_2_ubuntu1804
CONTEXTDIR=/home/ubuntu/he-transformer/contrib/docker/.build-02f908ff7ea565679487255cc5db855e8a11bdbe_2_ubuntu1804

Building docker image build_he_transformer_ubuntu1804:2021-11-14T13-51-16-08-00 from Dockerfile /home/ubuntu/he-transformer/contrib/docker/.build-02f908ff7ea565679487255cc5db855e8a11bdbe_2_ubuntu1804/Dockerfile.build_he_transformer_ubuntu1804, context .

Sending build context to Docker daemon 4.608kB
Step 1/21 : FROM ubuntu:18.04
---> 5a214d77f5d7
Step 2/21 : ARG DEBIAN_FRONTEND=noninteractive
---> Using cache
---> e4709e2439ef
Step 3/21 : RUN apt-get update && apt-get install -y python3-pip virtualenv python3-numpy python3-dev python3-wheel git unzip wget sudo bash-completion build-essential make cmake software-properties-common wget patch diffutils libtinfo-dev autoconf libtool doxygen graphviz yapf3 python3-yapf libmpfr-dev libgmp-dev libssl-dev
---> Using cache
---> 3bd42b6ff72c
Step 4/21 : RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y vim vim-gnome && apt-get install -y gcc-8 g++-8 gcc-8-base && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 100 && update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 100
---> Using cache
---> 544b8b2ff44e
Step 5/21 : RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
---> Using cache
---> aa27dca361a1
Step 6/21 : RUN apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
---> Using cache
---> 830c3f4c0ba7
Step 7/21 : RUN apt-get update && apt install -y clang-9 clang-tidy-9 clang-format-9
---> Using cache
---> 3ff7ac7f85b6
Step 8/21 : RUN apt-get clean autoclean && apt-get autoremove -y
---> Using cache
---> 84b53e7ba784
Step 9/21 : RUN pip3 install --upgrade pip setuptools virtualenv==16.1.0
---> Using cache
---> a783b33abb40
Step 10/21 : RUN pip3 install cmake --upgrade
---> Using cache
---> 535ef6606acc
Step 11/21 : RUN cmake --version
---> Using cache
---> b027128298de
Step 12/21 : RUN make --version
---> Using cache
---> 1429c10fe9d7
Step 13/21 : RUN gcc --version
---> Using cache
---> 216875042b9c
Step 14/21 : RUN clang++-9 --version
---> Using cache
---> 4b15bd64f0da
Step 15/21 : RUN c++ --version
---> Using cache
---> 4edb1c78cdc4
Step 16/21 : RUN python3 --version
---> Using cache
---> d3a933e64118
Step 17/21 : RUN virtualenv --version
---> Using cache
---> 02c6aec250d5
Step 18/21 : RUN wget https://github.com/bazelbuild/bazel/releases/download/0.25.2/bazel-0.25.2-installer-linux-x86_64.sh
---> Using cache
---> f4c430dde777
Step 19/21 : RUN chmod +x ./bazel-0.25.2-installer-linux-x86_64.sh
---> Using cache
---> 972573e98d81
Step 20/21 : RUN bash ./bazel-0.25.2-installer-linux-x86_64.sh
---> Using cache
---> e28495effe39
Step 21/21 : WORKDIR /home
---> Using cache
---> 5111450e260e
Successfully built 5111450e260e
Successfully tagged build_he_transformer_ubuntu1804:2021-11-14T13-51-16-08-00

Docker image build completed

docker tag build_he_transformer_ubuntu1804:latest build_he_transformer_ubuntu1804:02f908ff7ea565679487255cc5db855e8a11bdbe_2

Building for CPU support only.

docker run --rm=true --tty
-v "/home/ubuntu/he-transformer:/home/dockuser/he-transformer-test"

--env BUILD_SUBDIR=BUILD-GCC
--env CMAKE_OPTIONS_EXTRA=""
--env OS_ID="ubuntu1804"
--env PARALLEL=22
--env THIRD_PARTY_CACHE_DIR=
--env CMD_TO_RUN='build_gcc'
--env RUN_UID="0"
--env RUN_CMD="/home/dockuser/he-transformer-test/contrib/docker/build-he-transformer-and-test.sh"
"build_he_transformer_ubuntu1804:02f908ff7ea565679487255cc5db855e8a11bdbe_2"
sh -c "cd /home/dockuser; /home/dockuser/he-transformer-test/contrib/docker/run_as_ubuntu_user.sh"
adduser: The UID 0 is already in use.
Makefile:154: recipe for target 'build_gcc' failed
make: *** [build_gcc] Error 1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant