The build failed for me without having 'python' installed. Please can you add 'python' to the makedepends? (python2 does not provide /usr/bin/python)
Error: /bin/sh: python: command not found
Git Clone URL: | https://aur.archlinux.org/code-git.git (read-only, click to copy) |
---|---|
Package Base: | code-git |
Description: | OSS version of Visual Studio Code editor |
Upstream URL: | https://github.com/microsoft/vscode |
Keywords: | vscode |
Licenses: | MIT |
Conflicts: | code, vscode |
Provides: | code, vscode |
Submitter: | Zrax |
Maintainer: | oech3 |
Last Packager: | oech3 |
Votes: | 17 |
Popularity: | 0.000000 |
First Submitted: | 2017-12-18 23:10 (UTC) |
Last Updated: | 2025-06-24 02:23 (UTC) |
The build failed for me without having 'python' installed. Please can you add 'python' to the makedepends? (python2 does not provide /usr/bin/python)
Error: /bin/sh: python: command not found
nodejs with nodejs-lts-carbon conflicts...correct them...thanks.
The product_json.patch does not match with the one from master branch in Microsoft/vscode (Possible merge with other branch)
@Vmeup MS Code uses as prerequisit for building Node.JS, >= 8.9.1, < 9.0.0 see https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run
I have run into an installation problem where initially my installed version of Node was 10.x, so I reverted the package to Node 9.x. When trying to Install after reverting Node, I run into an issue of
'node: error while loading shared libraries: libicui18n.so.61: cannot open shared object file: No such file or directory'
Looking into my system I currently have libicui18n.so.62.1 installed... Is there a workaround for this to build MS Code? Or is it safe to revert the libicu18n package to 61 without breaking dependencies for other system funcitons?
Thanks
Updated to work more like the version of code recently adopted into [community], including using the system electron.
Needs a small tweak to the patch to build on latest master: https://gist.github.com/K900/5531480f6d3d31373225acc9071bdeb5
Hi, @Zrax
I made couple of improvements to the PKGBUILD and posted updated version here: https://github.com/ava1ar/code-oss
Changed are:
Added aarch64 architecture to support ArchLinuxARM
Added aarch64.patch (until upstream PR is not merged https://github.com/Microsoft/vscode/pull/52119)
Updated pkgver() function to return relevant information. Current function is useless, since returns same string for every build. Updated one returns something like 1.24.1_777c8e57e0 (format is {last_tag}_{last_commit_hash}).
Please feel free to adopt. Let me know if you have any questions.
gtk3 please.
Pinned Comments
oech3 commented on 2025-05-19 11:39 (UTC) (edited on 2025-05-21 13:40 (UTC) by oech3)
electron
dependency is swapped withelectronNM
at packaging.Minify is disabled by default (see
bottom of build()
).