@zrax nice, my mistake!
Search Criteria
Package Details: code-git 1.102.0.r1.gc6e8ac1-1
Package Actions
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) |
Dependencies (13)
- electron (electron-launcherAUR, electron-nightly-binAUR, electron-nightly-binAUR)
- libsecret
- libxkbfile
- ripgrep (ripgrep-gitAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, mimejs-gitAUR, xdg-utils-mimeoAUR)
- curl (curl-gitAUR, curl-c-aresAUR) (make)
- desktop-file-utils (desktop-file-utils-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libarchive (libarchive-gitAUR) (make)
- nodejs-lts-jod (make)
- npm (python-nodejs-wheelAUR, corepackerAUR) (make)
- python (python37AUR) (make)
- x11-ssh-askpass (gnome-ssh-askpass3AUR, seahorse-gitAUR, gnome-ssh-askpass4-gitAUR, ssh-askpass-fullscreenAUR, ksshaskpass-gitAUR, xaskpassAUR, openssh-askpassAUR, ksshaskpass, seahorse) (optional) – SSH authentication
Required by (18)
- azure-sphere-sdk (requires code) (optional)
- caelestia-meta (requires vscode) (optional)
- code-features (requires code)
- code-features-insiders (requires code)
- code-marketplace (requires code)
- code-nautilus-git (requires code) (optional)
- dokytree (requires code) (optional)
- dokytree-git (requires code) (optional)
- meta-package-manager (requires code) (optional)
- meta-package-manager-git (requires code) (optional)
- nautilus-code (requires code) (optional)
- nwscript-code (requires code)
- rt-thread-env-meta (requires code) (optional)
- rust-analyzer-vscode-git (requires code)
- unreal-engine-bin (requires code) (optional)
- vscode-xdg-patch-hook (requires code) (optional)
- vscode-xdg-patch-hook (requires vscode) (optional)
- woman (requires code) (optional)
Sources (4)
- https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/clipath.patch
- https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.mjs
- https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/code.sh
- https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/raw/main/product_json.diff
codebling commented on 2021-01-28 23:57 (UTC)
Zrax commented on 2021-01-28 23:49 (UTC)
gawk
is part of base-devel
, which is required for building packages with makepkg
codebling commented on 2021-01-28 18:59 (UTC)
@zrax thanks for updating the package. May have to add gawk
to makedepends
for pkgver()
dr460nf1r3 commented on 2021-01-26 18:02 (UTC) (edited on 2021-01-26 18:02 (UTC) by dr460nf1r3)
This needs the pkgver reworked as already pointed out. Trying to get this into Chaotic-AUR but the versioning makes it impossible to update.
Zrax commented on 2020-11-09 04:33 (UTC)
@kevr: This can be installed side-by-side with code
, since it installs in a different path and uses a different wrapper script.
kevr commented on 2020-11-08 08:35 (UTC)
Should this not conflict with code
?
TriMoon commented on 2020-10-28 08:52 (UTC) (edited on 2020-10-28 08:59 (UTC) by TriMoon)
Unable to build on Manjaro Linux...
Trying to build (install) from within the Add/Remove Software of Manjaro (aka pamac Manager), the below is what i get:
Preparing...
Cloning code-git build files...
Checking code-git dependencies...
Resolving dependencies...
Checking inter-conflicts...
Download of pkgconf (1.7.3-1) started
Download of pkgconf (1.7.3-1) finished
Download of gc (8.0.4-4) started
Download of make (4.3-3) started
Download of make (4.3-3) finished
Download of libuv (1.40.0-1) started
Download of libuv (1.40.0-1) finished
Download of automake (1.16.2-3) started
Download of automake (1.16.2-3) finished
Download of guile (2.2.6-2) started
Download of guile (2.2.6-2) finished
Download of semver (7.3.2-1) started
Download of semver (7.3.2-1) finished
Download of gulp (4.0.2-3) started
Download of gulp (4.0.2-3) finished
Download of patch (2.7.6-8) started
Download of patch (2.7.6-8) finished
Download of python2 (2.7.18-2) started
Download of python2 (2.7.18-2) finished
Download of nodejs-lts-erbium (12.18.4-1) started
Download of nodejs-lts-erbium (12.18.4-1) finished
Download of m4 (1.4.18-3) started
Download of m4 (1.4.18-3) finished
Download of flex (2.6.4-3) started
Download of flex (2.6.4-3) finished
Download of fakeroot (1.24-2) started
Download of fakeroot (1.24-2) finished
Download of node-gyp (7.1.0-1) started
Download of node-gyp (7.1.0-1) finished
Download of npm (6.14.8-1) started
Download of npm (6.14.8-1) finished
Download of gc (8.0.4-4) finished
Download of yarn (1.22.5-1) started
Download of libmicrohttpd (0.9.71-1) started
Download of yarn (1.22.5-1) finished
Download of elfutils (0.181-1) started
Download of elfutils (0.181-1) finished
Download of binutils (2.35-2) started
Download of binutils (2.35-2) finished
Download of libmpc (1.1.0-2) started
Download of libmpc (1.1.0-2) finished
Download of gcc (10.2.0-2) started
Download of gcc (10.2.0-2) finished
Download of bison (3.6.4-1) started
Download of bison (3.6.4-1) finished
Download of autoconf (2.69-7) started
Download of autoconf (2.69-7) finished
Download of libmicrohttpd (0.9.71-1) finished
Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing pkgconf (1.7.3-1)...
Installing gc (8.0.4-4)...
Installing guile (2.2.6-2)...
Installing make (4.3-3)...
Installing libuv (1.40.0-1)...
Installing automake (1.16.2-3)...
Installing c-ares (1.16.1-2)...
Installing nodejs-lts-erbium (12.18.4-1)...
Installing semver (7.3.2-1)...
Installing gulp (4.0.2-3)...
Installing patch (2.7.6-8)...
Installing python2 (2.7.18-2)...
Installing fakeroot (1.24-2)...
Installing m4 (1.4.18-3)...
Installing flex (2.6.4-3)...
Installing node-gyp (7.1.0-1)...
Installing npm (6.14.8-1)...
Installing electron (9.2.1-1)...
Installing bison (3.6.4-1)...
Installing yarn (1.22.5-1)...
Installing libmicrohttpd (0.9.71-1)...
Installing ripgrep (12.1.1-1)...
Installing elfutils (0.181-1)...
Installing binutils (2.35-2)...
Installing libmpc (1.1.0-2)...
Installing gcc (10.2.0-2)...
Installing autoconf (2.69-7)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Updating the info directory file...
Updating the desktop file MIME type cache...
Building code-git...
==> Making package: code-git 1.38.0.r14618.g676ee1c945a-1 (Çrş 28 Eki 2020 11:09:40)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning vscode git repo...
Cloning into bare repository '/var/tmp/pamac-build-trimoon/code-git/vscode'...
-> Found code-git.js
-> Found code-git.sh
-> Found product_json.diff
-> Found code-liveshare.diff
==> Validating source files with sha512sums...
vscode ... Skipped
code-git.js ... Passed
code-git.sh ... Passed
product_json.diff ... Passed
code-liveshare.diff ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of vscode git repo...
Cloning into 'vscode'...
done.
==> Starting prepare()...
patching file product.json
patching file product.json
Hunk #1 succeeded at 36 with fuzz 1 (offset 2 lines).
==> Starting pkgver()...
==> Updated version: code-git 1.38.0.r18286.g7b3516acd41-1
==> Starting build()...
yarn install v1.22.5
$ node build/npm/preinstall.js
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.1: The platform "linux" is incompatible with this module.
info "fsevents@2.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.7: The platform "linux" is incompatible with this module.
info "fsevents@1.2.7" is an optional dependency and failed compatibility check. Excluding it from installation.
info vscode-windows-ca-certs@0.2.0: The platform "linux" is incompatible with this module.
info "vscode-windows-ca-certs@0.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.
info vscode-windows-registry@1.0.3: The platform "linux" is incompatible with this module.
info "vscode-windows-registry@1.0.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info windows-foreground-love@0.2.0: The platform "linux" is incompatible with this module.
info "windows-foreground-love@0.2.0" is an optional dependency and failed compatibility check. Excluding it from installation.
info windows-mutex@0.3.0: The platform "linux" is incompatible with this module.
info "windows-mutex@0.3.0" is an optional dependency and failed compatibility check. Excluding it from installation.
info windows-process-tree@0.2.4: The platform "linux" is incompatible with this module.
info "windows-process-tree@0.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-plugin-mocha@8.0.0" has incorrect peer dependency "eslint@>=7.0.0".
warning " > gulp-tsb@4.0.5" has incorrect peer dependency "typescript@^3.0.0".
[4/4] Building fresh packages...
error /var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/keytar: Command failed.
Exit code: 1
Command: prebuild-install || node-gyp rebuild
Arguments:
Directory: /var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/keytar
Output:
/var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/node-abi/index.js:30
throw new Error('Could not detect abi for version ' + target + ' and runtime ' + runtime + '. Updating "node-abi" might help solve this issue if it is a new release of ' + runtime)
^
Error: Could not detect abi for version 9.2.1 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron
at getAbi (/var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/node-abi/index.js:30:9)
at module.exports (/var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/prebuild-install/rc.js:73:57)
at Object.<anonymous> (/var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/prebuild-install/bin.js:9:25)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.0
gyp info using node@12.18.4 | linux | x64
gyp info find Python using Python version 3.8.5 found at "/usr/bin/python3"
gyp http GET https://electronjs.org/headers/v9.2.1/node-v9.2.1-headers.tar.gz
gyp http 200 https://electronjs.org/headers/v9.2.1/node-v9.2.1-headers.tar.gz
gyp http GET https://electronjs.org/headers/v9.2.1/SHASUMS256.txt
gyp http 200 https://electronjs.org/headers/v9.2.1/SHASUMS256.txt
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/keytar/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/trimoon/.cache/node-gyp/9.2.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/trimoon/.cache/node-gyp/9.2.1',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/trimoon/.cache/node-gyp/9.2.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/keytar',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
Traceback (most recent call last):
File "/usr/lib/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
sys.exit(gyp.script_main())
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 687, in script_main
return main(sys.argv[1:])
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 679, in main
return gyp_main(args)
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 645, in gyp_main
[generator, flat_list, targets, data] = Load(
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 151, in Load
result = gyp.input.Load(
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3052, in Load
LoadTargetBuildFile(
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
build_file_data = LoadOneBuildFile(
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 266, in LoadOneBuildFile
LoadBuildFileIncludesIntoDict(
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 310, in LoadBuildFileIncludesIntoDict
LoadOneBuildFile(include, data, aux_data, None, False, check),
File "/usr/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 248, in LoadOneBuildFile
build_file_data = eval(build_file_contents, {"__builtins__": {}}, None)
File "/home/trimoon/.cache/node-gyp/9.2.1/include/node/common.gypi", line 0
^
SyntaxError: unexpected EOF while parsing
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.8.16-2-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /var/tmp/pamac-build-trimoon/code-git/src/vscode/node_modules/keytar
gyp ERR! node -v v12.18.4
gyp ERR! node-gyp -v v7.1.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
This stayed like that until i decided to cancle the operation...
PS: All extra dependencies before the build process were automatically selected from the official manjaro repo.
crabvk commented on 2020-10-03 10:35 (UTC) (edited on 2020-10-03 10:35 (UTC) by crabvk)
For some reason I'm getting EMFILE error and my ulimit -Sn
is 6144. I've changed --max_old_space_size=6144
to --max_old_space_size=6100
and now package builds ok.
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()
).