Open Zoybean opened 4 days ago
According to https://martinvonz.github.io/jj/latest/install-and-setup/#windows, try installing with --features vendored-openssl
. Or are you already doing that?
I was - I'd tried with and without that feature and got the same error, so I omitted it when typing the issue, forgetting it was in the explicit installation instructions for windows
I see. One thing you could attempt is to figure out how your setup is different from the CI (https://github.com/martinvonz/jj/actions/runs/9706008935/job/26788998456). I have a Windows 11 VM I could try this in; perhaps somebody running actual Windows can try to reproduce the problem.
Also, if you can definitely reproduce the problem with that option, you should edit the issue description and put it in.
Looks like I can compile it on my home (windows 10) pc with or without the relevant feature, so it's definitely something about my work pc. I might just wait till the next jj release and get a pre-built binary.
Regarding binaries of in-progress versions, see also: https://github.com/martinvonz/jj/issues/2544 which I can maybe tack a whack at implementing. Then you could go download a binary immediately from the latest commit on main
, which would be great. We now run builds on all pushes actually, so we should probably just build binaries from everything all the time.
Oh that would be perfect for me actually. I don't suppose there's any way to grab one of those binaries before #3999 merges?
You can find some binaries on the main
branch of my fork, which I've been using to test that PR; they're temporary and will expire, so grab them while they're hot: https://github.com/thoughtpolice/jj/actions/workflows/build-binaries.yml (Click on the latest green build and then scroll down to the "Artifacts" section)
I suspect it will get merged today though at the latest, since it's pretty straightforward.
Description
I've regularly compiled from source before (though on a different win10 computer). Currently, though, the
libssh2-sys
dependency is failing to compile. I've tried compiling the bothssh2-rs
repo (which uses 0.3.0 of the sys crate) and thelibssh2-sys
crate (at 0.3.0) directly with no apparent issue, so I suspect the failure is somehow tied tojj
.Steps to Reproduce the Problem
cargo install --locked --bin jj jj-cli --features vendored-openssl
Expected Behavior
jj installs successfully
Actual Behavior
Specifications