Open Cynical-Optimist opened 4 years ago
In GitLab by [Gitlab user @abderrahimk] on Jul 26, 2018, 22:47
changed the description
In GitLab by [Gitlab user @tristanvb] on Aug 5, 2018, 10:28
mentioned in commit 27f2bb210dcbd409b033e8260911061fa3b975e0
In GitLab by [Gitlab user @cs-shadow] on Oct 10, 2019, 17:43
[Gitlab user @willsalmon] I'm not sure if I understand this correctly. Seems to like the checksums in the bst file don't match what's being returned by the server. I am not sure what BuildStream needs to do differently?
In GitLab by [Gitlab user @willsalmon] on Nov 11, 2019, 10:33
[Gitlab user @cs-shadow], the issue is that because the miss match is inside the junction, it make everything very tricky to fix.
One solution is to make a workspace and then update inside there.
I am not sure if we can currently run bst source track workspace:workspacedelement.bst
but if that is what is needed it is not clear to a new user to run such a thing.
In GitLab by [Gitlab user @BenjaminSchubert] on Nov 11, 2019, 10:43
If the junction you depend on isn't correct, you can always use patch
or quilt
to add the the changes you want to apply on top.
This has the advantage of keeping the junction unmodified and will fail to apply once it has been fixed upstream.
My usual workflow for that is:
bst workspace open junction.bst
# iterate over the junction until it is correct and generate the quilt patches out of it
# copy the quilt patches directory to my own project
# register a local source on the junction pointing to the patches
# register a quilt source
bst workspace close --remove-dir junction.bst
# Everything works!
In GitLab by [Gitlab user @willsalmon] on Nov 11, 2019, 10:50
[Gitlab user @BenjaminSchubert] this work flow seems sensible to me.
But if this is what we are recommending then i think this should be included in the doc's in a way that is accessible to new users. And that the error message should be much more helpful, maybe pointing to the new docs.
[Gitlab user @cs-shadow] I think this issue could be resolved by a Doc patch detailing the above workflow, and ideally also updating the error message.
In GitLab by [Gitlab user @cs-shadow] on Nov 11, 2019, 10:51
Just to note - bst source track workspace:workspacedelement.bst
can work currently, however only if the project is using project.refs ref-storage. This is certainly a limitation of BuildStream.
That said, I do agree that we can improve our documentation in the meantime, while we don't have that feature.
See original issue on GitLab In GitLab by [Gitlab user @willsalmon] on Jul 26, 2018, 18:04
Summary
There seems to be a issue with junctions.
Steps to reproduce
I clone https://gitlab.com/willsalmon/buildstream-kicad
I run: bst track kicad.bst bst build kicad.bst
Interestingly if you track the junctions before running
Then you get different errors.
What is the current bug behavior?
Bst exits because that the ref's do not match.
What is the expected correct behavior?
It should down load all of the dependencies and try to build them
(I dont think the project will build atm but it should at least try. And it is not getting close.)
Relevant logs and/or screenshots
https://hastebin.com/odegehogaq.md
Other relevant information