Package Details: code-git 1.91.0.r122257.gd2d053d84e2-1

Git Clone URL: https://aur.archlinux.org/code-git.git (read-only, click to copy)
Package Base: code-git
Description: The Open Source build of Visual Studio Code (vscode) editor - git latest
Upstream URL: https://github.com/microsoft/vscode
Keywords: vscode
Licenses: MIT
Conflicts: visual-studio-code-git
Provides: visual-studio-code-git
Submitter: Zrax
Maintainer: None
Last Packager: TrialnError
Votes: 18
Popularity: 0.000000
First Submitted: 2017-12-18 23:10 (UTC)
Last Updated: 2024-06-08 19:56 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

crabvk commented on 2020-08-26 15:52 (UTC)

@Zrax

I think pkgver() function is wrong, it returns 1.38.0.r16029.g6be16f9a16 even for the newest master version.

We should use something like this

pkgver() {
    cd "${srcdir}/vscode"
    sed -En 's/"version": "([[:digit:]\.]+)",/\1_dev/p' package.json | tr -d ' \n'
}

Robert314 commented on 2020-07-14 12:57 (UTC)

hunk failed at #34

fbianconi commented on 2020-07-10 17:43 (UTC)

@MCWertGaming

The problem is in the code-liveshare.diff there's a conflict on the line that's supposed to be patched, the workaround I've come up with is to edit the PKGBUILD, in the prepare function comment out or delete the line 67:

patch -p1 -i "${srcdir}/code-liveshare.diff"

and add the next line instead:

sed -i '39i "ms-vsliveshare.vsliveshare",' product.json

LinuxUserGD commented on 2020-05-24 07:58 (UTC)

Please change to nodejs-lts-erbium as it's the latest supported nodejs lts version.

MCWertGaming commented on 2020-05-05 20:30 (UTC) (edited on 2020-05-05 20:30 (UTC) by MCWertGaming)

Visual studio code is not compiling on latest commit, i get this error:

==> Starting prepare()...
patching file product.json
patching file product.json
Hunk #1 FAILED at 19.
1 out of 1 hunk FAILED -- saving rejects to file product.json.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

LinuxUserGD commented on 2019-12-14 13:06 (UTC) (edited on 2019-12-25 22:54 (UTC) by LinuxUserGD)

[13:52:36] Starting optimize-vscode ...
There is a dependency cycle between 'vs/workbench/contrib/remote/browser/remote' and 'vs/workbench/contrib/remote/browser/tunnelView'. The cyclic path follows:
vs/workbench/contrib/remote/browser/remote => 
vs/workbench/contrib/remote/browser/tunnelView => 
vs/workbench/contrib/remote/browser/remote
[13:52:41] 'vscode-linux-x64-min' errored after 5.53 min
[13:52:41] Error: Cannot do topological sort on cyclic graph, remaining nodes: ===anonymous2===,vs/workbench/workbench.desktop.main,vs/workbench/workbench.common.main,vs/workbench/contrib/remote/browser/remote,vs/workbench/contrib/remote/browser/tunnelView
    at topologicalSort (/run/media/user/user/yay/code-git/src/vscode/build/lib/bundle.js:460:15)
    at emitEntryPoints (/run/media/user/user/yay/code-git/src/vscode/build/lib/bundle.js:81:27)
    at Object.loader (/run/media/user/user/yay/code-git/src/vscode/build/lib/bundle.js:62:31)
    at Function.Module._invokeFactory (evalmachine.<anonymous>:1036:41)
    at Module.complete (evalmachine.<anonymous>:1046:36)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1663:20)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)
    at ModuleManager._onModuleComplete (evalmachine.<anonymous>:1675:30)

*** NOTE: If the build failed due to running out of file handles (EMFILE),
*** you will need to raise your max open file limit.
*** You can check this for more information on how to increase this limit:
***    https://ro-che.info/articles/2017-03-26-increase-open-files-limit
Error making: code-git
[user@archlinux code-git]$ 

Edit: Package now compiles fine for me. Thanks for making it working again!

AndreVallestero commented on 2019-12-13 15:55 (UTC)

Anyone trying to install VSCode for aarch64 (Devices such as Pinebook Pro) should look at the Headmelted VSCode package in the AUR. It has working binaries for aarch64.

johnramsden commented on 2019-12-12 07:13 (UTC)

What would be the recommended course of action for aarch64 considering electron6 isn't available?