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
{{ message }}
Repository navigation
presence of dynamic packages leads to linking error during leeway exec #100
This is actually caused by the "dynamic existence" of installer/preview:docker. It only exists when the right arguments are passed at linking stage
In the dynamic component (here) I had ensured that I created a package with the same name in either case as an attempt to avoid this situation. So I thought that there might be a bug in Leeway where dynamic components weren't evaluated in all conditions. I tried to make a minimal example here but I haven't been able to reproduce the bug yet.
This is actually caused by the "dynamic existence" of installer/preview:docker. It only exists when the right arguments are passed at linking stage
In the dynamic component (here) I had ensured that I created a package with the same name in either case as an attempt to avoid this situation.
That's smart!
Actually in that case I'd prefer not to merge #103, just to not add this complexity needlessly.
So I thought that there might be a bug in Leeway where dynamic components weren't evaluated in all conditions. I tried to make a minimal example here but I haven't been able to reproduce the bug yet.
I just tried to reproduce using the steps described by Gero. I have not been able to reproduce this either.
Random thought: this might be some odd dependency on the order of a map. Just thinking that because that's the only thing introducing non-determinism in the linking process.
Activity
csweichel commentedon Sep 29, 2022
This is actually caused by the "dynamic existence" of
installer/preview:docker. It only exists when the right arguments are passed at linking stage.Options:
Make
components:alldynamic.Doesn't require a leeway change, but significantly increases the complexity of our build set up because we have to duplicate conditions.
Add optional dependencies which are ignored if they're not present
For example (notice the ?) at the end:
mads-hartmann commentedon Sep 29, 2022
In the dynamic component (here) I had ensured that I created a package with the same name in either case as an attempt to avoid this situation. So I thought that there might be a bug in Leeway where dynamic components weren't evaluated in all conditions. I tried to make a minimal example here but I haven't been able to reproduce the bug yet.
csweichel commentedon Sep 29, 2022
That's smart!
Actually in that case I'd prefer not to merge #103, just to not add this complexity needlessly.
I just tried to reproduce using the steps described by Gero. I have not been able to reproduce this either.
Random thought: this might be some odd dependency on the order of a map. Just thinking that because that's the only thing introducing non-determinism in the linking process.