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

[golang.cgo_tool_search_paths] started throwing on <ASDF> and <ASDF_LOCAL> placeholders #21813

Open
jgranstrom opened this issue Jan 8, 2025 · 0 comments
Labels

Comments

@jgranstrom
Copy link
Contributor

jgranstrom commented Jan 8, 2025

Describe the bug
<ASDF> and <ASDF_LOCAL> placeholders for system paths in pants.toml at [golang.cgo_tool_search_paths] started breaking recently. I think it might have been around here e891b87.

I understand it's not supposed to be supported there but it went from being ignored to throwing, and the error is not describing which configuration is the culprit, and many could reference <ASDF>.

Can we improve the error message or otherwise include the fact in the changelog possibly?

Pants version
main branch, ~2.25

OS
MacOS

Additional info

native_engine.IntrinsicError: path_metadata_request error: path for PathNamespace.SYSTEM must an absolute path. Instead, got `<ASDF>`
@jgranstrom jgranstrom added the bug label Jan 8, 2025
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

1 participant