-
Notifications
You must be signed in to change notification settings - Fork 469
SR-6084: libdispatch.so missing from snapshot builds #313
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
Conversation
Adjust install path for libdispatch in CMakelists.txt
Seems to fix https://bugs.swift.org/browse/SR-6084 for me (but I am not a buildbot ;) ) |
@shahmishal, how would you suggest testing that this fixes installable toolchains on Linux? (which currently don't get libdispatch copied into them). |
Well, that still didn't test the installable package part, but it didn't make any of the existing parts worse. Do you think we should run that preset explicitly, or just merge this? |
I'd suggest just to merge it and check the next nightly snapshot tar ball to be sure it is fixed. I manually ran something closely derived from the linux-buildbot config and verified that libdispatch.so was in the expected plan in the produced tarball. So I really do expect this to fix the problem, but since I can't exactly reproduce the build machine environment, I could have missed something. |
All right, makes sense. |
Mishal, does it make sense to kick off a middle-of-the-day package build so we can see if it worked? Or should we just wait until tomorrow/Monday? |
@dgrove-oss @compnerd We are still seeing test failure: https://bugs.swift.org/browse/SR-6123
|
@shahmishal I think that is a different issue. Looks like the Foundation module is failing to be built due to the headers missing. Can we get a verbose trace of that build? I suspect that the path being used for building the module is incorrect or that headers are being copied in a weird way. This would be easier to understand if the Foundation build system was also done similar to the rest of swift/libdispatch so that everything could be tied together with dependency tracking. |
@compnerd Thanks I will keep bug open https://bugs.swift.org/browse/SR-6123. What about this error? https://ci.swift.org/job/swift-protobuf-linux-ubuntu-16_10/14/console
|
@shahmishal , that error is pretty interesting. It implies that the |
Why would it mean that, rather than simply that libdispatch.so isn't being installed? |
@jrose-apple oh it could absolutely be that too. However, cmake will build binaries with a rpath for testing purposes and then adjust them at install time. So, that was the first thing which came to mind. The |
SR-6084: libdispatch.so missing from snapshot builds Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
Adjust install path for libdispatch in CMakelists.txt