Skip to content

Docker image build failing pip install on windows #1321

@Mario1159

Description

@Mario1159

Building the image fails on pip install building the ILP Solver Interface without printing a detailed error.
I am currently building the image like this on master branch:

ALIGN-public> docker build -t align -f .\docker\dockerfile .

Also tried doing pip install locally (outside the docker image) without luck.
Building the ILP Solver Interface manually from its own repository works ok.

ILPSolverInterface> cmake -B build .
ILPSolverInterface> cmake --build build

Log of the error section, this should be reproducible building the image though not sure why the workflow build pass.

284.0   configure: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting
284.0   configure: Configuration of Cbc successful
284.0   configure: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting
284.0   configure: Main configuration of Cbc successful
284.0   ninja: build stopped: subcommand failed.
284.0
284.0   Traceback (most recent call last):
284.0     File "/tmp/pip-build-env-4s9zh0l6/overlay/local/lib/python3.10/dist-packages/skbuild/setuptools_wrap.py", line 674, in setup
284.0       cmkr.make(make_args, install_target=cmake_install_target, env=env)
284.0     File "/tmp/pip-build-env-4s9zh0l6/overlay/local/lib/python3.10/dist-packages/skbuild/cmaker.py", line 697, in make
284.0       self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
284.0     File "/tmp/pip-build-env-4s9zh0l6/overlay/local/lib/python3.10/dist-packages/skbuild/cmaker.py", line 742, in make_impl
284.0       raise SKBuildError(msg)
284.0
284.1   An error occurred while building with CMake.
284.1     Command:
284.1       /tmp/pip-build-env-4s9zh0l6/overlay/local/lib/python3.10/dist-packages/cmake/data/bin/cmake --build . --target install --config Release --
284.1     Install target:
284.1       install
284.1     Source directory:
284.1       /ALIGN-public
284.1     Working directory:
284.1       /ALIGN-public/_skbuild/linux-x86_64-3.10/cmake-build
284.1   Please check the install target is valid and see CMake's output for more information.
284.1
285.0   error: subprocess-exited-with-error
285.0
285.0   × Building wheel for align (pyproject.toml) did not run successfully.
285.0   │ exit code: 1
285.0   ╰─> See above for output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions