-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
path too long #32684
Comments
@wjiangsheng, Does this issue still persist when you use a shorter vcpkg path? For example: use |
Sure, no problem anymore. |
I have the same problem, but moving vcpkg to c:\ doesn't solve it |
Please provide your error log. |
should do the trick. Though if you use manifest mode, you might want to pass You can also attempt enabling long path support on your system and then removing the line aborting the build from the the vcpkg port and giving it a try. When I tried it the last time it failed though as something in the build toolchain failed to generate / extract a file properly even if the filesystem would have supported it. |
@wjiansheng, does this problem still exist? |
Still exists. I'm downloading latest version every day, and it is exists. When I remove the long path check to follow the compilation, it fails also. It is weird, because it is supposed that QT is compiling their code in a similar way, isn't it? |
From the initial message:
Did anyone try that proposal... |
@wjiangsheng, could you please try @dg0yt's suggesstion? |
Ping @wjiangsheng for response. |
We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info. |
Buildtree path 'E:/vc/buildtrees/qtwebengine' is too long. |
What kind of issue does this warning warns of? Some CI can't handle paths more than 22 characters long seems like a problem with this CI itself rather than a problem for a lot of users to bother with renaming/moving vcpkg installation, updating environment variables and removing vcpkg/downloads folder (because it caches scripts with old vcpkg path). For me, it seems like a local issue being resolved with a hack in product core that affects a lot of users and makes a bad feeling about vcpkg product in general. Keeping in mind that this limitation exists is not good, I probably will forgot how to install a package in half a year if won't use vcpkg on daily basis Necessity of using bare |
Describe the bug
Environment
To Reproduce
Steps to reproduce the behavior:
Installing 1/4 qtwebengine:x64-windows...
Building qtwebengine[core,default-features,geolocation,spellchecker,webchannel]:x64-windows...
-- Setting up python virtual environmnent...
-- Installing python packages: html5lib
-- Setting up python virtual environmnent...finished.
CMake Warning at ports/qtwebengine/portfile.cmake:83 (message):
Buildtree path 'C:/src/vcpkg/buildtrees/qtwebengine' is too long.
Consider passing --x-buildtrees-root= to vcpkg!
Trying to use 'C:/src/vcpkg/buildtrees/qtwebengine/../tmp'
Call Stack (most recent call first):
scripts/ports.cmake:147 (include)
CMake Error at ports/qtwebengine/portfile.cmake:88 (message):
Buildtree path is too long. Build will fail! Pass
--x-buildtrees-root= to vcpkg!
Call Stack (most recent call first):
scripts/ports.cmake:147 (include)
error: building qtwebengine:x64-windows failed with: BUILD_FAILED
Elapsed time to handle qtwebengine:x64-windows: 3.7 s
Please ensure you're using the latest port files with
git pull
andvcpkg update
.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+qtwebengine
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[qtwebengine]+Build+error&body=Copy+issue+body+from+C%3A%2Fsrc%2Fvcpkg%2Finst
The text was updated successfully, but these errors were encountered: