-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
dev: gen cgo
does not make jemalloc.h
available
#85362
Comments
@erikgrinaker Can you |
I'll try to repro this and see if I can make any hay. |
I can reproduce this by running
The include directory does not exist:
It looks like the hashed directory does not exist:
In fact, there is no
Now, after doing this, I pulled master again, ran
I don't know specifically how it gets into this broken state, but when it does, running |
I've seen this and looked at it but can't for the life of me figure it out, one "workaround" is to put "build --force_build_cdeps" in your .bazelrc and build and it will build it instead of downloading it from gs. What I haven't figured out is how the include gets dropped in the first place or how to repair it from the gs archive. |
Thanks for looking into this @cucaroach. I wouldn't spend too much time on it, I can ping you again the next time it happens and we can poke at it live. I should be able to get it working again anyway. |
I'm using gopls via VSCode on a gceworker (Linux). Often, it complains about not finding
jemalloc.h
, despite having rundev gen cgo go
. If I runmake buildshort
, the problem goes away. Any idea what's going on here?Jira issue: CRDB-18204
Epic CRDB-17171
The text was updated successfully, but these errors were encountered: