facebookresearch / facebookresearch/dlrm

Docker Build failing

Open
#373 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.1k
Forks
859
PR merge metrics
No merged PRs in 30d

Description

Running docker build on this repo fails

[3/6] RUN pip install -r requirements.txt:
7 2.610 Collecting future (from -r requirements.txt (line 1))
7 3.026 Downloading https://files.pythonhosted.org/packages/8f/2e/cf6accf7415237d6faeeebdc7832023c90e0282aa16fd3263db0eb4715ec/future-0.18.3.tar.gz (840kB)
7 5.126 Requirement already satisfied: numpy in /opt/conda/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (1.17.2)
7 5.161 Collecting onnx (from -r requirements.txt (line 3))
7 5.621 Downloading https://files.pythonhosted.org/packages/8f/71/1543d8dad6a26df1da8953653ebdbedacea9f1a5bcd023fe10f8c5f66d63/onnx-1.14.1.tar.gz (11.3MB)
7 16.23 Installing build dependencies: started
7 23.24 Installing build dependencies: finished with status 'done'
7 23.24 Getting requirements to build wheel: started
7 23.96 Getting requirements to build wheel: finished with status 'error'
7 23.96 ERROR: Command errored out with exit status 1:
7 23.96 command: /opt/conda/bin/python /opt/conda/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp7jnw462n
7 23.96 cwd: /tmp/pip-install-ylpvvqkf/onnx
7 23.96 Complete output (19 lines):
7 23.96 fatal: Not a git repository (or any of the parent directories): .git
7 23.96 Traceback (most recent call last):
7 23.96 File "/opt/conda/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in
7 23.96 main()
7 23.96 File "/opt/conda/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
7 23.96 json_out['return_val'] = hook(**hook_input['kwargs'])
7 23.96 File "/opt/conda/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
7 23.96 return hook(config_settings)
7 23.96 File "/tmp/pip-build-env-racybm4e/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 163, in get_requires_for_build_wheel
7 23.96 config_settings, requirements=['wheel'])
7 23.96 File "/tmp/pip-build-env-racybm4e/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 143, in _get_build_requires
7 23.96 self.run_setup()
7 23.96 File "/tmp/pip-build-env-racybm4e/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 268, in run_setup
7 23.96 self).run_setup(setup_script=setup_script)
7 23.96 File "/tmp/pip-build-env-racybm4e/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 158, in run_setup
7 23.96 exec(compile(code, __file__, 'exec'), locals())
7 23.96 File "setup.py", line 85, in
7 23.96 assert CMAKE, "Could not find cmake executable!"
7 23.96 AssertionError: Could not find cmake executable!
7 23.96 ----------------------------------------
7 24.74 ERROR: Command errored out with exit status 1: /opt/conda/bin/python /opt/conda/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp7jnw462n Check the logs for full command output.
------
executor failed running [/bin/sh -c pip install -r requirements.txt]: exit code: 1

Contributor guide

Open the contributing guide

Research direction

Run docker build to reproduce the failure, then read requirements.txt around the onnx dependency and the reported pip output. Done means the repository image builds successfully past pip install without the missing-cmake error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, docker, python
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.