-
Notifications
You must be signed in to change notification settings - Fork 449
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
Log full of "Invalid variable reference" on Fedora 34 #1841
Comments
Thank you for opening this report. I am not sure yet what happens. Is your project easy to share? |
I didn't think about the possibility it could be project-specific.
This is a brand new installation. Fedora 34 was release only last week. So... no idea what happened, but I didn't back up ~/.config/Code or ~/.vscode/ so I can't reproduce the problem any more. I will close the issue. |
Forget what I said. This simple project reproduces the issue:
The issue starts the second I select the configure preset in VSCode. |
Do you have ${which_declare} anywhere in your project json files? |
Sorry, I don't understand the question. What do you mean by "your project json files"? |
I thought you didn't share parts of the project and that you were invoking some variables that would cause those fragments of log during their expansion. Good to know that you don't reference such variables and even better that the whole project consists of only those 2 files. We have enough to investigate, thank you. |
FWIW the issue is still there in v1.8.2-a6cbd35 |
This issue is indeed related to https://src.fedoraproject.org/rpms/which/c/98662a9c460f663b1bef1887cfd28c6f7f1bfe5f?branch=f34 ExplanationIn What is a good solution for this? I dislike that Fedora is doing alias hacks, but I also dislike that cmake-tools performs expansion on all available environmental variables. |
This issue is now marked as 'stale-old' due to there being no activity on it for the past 720 days. Unless the 'stale-old' label is removed or the issue is commented on, this will be remain open for at least 14 days and then it may be closed. If you would like to make this issue exempt from getting stale, please add the 'stale-exempt' label. |
It may be related to https://src.fedoraproject.org/rpms/which/c/98662a9c460f663b1bef1887cfd28c6f7f1bfe5f?branch=f34, not sure. But the thing is that Fedora has https://src.fedoraproject.org/rpms/which/blob/f34/f/which2.sh in /etc/profile.d/which2.sh. AFAICT it works fine:
But the thing is that my CMake/Build log is full of this stuff:
No idea how it got there.
The text was updated successfully, but these errors were encountered: