Skip to content
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

Facing issues when using in a remote exec environment #2

Closed
tinder-maxwellelliott opened this issue Jul 26, 2021 · 2 comments · Fixed by #6
Closed

Facing issues when using in a remote exec environment #2

tinder-maxwellelliott opened this issue Jul 26, 2021 · 2 comments · Fixed by #6

Comments

@tinder-maxwellelliott
Copy link

tinder-maxwellelliott commented Jul 26, 2021

First and foremost, thank you for making this! It has been a wonderful addition to our build.

When testing in a remote exec environment, I am getting DYLIB loading failures. I cannot repro this when using caching or local execution:

dyld: loaded: <89CF8E71-A978-340D-B9CC-BABBFD6E2B1E> /Users/maxwell.elliott/buildbuddy/remote_build/08e53c47-afb5-4f61-bf7e-406df92386c9/bazel-out/host/bin/external/mockolo/mockolo
dyld: loaded: <B3812B86-4FCF-3A10-8866-DF67940A974C> /usr/lib/libc++.1.dylib
RPATH failed expanding     @rpath/lib_InternalSwiftSyntaxParser.dylib to: /Users/maxwell.elliott/buildbuddy/remote_build/08e53c47-afb5-4f61-bf7e-406df92386c9/bazel-out/host/bin/external/mockolo/../../_solib_darwin_x86_64/_U@com_Ugithub_Ukeith_Uswift_Usyntax_S_S_Clibrary___U/lib_InternalSwiftSyntaxParser.dylib
RPATH failed expanding     @rpath/lib_InternalSwiftSyntaxParser.dylib to: /usr/lib/swift/lib_InternalSwiftSyntaxParser.dylib
dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib
  Referenced from: /Users/maxwell.elliott/buildbuddy/remote_build/08e53c47-afb5-4f61-bf7e-406df92386c9/bazel-out/host/bin/external/mockolo/mockolo
  Reason: image not found
/bin/bash: line 1: 47428 Abort trap: 6           DYLD_PRINT_RPATHS=true DYLD_PRINT_LIBRARIES=true bazel-out/host/bin/external/mockolo/mockolo 

Adding this as a tracking issue, I hope to make a repro repo soon for this

@keith
Copy link
Owner

keith commented Aug 10, 2021

This is interesting: bazelbuild/bazel#13819

@keith
Copy link
Owner

keith commented Aug 20, 2021

We see this on remote exec as well

keith added a commit that referenced this issue Feb 10, 2022
keith added a commit that referenced this issue Feb 10, 2022
@keith keith closed this as completed in #6 Feb 11, 2022
keith added a commit that referenced this issue Feb 11, 2022
This now uses keith/StaticInternalSwiftSyntaxParser instead of trying to use a dylib

Fixes #2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants