You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by "nanonyme (via GitHub)" <gi...@apache.org> on 2025/03/15 19:38:45 UTC
[I] BuildStream fails to build if there are multiple dependencies with same target [buildstream]
nanonyme opened a new issue, #2002:
URL: https://github.com/apache/buildstream/issues/2002
It was noticed through https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/tree/nanonyme/repro?ref_type=heads that when any element has multiple dependencies that are links with same target, the element will silently not build and it will not be checkoutable since it has not been built.
Deduplication happens correctly with bst show for build-depends, runtime-depends and depends. Full cache key is also identical with one link element and three link elements with same target.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BuildStream fails to build if there are multiple link dependencies with same target [buildstream]
Posted by "juergbi (via GitHub)" <gi...@apache.org>.
juergbi closed issue #2002: BuildStream fails to build if there are multiple link dependencies with same target
URL: https://github.com/apache/buildstream/issues/2002
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BuildStream fails to build if there are multiple link dependencies with same target [buildstream]
Posted by "juergbi (via GitHub)" <gi...@apache.org>.
juergbi closed issue #2002: BuildStream fails to build if there are multiple link dependencies with same target
URL: https://github.com/apache/buildstream/issues/2002
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BuildStream fails to build if there are multiple dependencies with same target [buildstream]
Posted by "nanonyme (via GitHub)" <gi...@apache.org>.
nanonyme commented on issue #2002:
URL: https://github.com/apache/buildstream/issues/2002#issuecomment-2726960716
Example output
```
===============================================================================
[--:--:--][aa497071][ pull:components/bpf.bst ] START freedesktop-sdk/components-bpf/aa497071-pull.20250315-214036.log
[--:--:--][aa497071][ pull:components/bpf.bst ] STATUS Pulling artifact aa497071 <- https://cache.freedesktop-sdk.io:11001
[--:--:--][aa497071][ pull:components/bpf.bst ] INFO Remote (https://cache.freedesktop-sdk.io:11001) does not have artifact aa497071 cached
[00:00:00][aa497071][ pull:components/bpf.bst ] SKIPPED Pull
[00:00:27][ ][ main:core activity ] SUCCESS Build
Pipeline Summary
Total: 107
Session: 107
Pull Queue: processed 0, skipped 56, failed 0
Fetch Queue: processed 0, skipped 56, failed 0
Build Queue: processed 0, skipped 55, failed 0
```
This is in multiple levels wrong. Even if BuildStream fails to build something, it needs to notice it failed to build it and list it in failed builds.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BuildStream fails to build if there are multiple link dependencies with same target [buildstream]
Posted by "harrysarson (via GitHub)" <gi...@apache.org>.
harrysarson commented on issue #2002:
URL: https://github.com/apache/buildstream/issues/2002#issuecomment-3557428411
We have found that replacing `kind: link` elements with `kind: stack` elements is a work around for this bug
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BuildStream fails to build if there are multiple link dependencies with same target [buildstream]
Posted by "nanonyme (via GitHub)" <gi...@apache.org>.
nanonyme commented on issue #2002:
URL: https://github.com/apache/buildstream/issues/2002#issuecomment-3557525881
Sure, but link is a new BuildStream 2 construct and without fixing this bug it's not very usable at that. Stacks are still regarded as unique entities while BuildStream is supposed to transplant links in deptree with origin element. It doesn't seem to be working correctly right now. We do yave
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] BuildStream fails to build if there are multiple link dependencies with same target [buildstream]
Posted by "nanonyme (via GitHub)" <gi...@apache.org>.
nanonyme closed issue #2002: BuildStream fails to build if there are multiple link dependencies with same target
URL: https://github.com/apache/buildstream/issues/2002
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org