You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting tripped up on trying to make a package that has components where those components are expected to embed specific components of some other package. In the case of boost and boost-python, here's a simplified concrete example of what I'm trying to do:
boost:build contains header.hpp
boost:run contains libwhatever.so.1.2.3, and the "build" component has uses: [run].
The boost-python package is a full build of boost with python stuff enabled at build time, so it's split up into components in a way that mirrors the boost package. But the boost-python "build" component should embed the boost "build" component, likewise the "run" component should embed the boost "run" component.
What I've tried looks like this (boost-python.spk.yaml):
I'm not sure about the embedded entries here and I don't believe this is accomplishing what I'm looking for. For example, I made this extra dummy package:
What's wrong here is that boost:build is not satisfied. This environment doesn't actually have any of the boost[-python] build component's files in it. This environment needs to include boost-python:build to actually satisfy dummy's requirements. The presence of boost/=1.76.0+r.3/embedded appears to satisfy the solver but the environment is missing required files.
The text was updated successfully, but these errors were encountered:
Maybe get this into a solver test? I would put my money on this just not being supported - I don't think that I fully explored the connection between components and embedded packages when that feature went in
I'm getting tripped up on trying to make a package that has components where those components are expected to embed specific components of some other package. In the case of boost and boost-python, here's a simplified concrete example of what I'm trying to do:
boost:build contains header.hpp
boost:run contains libwhatever.so.1.2.3, and the "build" component has
uses: [run]
.The boost-python package is a full build of boost with python stuff enabled at build time, so it's split up into components in a way that mirrors the boost package. But the boost-python "build" component should embed the boost "build" component, likewise the "run" component should embed the boost "run" component.
What I've tried looks like this (boost-python.spk.yaml):
I'm not sure about the
embedded
entries here and I don't believe this is accomplishing what I'm looking for. For example, I made this extra dummy package:Note that it specifically depends on the "build" component of boost.
Then, I do this contrived thing:
spk env -vv dummy boost-python:run
. I ask for the dummy package and boost-python:run.It solves and I get an environment like this:
What's wrong here is that boost:build is not satisfied. This environment doesn't actually have any of the boost[-python] build component's files in it. This environment needs to include
boost-python:build
to actually satisfy dummy's requirements. The presence ofboost/=1.76.0+r.3/embedded
appears to satisfy the solver but the environment is missing required files.The text was updated successfully, but these errors were encountered: