Open jtruxon opened 1 year ago
Describe the bug running docker build hits an error during the build process
To Reproduce
git rev-parse HEAD
spec
Additional context this appears to be caused by a problem earlier in the Dockerfile, where the python-pyglet package is failing to install.
Error logs
> [7/9] RUN . ~/miniconda3/etc/profile.d/conda.sh && conda create -n lab python=3.7.3 -y && conda activate lab && conda env update -f environment.yml && conda clean -y --all && rm -rf ~/.cache/pip: #11 1.493 Collecting package metadata (current_repodata.json): ...working... done #11 5.422 Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source. #11 5.424 Collecting package metadata (repodata.json): ...working... done #11 15.34 Solving environment: ...working... done #11 15.85 #11 15.85 #11 15.85 ==> WARNING: A newer version of conda exists. <== #11 15.85 current version: 4.12.0 #11 15.85 latest version: 4.14.0 #11 15.85 #11 15.85 Please update conda by running #11 15.85 #11 15.85 $ conda update -n base -c defaults conda #11 15.85 #11 15.85 #11 15.93 #11 15.93 ## Package Plan ## #11 15.93 #11 15.93 environment location: /root/miniconda3/envs/lab #11 15.93 #11 15.93 added / updated specs: #11 15.93 - python=3.7.3 #11 15.93 #11 15.93 #11 15.93 The following packages will be downloaded: #11 15.93 #11 15.93 package | build #11 15.93 ---------------------------|----------------- #11 15.93 _openmp_mutex-5.1 | 1_gnu 21 KB #11 15.93 ca-certificates-2022.07.19 | h06a4308_0 124 KB #11 15.93 certifi-2022.6.15 | py37h06a4308_0 153 KB #11 15.93 libedit-3.1.20210910 | h7f8727e_0 166 KB #11 15.93 libffi-3.2.1 | hf484d3e_1007 48 KB #11 15.93 libgcc-ng-11.2.0 | h1234567_1 5.3 MB #11 15.93 libgomp-11.2.0 | h1234567_1 474 KB #11 15.93 libstdcxx-ng-11.2.0 | h1234567_1 4.7 MB #11 15.93 ncurses-6.3 | h5eee18b_3 781 KB #11 15.93 openssl-1.1.1q | h7f8727e_0 2.5 MB #11 15.93 pip-22.1.2 | py37h06a4308_0 2.4 MB #11 15.93 python-3.7.3 | h0371630_0 32.1 MB #11 15.93 readline-7.0 | h7b6447c_5 324 KB #11 15.93 setuptools-63.4.1 | py37h06a4308_0 1.1 MB #11 15.93 sqlite-3.33.0 | h62c20be_0 1.1 MB #11 15.93 tk-8.6.12 | h1ccaba5_0 3.0 MB #11 15.93 xz-5.2.5 | h7f8727e_1 339 KB #11 15.93 zlib-1.2.12 | h7f8727e_2 106 KB #11 15.93 ------------------------------------------------------------ #11 15.93 Total: 54.8 MB #11 15.93 #11 15.93 The following NEW packages will be INSTALLED: #11 15.93 #11 15.93 _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main #11 15.93 _openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu #11 15.93 ca-certificates pkgs/main/linux-64::ca-certificates-2022.07.19-h06a4308_0 #11 15.93 certifi pkgs/main/linux-64::certifi-2022.6.15-py37h06a4308_0 #11 15.93 libedit pkgs/main/linux-64::libedit-3.1.20210910-h7f8727e_0 #11 15.93 libffi pkgs/main/linux-64::libffi-3.2.1-hf484d3e_1007 #11 15.93 libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1 #11 15.93 libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1 #11 15.93 libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1 #11 15.93 ncurses pkgs/main/linux-64::ncurses-6.3-h5eee18b_3 #11 15.93 openssl pkgs/main/linux-64::openssl-1.1.1q-h7f8727e_0 #11 15.93 pip pkgs/main/linux-64::pip-22.1.2-py37h06a4308_0 #11 15.93 python pkgs/main/linux-64::python-3.7.3-h0371630_0 #11 15.93 readline pkgs/main/linux-64::readline-7.0-h7b6447c_5 #11 15.93 setuptools pkgs/main/linux-64::setuptools-63.4.1-py37h06a4308_0 #11 15.93 sqlite pkgs/main/linux-64::sqlite-3.33.0-h62c20be_0 #11 15.93 tk pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0 #11 15.93 wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0 #11 15.93 xz pkgs/main/linux-64::xz-5.2.5-h7f8727e_1 #11 15.93 zlib pkgs/main/linux-64::zlib-1.2.12-h7f8727e_2 #11 15.93 #11 15.93 #11 15.93 #11 15.93 Downloading and Extracting Packages zlib-1.2.12 | 106 KB | ########## | 100% xz-5.2.5 | 339 KB | ########## | 100% libedit-3.1.20210910 | 166 KB | ########## | 100% _openmp_mutex-5.1 | 21 KB | ########## | 100% sqlite-3.33.0 | 1.1 MB | ########## | 100% libstdcxx-ng-11.2.0 | 4.7 MB | ########## | 100% ncurses-6.3 | 781 KB | ########## | 100% python-3.7.3 | 32.1 MB | ########## | 100% certifi-2022.6.15 | 153 KB | ########## | 100% tk-8.6.12 | 3.0 MB | ########## | 100% libgomp-11.2.0 | 474 KB | ########## | 100% libffi-3.2.1 | 48 KB | ########## | 100% ca-certificates-2022 | 124 KB | ########## | 100% setuptools-63.4.1 | 1.1 MB | ########## | 100% pip-22.1.2 | 2.4 MB | ########## | 100% openssl-1.1.1q | 2.5 MB | ########## | 100% readline-7.0 | 324 KB | ########## | 100% libgcc-ng-11.2.0 | 5.3 MB | ########## | 100% #11 24.41 Preparing transaction: ...working... done #11 24.74 Verifying transaction: ...working... done #11 25.93 Executing transaction: ...working... done #11 28.11 # #11 28.11 # To activate this environment, use #11 28.11 # #11 28.11 # $ conda activate lab #11 28.11 # #11 28.11 # To deactivate an active environment, use #11 28.11 # #11 28.11 # $ conda deactivate #11 28.11 #11 29.82 Collecting package metadata (repodata.json): ...working... done #11 101.5 Solving environment: ...working... done #11 148.2 #11 148.2 #11 148.2 ==> WARNING: A newer version of conda exists. <== #11 148.2 current version: 4.12.0 #11 148.2 latest version: 4.14.0 #11 148.2 #11 148.2 Please update conda by running #11 148.2 #11 148.2 $ conda update -n base -c defaults conda #11 148.2 #11 148.2 #11 148.3 #11 148.3 Downloading and Extracting Packages libgfortran-ng-7.5.0 | 23 KB | ########## | 100% colorlog-4.0.2 | 19 KB | ########## | 100% lz4-c-1.9.3 | 179 KB | ########## | 100% jdcal-1.4.1 | 9 KB | ########## | 100% scipy-1.3.0 | 18.8 MB | ########## | 100% ujson-1.35 | 28 KB | ########## | 100% mkl-2022.0.1 | 127.7 MB | ########## | 100% xlrd-1.2.0 | 108 KB | ########## | 100% libopenblas-0.3.12 | 8.2 MB | ########## | 100% regex-2019.05.25 | 365 KB | ########## | 100% pytest-4.5.0 | 354 KB | ########## | 100% libgcc-7.2.0 | 304 KB | ########## | 100% libwebp-base-1.2.2 | 824 KB | ########## | 100% six-1.16.0 | 14 KB | ########## | 100% zipp-3.8.1 | 13 KB | ########## | 100% cffi-1.14.4 | 224 KB | ########## | 100% et_xmlfile-1.0.1 | 11 KB | ########## | 100% liblapack-3.9.0 | 11 KB | ########## | 100% olefile-0.46 | 32 KB | ########## | 100% importlib-metadata-4 | 33 KB | ########## | 100% cudatoolkit-10.1.243 | 427.6 MB | ########## | 100% py-1.11.0 | 74 KB | ########## | 100% backports.functools_ | 9 KB | ########## | 100% wcwidth-0.2.5 | 33 KB | ########## | 100% pydash-4.2.1 | 60 KB | ########## | 100% retrying-1.3.3 | 11 KB | ########## | 100% libgfortran4-7.5.0 | 1.2 MB | ########## | 100% flaky-3.5.3 | 19 KB | ########## | 100% ca-certificates-2022 | 149 KB | ########## | 100% pluggy-0.13.1 | 29 KB | ########## | 100% python-3.7.3 | 35.7 MB | ########## | 100% libtiff-4.2.0 | 590 KB | ########## | 100% typing_extensions-4. | 28 KB | ########## | 100% autopep8-1.4.4 | 38 KB | ########## | 100% psutil-5.6.2 | 320 KB | ########## | 100% openssl-1.1.1o | 2.1 MB | ########## | 100% importlib_metadata-4 | 4 KB | ########## | 100% libcblas-3.9.0 | 11 KB | ########## | 100% pytorch-1.3.1 | 428.0 MB | ########## | 100% python-dateutil-2.8. | 240 KB | ########## | 100% zstd-1.5.0 | 490 KB | ########## | 100% yaml-0.2.5 | 87 KB | ########## | 100% libpng-1.6.37 | 306 KB | ########## | 100% ninja-1.11.0 | 2.8 MB | ########## | 100% attrs-22.1.0 | 48 KB | ########## | 100% coverage-4.5.3 | 216 KB | ########## | 100% pytest-cov-2.7.1 | 17 KB | ########## | 100% certifi-2022.6.15 | 155 KB | ########## | 100% pillow-6.2.0 | 634 KB | ########## | 100% bzip2-1.0.8 | 484 KB | ########## | 100% pyyaml-5.1.2 | 184 KB | ########## | 100% numpy-1.16.3 | 4.3 MB | ########## | 100% atomicwrites-1.4.1 | 12 KB | ########## | 100% jpeg-9e | 268 KB | ########## | 100% pytz-2022.2.1 | 224 KB | ########## | 100% libblas-3.9.0 | 11 KB | ########## | 100% intel-openmp-2022.0. | 4.2 MB | ########## | 100% pycparser-2.21 | 100 KB | ########## | 100% pandas-0.24.2 | 8.6 MB | ########## | 100% pip-19.1.1 | 1.8 MB | ########## | 100% more-itertools-8.14. | 45 KB | ########## | 100% plotly-4.9.0 | 5.8 MB | ########## | 100% pycodestyle-2.5.0 | 36 KB | ########## | 100% pytest-timeout-1.3.3 | 12 KB | ########## | 100% freetype-2.10.4 | 890 KB | ########## | 100% python_abi-3.7 | 4 KB | ########## | 100% backports-1.0 | 4 KB | ########## | 100% openpyxl-2.6.1 | 152 KB | ########## | 100% #11 419.8 Preparing transaction: ...working... done #11 422.4 Verifying transaction: ...working... done #11 425.0 Executing transaction: ...working... By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html #11 436.6 #11 436.6 done #11 437.1 Installing pip dependencies: ...working... Ran pip subprocess with arguments: #11 818.8 ['/root/miniconda3/envs/lab/bin/python', '-m', 'pip', 'install', '-U', '-r', '/root/SLM-Lab/condaenv.u9_zu190.requirements.txt'] #11 818.8 Pip subprocess output: #11 818.8 Collecting box2d-py==2.3.8 (from -r /root/SLM-Lab/condaenv.u9_zu190.requirements.txt (line 1)) #11 818.8 Downloading https://files.pythonhosted.org/packages/87/34/da5393985c3ff9a76351df6127c275dcb5749ae0abbe8d5210f06d97405d/box2d_py-2.3.8-cp37-cp37m-manylinux1_x86_64.whl (448kB) #11 818.8 Collecting cloudpickle==0.5.2 (from -r /root/SLM-Lab/condaenv.u9_zu190.requirements.txt (line 2)) #11 818.8 Downloading https://files.pythonhosted.org/packages/aa/18/514b557c4d8d4ada1f0454ad06c845454ad438fd5c5e0039ba51d6b032fe/cloudpickle-0.5.2-py2.py3-none-any.whl #11 818.8 Collecting colorlover==0.3.0 (from -r /root/SLM-Lab/condaenv.u9_zu190.requirements.txt (line 3)) #11 818.8 Downloading https://files.pythonhosted.org/packages/9a/53/f696e4480b1d1de3b1523991dea71cf417c8b19fe70c704da164f3f90972/colorlover-0.3.0-py3-none-any.whl #11 818.8 Collecting future==0.18.2 (from -r /root/SLM-Lab/condaenv.u9_zu190.requirements.txt (line 4)) #11 818.8 Downloading https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz (829kB) ... ... #11 818.8 Requirement already satisfied, skipping upgrade: zipp>=0.5 in /root/miniconda3/envs/lab/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->click->ray==0.7.0->-r /root/SLM-Lab/condaenv.u9_zu190.requirements.txt (line 8)) (3.8.1) #11 818.8 Requirement already satisfied, skipping upgrade: typing-extensions>=3.6.4; python_version < "3.8" in /root/miniconda3/envs/lab/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->click->ray==0.7.0->-r /root/SLM-Lab/condaenv.u9_zu190.requirements.txt (line 8)) (4.3.0) #11 818.8 Collecting pyasn1>=0.1.3 (from rsa<5,>=3.1.4; python_version >= "3.6"->google-auth<2,>=1.6.3->tensorboard==2.1.1->-r /root/SLM-Lab/condaenv.u9_zu190.requirements.txt (line 10)) #11 818.8 Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB) #11 818.8 Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.1.1->-r /root/SLM-Lab/condaenv.u9_zu190.requirements.txt (line 10)) #11 818.8 Downloading https://files.pythonhosted.org/packages/1d/46/5ee2475e1b46a26ca0fa10d3c1d479577fde6ee289f8c6aa6d7ec33e31fd/oauthlib-3.2.0-py3-none-any.whl (151kB) #11 818.8 Building wheels for collected packages: future, pyopengl, xvfbwrapper, gym, typing, grpcio, MarkupSafe #11 818.8 Building wheel for future (setup.py): started #11 818.8 Building wheel for future (setup.py): finished with status 'done' #11 818.8 Stored in directory: /root/.cache/pip/wheels/8b/99/a0/81daf51dcd359a9377b110a8a886b3895921802d2fc1b2397e #11 818.8 Building wheel for pyopengl (setup.py): started #11 818.8 Building wheel for pyopengl (setup.py): finished with status 'done' #11 818.8 Stored in directory: /root/.cache/pip/wheels/6c/00/7f/1dd736f380848720ad79a1a1de5272e0d3f79c15a42968fb58 #11 818.8 Building wheel for xvfbwrapper (setup.py): started #11 818.8 Building wheel for xvfbwrapper (setup.py): finished with status 'done' #11 818.8 Stored in directory: /root/.cache/pip/wheels/10/f2/61/cacfaf84b352c223761ea8d19616e3b5ac5c27364da72863f0 #11 818.8 Building wheel for gym (setup.py): started #11 818.8 Building wheel for gym (setup.py): finished with status 'done' #11 818.8 Stored in directory: /root/.cache/pip/wheels/57/b0/13/4153e1acab826fbe612c95b1336a63a3fa6416902a8d74a1b7 #11 818.8 Building wheel for typing (setup.py): started #11 818.8 Building wheel for typing (setup.py): finished with status 'done' #11 818.8 Stored in directory: /root/.cache/pip/wheels/2d/04/41/8e1836e79581989c22eebac3f4e70aaac9af07b0908da173be #11 818.8 Building wheel for grpcio (setup.py): started #11 818.8 Building wheel for grpcio (setup.py): still running... #11 818.8 Building wheel for grpcio (setup.py): still running... #11 818.8 Building wheel for grpcio (setup.py): finished with status 'error' #11 818.8 Running setup.py clean for grpcio #11 818.8 Building wheel for MarkupSafe (setup.py): started #11 818.8 Building wheel for MarkupSafe (setup.py): finished with status 'done' #11 818.8 Stored in directory: /root/.cache/pip/wheels/f5/40/34/d60ef965622011684037ea53e53fd44ef58ed2062f26878ce2 #11 818.8 Successfully built future pyopengl xvfbwrapper gym typing MarkupSafe #11 818.8 Failed to build grpcio #11 818.8 Installing collected packages: box2d-py, cloudpickle, colorlover, future, kaleido, opencv-python, pyopengl, typing, funcsigs, click, colorama, flatbuffers, redis, filelock, ray, absl-py, pyasn1, rsa, pyasn1-modules, cachetools, google-auth, markdown, MarkupSafe, werkzeug, charset-normalizer, idna, urllib3, requests, oauthlib, requests-oauthlib, google-auth-oauthlib, grpcio, protobuf, tensorboard, xvfbwrapper, pyglet, gym, pybullet, roboschool, atari-py #11 818.8 Running setup.py install for grpcio: started #11 818.8 Running setup.py install for grpcio: still running... #11 818.8 Running setup.py install for grpcio: still running... #11 818.8 Running setup.py install for grpcio: finished with status 'error' #11 818.8 Pip subprocess error: #11 818.8 ERROR: Complete output from command /root/miniconda3/envs/lab/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-n1qdzi5c/grpcio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-gt9n7xut --python-tag cp37: #11 818.8 ERROR: Found cython-generated files... #11 818.8 running bdist_wheel #11 818.8 running build #11 818.8 running build_py #11 818.8 running build_project_metadata #11 818.8 creating python_build #11 818.8 creating python_build/lib.linux-x86_64-cpython-37 #11 818.8 creating python_build/lib.linux-x86_64-cpython-37/grpc #11 818.8 copying src/python/grpcio/grpc/_channel.py -> python_build/lib.linux-x86_64-cpython-37/grpc #11 818.8 copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.linux-x86_64-cpython-37/grpc ... ... ^ #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/boringssl-with-bazel/src/crypto/base64/base64.c -o python_build/temp.linux-x86_64-cpython-37/third_party/boringssl-with-bazel/src/crypto/base64/base64.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 cc1: warning: command line option ‘-std=c++14’ is valid for C++/ObjC++ but not for C #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc -o python_build/temp.linux-x86_64-cpython-37/third_party/abseil-cpp/absl/strings/internal/str_format/bind.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc -o python_build/temp.linux-x86_64-cpython-37/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-fuchsia.c -o python_build/temp.linux-x86_64-cpython-37/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-fuchsia.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 cc1: warning: command line option ‘-std=c++14’ is valid for C++/ObjC++ but not for C #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-linux.c -o python_build/temp.linux-x86_64-cpython-37/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-linux.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 cc1: warning: command line option ‘-std=c++14’ is valid for C++/ObjC++ but not for C #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-win.c -o python_build/temp.linux-x86_64-cpython-37/third_party/boringssl-with-bazel/src/crypto/cpu-aarch64-win.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 cc1: warning: command line option ‘-std=c++14’ is valid for C++/ObjC++ but not for C #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.c -o python_build/temp.linux-x86_64-cpython-37/third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 cc1: warning: command line option ‘-std=c++14’ is valid for C++/ObjC++ but not for C #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/boringssl-with-bazel/src/crypto/cpu-arm.c -o python_build/temp.linux-x86_64-cpython-37/third_party/boringssl-with-bazel/src/crypto/cpu-arm.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 cc1: warning: command line option ‘-std=c++14’ is valid for C++/ObjC++ but not for C #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m -c third_party/boringssl-with-bazel/src/crypto/cpu-intel.c -o python_build/temp.linux-x86_64-cpython-37/third_party/boringssl-with-bazel/src/crypto/cpu-intel.o -std=c++14 -fvisibility=hidden -fno-wrapv -fno-exceptions -pthread #11 818.8 gcc -pthread -B /root/miniconda3/envs/lab/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER_AGENT_NAME_SUFFIX=\"Python\" -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX=\"1.48.0\" -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 "-DPyMODINIT_FUNC=extern \"C\" __attribute__((visibility (\"default\"))) PyObject*" -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/abseil-cpp -Ithird_party/address_sorting/include -Ithird_party/cares/cares/include -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/re2 -Ithird_party/boringssl-with-bazel/src/include -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated -Ithird_party/xxhash -Ithird_party/zlib -I/root/miniconda3/envs/lab/include/python3.7m #11 818.8 [output clipped, log limit 1MiB reached] #11 818.8 #11 818.8 failed ------ executor failed running [/bin/bash -c . ~/miniconda3/etc/profile.d/conda.sh && conda create -n lab python=3.7.3 -y && conda activate lab && conda env update -f environment.yml && conda clean -y --all && rm -rf ~/.cache/pip]: exit code: 1
issue can be resolved by pulling pyglet out of the apt-get install on line 15, and running a pip install pyglet later in the file; will be submitting a PR for this
apt-get install
pip install pyglet
Describe the bug running docker build hits an error during the build process
To Reproduce
git rev-parse HEAD
to get it): 2890277c8d499dbc925a16bda40acd8c29cb6819spec
file used: unknownAdditional context this appears to be caused by a problem earlier in the Dockerfile, where the python-pyglet package is failing to install.
Error logs