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

Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed #1407

Closed
dabrahams opened this issue Nov 11, 2024 · 2 comments
Labels

Comments

@dabrahams
Copy link

For about the last 2 months, my Jazzy CI jobs are failing with:

Using config file /Users/runner/work/hylo/hylo/.jazzy.yml
Running swift build
Parsing FullPathInFatalErrors.swift (1/2)
SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed
/opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/executable.rb:39:in `execute_command': /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/bin/sourcekitten ["doc", "--spm", "--module-name", "hc", "--"] (RuntimeError)

Running swift build

Parsing FullPathInFatalErrors.swift (1/2)

SourceKittenFramework/library_wrapper.swift:58: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/sourcekitten.rb:2[29](https://github.com/hylo-lang/hylo/actions/runs/11767142239/job/32775492599#step:10:30):in `run_sourcekitten'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:83:in `block (2 levels) in build'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:81:in `chdir'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:81:in `block in build'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:71:in `map'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/lib/jazzy/doc_builder.rb:71:in `build'
	from /opt/homebrew/lib/ruby/gems/3.0.0/gems/jazzy-0.15.3/bin/jazzy:16:in `<top (required)>'
	from /opt/homebrew/lib/ruby/gems/3.0.0/bin/jazzy:25:in `load'
	from /opt/homebrew/lib/ruby/gems/3.0.0/bin/jazzy:25:in `<main>'
Error: Process completed with exit code 1.

Ideas?

@johnfairh
Copy link
Collaborator

I guess still #1391 (comment) - the swift.org toolchain installed in CI does not include the right dylibs.

@johnfairh johnfairh added the help label Nov 12, 2024
@dabrahams
Copy link
Author

Yes, upgrading my GH runner to macos-15 fixes the problem, thanks.

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

No branches or pull requests

2 participants