Closed MagicalTux closed 9 months ago
It looks like possibly an issue with the include paths. Is there something adding /pkg/main/sys-libs.glibc.dev.linux.amd64/include
to the search path? Can you provide a complete reproduction, including the system you are running on, the environment, the config.toml
build settings, etc.?
OK so the issue is that glibc is in normal includes instead of being in system includes. Thanks, this actually helps a lot and confirms this isn't an issue with this package (I'm still not sure why LIBGIT2_NO_VENDOR=1
has no effect but I guess that's something inside rust's build process) so I'll be closing this issue (sorry for this and thank you, I've been trying to get rust to build for more than a year now and I was blanking on this specific issue).
Trying to compile rust itself and it looks like
export LIBGIT2_NO_VENDOR=1
does nothing, the build fails with:How can this be solved? I'm guessing newer version of libgit2 would help, or alternatively using system libgit2, however it looks like running
x.py build
somehow always attempts to build libgit2.