upgrade perforce packages: p4, p4v#110168
Conversation
|
Download link is no longer available. |
|
Yeah, looks like they mysteriously recalled 20.2: https://www.perforce.com/support/software-release-index#tab-panel-6208
|
|
What now? Update to a newer version? Update the URL? Can this PR be closed? |
Once they post a new version, I'll update this PR. |
|
I switched both of these to archive.org, as suggested in #131292. |
f5425a3 to
6e3af11
Compare
|
Updated again, and applied your suggestions @SuperSandro2000. |
There was a problem hiding this comment.
I don't feel comfortable merging this with this patch. I don't know if it breaks crypto or not.
There was a problem hiding this comment.
We could try to build a modified Qt instead. p4v is still a binary blob either way.
There was a problem hiding this comment.
I tested latest with this hack disabled, and it still fails. The error you get is:
Connect to server failed; check $P4PORT.
Programming error: CRYPTO_set_mem_functions(): Could not set OpenSSL allocation functions.
|
Trying to test this now, but I don't seem to be able to download the sources from archive.org. |
|
@nathyong What's the problem exactly? I found archive.org extremely slow, and p4v is like 130m. Any other ideas for mirrors are welcome. |
|
I wasn't able to get any bytes from archive.org in the past. Seems fine (if a bit slow) now though. |
|
If the download link is not changing over time and is not gone again we shouldn't use web.archive.org. |
|
The download link does change, unfortunately. Perforce only provides a link to the minor version, which always points to the latest patch release. Also, I had a good look at using the shipped qt libs in case it allowed the crypto hack to be removed, but things got hacky very quickly and I wasn't able (so far) to fix a crash in qt web engine. It was feeling like it would be a worse outcome. |
|
@ofborg build p4v |
|
files that should not be in bin are in bin |
|
@Artturin yeah, that's not ideal, but it's unchanged in this upgrade and it's how they're distributed upstream. |
|
did not test |
Motivation for this change
This still doesn't have a permanent url for the specific minor version, and will break whenever they update. :(
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)