-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[related:7120] self.deps_user_info and/or self.env_info not working with build & host profiles combo #7203
Comments
@jsgogo This does look like the issue we talked about with the android_ndk_installer recipe, right? |
Hi! Yes, this is totally related to #7120 and the information we want (we need) to propagate from the build context to the host one... It was a conscious decision not to propagate So, right now, this is by design, but it has to be analyzed carefully and we might make this information accessible from the other contexts. We need to think about how to do it. The problem is not straightforward with the model we have right now. for example: in the graph you can have now the same package in the host context and in the build context ( |
I have to admit I didn't realize about |
It is not exactly 100% the same problem, but probably the solution will be pretty similar. |
Thanks for looking into this! |
Closing this issue as outdated:
|
Environment Details
Steps to reproduce
1. Create a build-context and a host-context profile
Sample: build-context profile:
build/linux64
:Sample: host-context profile:
native64
:2. Create a simple package and a test-package, that propagates a
self.user_info
and/orself.env_info
variable(s) from the package -> test-package.Sample: Package recipe
Sample: Test package recipe
3. Try to create the package with the build & host context profiles:
4. Failure
Either you get an
AttributeError
foruser_info
or aKeyError
forenv_info
...Logs
The text was updated successfully, but these errors were encountered: