-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Error: no postscript file: rerun with the vcpkg shell function rather than executable when running vcpkg activate #40609
Comments
@Vitorbnc cc @BillyONeal Could you plase help look into this issue? |
I just ran into the same issue on Linux arm64. Interestingly also while trying to fetch the artifact |
We also changed the error message to explain that better. |
@BillyONeal I couldn't find any |
@BillyONeal Are you saying that following the official installation instructions here puts you into a position, where a subsequent call to If so I am not surprised that "people got very confused". |
@moritzstoetter I just double checked.
|
@FrankXie05 @BillyONeal any updates on this? |
It only works using one of the 'installed' copies of vcpkg, like the one that comes with Visual Studio or the 'one liner' installer. |
Hello, I have the same problem. Is there a plan to fix this on the latest version of vcpkg on Github? or should we resignate to use the one-liner My use case is trying the below command so that it works on both local or CI build systems: vcpkg activate With this in a {
"registries": [
{
"name": "arm",
"kind": "artifact",
"location": "https://artifacts.tools.arm.com/vcpkg-registry"
}
],
"requires": {
"arm:tools/open-cmsis-pack/cmsis-toolbox": "2.4.0",
"arm:tools/kitware/cmake": "3.28.4",
"arm:tools/ninja-build/ninja": "1.12.0",
"arm:compilers/arm/armclang": "6.22.0",
"arm:compilers/arm/arm-none-eabi-gcc": "^13.2.1",
"arm:models/arm/avh-fvp": "^11.26.11",
"arm:debuggers/arm/armdbg": "6.1.2"
}
} Thanks! |
One of the reasons the entire artifacts feature remains experimental is that it is not practically usable from the "git clone" distribution of vcpkg. The official instructions are written for people not using artifacts because that remains 99.99% of vcpkg's user base, and the 'installed' copies don't work with classic mode.
I'm confirming an answer with our PM folks. |
Describe the bug
After installing vcpkg and adding its folder to Path, I tried to run
vcpkg activate
inside a folder containing thevcpkg-configuraration.json
shown below, but it fails to complete with the following message:Environment
To Reproduce
Steps to reproduce the behavior:
vcpkg-configuraration.json
vcpkg activate
Expected behavior
Expected activation to succeed.
Failure logs
Additional context
vcpkg-configuration.json:
The text was updated successfully, but these errors were encountered: