build icon indicating copy to clipboard operation
build copied to clipboard

build fails to find the cmake dependency

Open yurivict opened this issue 3 years ago • 3 comments

While trying to build the Z3 project build fails:

ERROR Missing dependencies:
	cmake

cmake is an executable that is installed. Why doesn't build find it?

yurivict avatar Aug 06 '22 21:08 yurivict

On what system and with what pip options? Build should be building in a dedicated temporary environment and getting the PyPA package for CMake. Which should work.

henryiii avatar Aug 06 '22 21:08 henryiii

System is FreeBSD 13.1

The build command is:

/usr/local/bin/python3.9 -m build --wheel --no-isolation --outdir /disk-samsung/freebsd-ports/math/py-z3-solver/work

It is run in the source directory.

yurivict avatar Aug 06 '22 21:08 yurivict

You need to add --skip-dependency-check. It’s opt-out on build and opt-in on pip. That’s looking for the Python package but FreeBSD isn’t able to get wheels.

henryiii avatar Aug 07 '22 00:08 henryiii