-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Can xbps-src work around runtime cyclic dependencies instead of requiring manually split templates? #20438
Comments
I think |
but it's not a real build cycle... building all dependencies (runtime too) first is probably simpler but not the best solution imho. My proposal seems simple enough, why is it bad? Splitting packages is also a not very elegant workaround, they must be kept in sync manually and such... |
st3r4g@39916d1 |
@st3r4g: When dependencies are build after desired package is indexed, and some transitive dependency fail to build, one end up with non-installable package and no easy way to build just what is missing. Currently, it is enough to fix failing package and build desired package again. Complete solution may need a temporary area of packages visible to xbps-src, but not indexed yet. |
Exactly, the index must be updated only after all runtime dependencies are built successfully. In void-linux/xbps#259 (comment) a new tool was proposed to handle proper indexing of packages (in a multi-repo aware way). So if such tool is made, we can postpone building runtime deps and let the new tool do the shlibs checks and rundeps checks, so that repo index has always installable packages. |
Still an issue, have just renamed. |
We have a new cyclic dependency:
pinentry
->gcr
->gnupg2
->pinentry
The dependency is just a runtime dependency yet it prevents a bootstrapped arch (armv5tel here) from successfully breaking out of the cycle. Can we perhaps prevent runtime
depends=…
from creating such cycles?The text was updated successfully, but these errors were encountered: