-
Notifications
You must be signed in to change notification settings - Fork 18
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
v0.5.9-rc2 breaks tar2files (ldd) targets on crossbuilds #69
Comments
Same error also occurs when building kubevirt for aarch64 on x86 from the main branch, using bazeldnf v0.5.9-rc2 |
My immediate suspicion would be 5b26a65. @andreabolognani FYI. |
That's the only actual logic change we have in 0.5.9 (and was the reason for not staying on 0.5.8). |
I need to finish some stuff before the weekend so I won't have time to dig into this until next week, but from a quick look I don't immediately see an obvious connection between my change and the failure you're experiencing. The list of changes is pretty damning though... :) If someone else has the time to do it before I get a chance, it would be interesting to compare how v0.5.9-rc1 and v0.5.9-rc2 behave, both when used on KubeVirt's main branch and the s390x branch, when cross-building for aarch64. |
Not sure either if I will find the time, but hope so. A nice scoped problem to solve :) |
I can try out rc-1 today, though it might take a while since i can't use the cache as it might have cached a successful build before (happened already once...) |
rc-1 also has the same error. Though i also don't want to loose 5b26a65, since i was the one running into the problem in the first place. |
Yeah, it's always a good idea to clean everything up when testing this kind of stuff. I've been bitten by that before. I'm also looking into it now, but can you please give a summary of what works and what doesn't based on your own testing? That'll speed up things a bit. |
Works:
I used the kubevirt main branch and cross-compiling aarch64 for all tests. |
Okay. I assume native compilation worked though? |
Yes, native worked. But that is most likely because the builder image has libvirt-dev installed. So it does not need the includes from bazeldnf |
Right. Ideally that wouldn't be present but IIUC KubeVirt wants to also be buildable without Bazel. Pretty silly IMO but I don't make the rules :) |
I have figured out the issue. More details here. |
Since v0.5.9 is now released, i think we can close this. @rmohr I can add this change to the docs if you point me to where it should be added. |
Not sure wich entries specifically you refer to. Some are auto-update (which contain the version). The rest is just written into the README.md. |
In kubevirt/kubevirt#11106, the changes to |
When upgrading to bazeldnf v0.5.9-rc2 cross building for different arches fails to find included header files.
I specifically tested this when building kubevirt with kubevirt/kubevirt#10490:
This only happens when crosscompiling, most likely because the libraries are otherwise natively installed.
I could verify that the referenced PR works fine with bazeldnf v0.5.8, so the error is introduced somewhere afterwards.
The text was updated successfully, but these errors were encountered: