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

[clang][ExtractAPI] show error message for not found SwiftSyntaxMacroMap during Docc build #9079

Open
eunryu93 opened this issue Aug 8, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@eunryu93
Copy link

eunryu93 commented Aug 8, 2024

Description

[Prerequisites]
using TCA Library, ver1.12.1

[step]
1] Delete derived data, using this command

  • rm -rf ~/Library/Developer/Xcode/DerivedData

2] project clean 3] Docc Build -> Product -> Build Documentation

[result]
Build Faild with this message.

fetal error: module map file '~~/GenerateModuleMaps-iphoneos/SwiftSyntaxMacros.modulemap' not found

clang error: unable to execute command: Segmentation fault: 11
clang error: clang fronted command failed due to signal

Help me....

Steps to Reproduce

[Prerequisites]
using TCA Library, ver1.12.1

[step]
1] Delete derived data, using this command

  • rm -rf ~/Library/Developer/Xcode/DerivedData

2] project clean 3] Docc Build -> Product -> Build Documentation

[result]
Build Faild with this message.

fetal error: module map file '~~/GenerateModuleMaps-iphoneos/SwiftSyntaxMacros.modulemap' not found

clang error: unable to execute command: Segmentation fault: 11
clang error: clang fronted command failed due to signal

@eunryu93 eunryu93 added the bug Something isn't working label Aug 8, 2024
@ahoppen
Copy link
Member

ahoppen commented Aug 8, 2024

Synced to Apple’s issue tracker as rdar://133432695

@eunryu93
Copy link
Author

eunryu93 commented Aug 8, 2024

@ahoppen oh.. I try finded issue for apple developer forums, but I don't finded issue content...
so.. Could you please give me the URL for that content?

@ahoppen
Copy link
Member

ahoppen commented Aug 8, 2024

The comment was automated that this GitHub issue was synced to Apple’s internal issue tracker. There was no action necessary from you.

The issue appears to be in docc because docc shouldn’t cause a crash, independent of swift-syntax. I’m moving the issue to that repo.

@ahoppen ahoppen transferred this issue from swiftlang/swift-syntax Aug 8, 2024
@d-ronnqvist
Copy link

d-ronnqvist commented Aug 9, 2024

This error happens before DocC is ever invoked. It looks like it's the clang -extract-api command that fails with an error.

@d-ronnqvist d-ronnqvist changed the title [DocC] show error message for not found SwiftSyntaxMacroMap during Docc build [clang][ExtractAPI] show error message for not found SwiftSyntaxMacroMap during Docc build Aug 9, 2024
@d-ronnqvist d-ronnqvist transferred this issue from swiftlang/swift-docc Aug 9, 2024
@d-ronnqvist
Copy link

cc @daniel-grumberg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants