Skip to content

Circular Dependency Issue for swift-macro-toolkit #26

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

Closed
TheConnorJohnson opened this issue Mar 24, 2025 · 2 comments
Closed

Circular Dependency Issue for swift-macro-toolkit #26

TheConnorJohnson opened this issue Mar 24, 2025 · 2 comments

Comments

@TheConnorJohnson
Copy link

I ran into an issue when building the SwiftCrossUI template for Swift-Bundler on the Fedora distro of Linux. When I ran the command

swift-bundler run

it works up until doing a debug build for swift-macro-toolkit.

It reads the following error:

warning: 'swift-macro-toolkit': 'swift-macro-toolkit' dependency on 'https://github.com/swiftlang/swift-syntax.git' 
conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this 
will be escalated to an error in future versions of SwiftPM.

warning: circular dependency detected while parsing gtk+-3.0: harfbuzz -> freetype2 -> harfbuzz

It seems to be an issue with gtk3.

@stackotter
Copy link
Owner

Oh weird, does the compiler print out any errors? Cause the first warning is fine to ignore for now, and the second doesn't really say much either (could be safe to ignore).

If the error is related to the second warning then it sounds like a Fedora-specific issue with your system's Gtk3 pkg-config files.

@TheConnorJohnson
Copy link
Author

Similar issue was reported over on Swift Cross UI Issue 120 and solved.

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

No branches or pull requests

2 participants