Package Details: vscodium 1.98.2.25078-1

Git Clone URL: https://aur.archlinux.org/vscodium.git (read-only, click to copy)
Package Base: vscodium
Description: Free/Libre Open Source Software Binaries of VSCode (git build from latest release).
Upstream URL: https://github.com/VSCodium/vscodium.git
Licenses: MIT
Conflicts: codium, vscodium, vscodium-bin, vscodium-git
Provides: codium, vscodium
Submitter: cedricroijakkers
Maintainer: cedricroijakkers (daiyam)
Last Packager: daiyam
Votes: 77
Popularity: 2.21
First Submitted: 2021-04-10 15:12 (UTC)
Last Updated: 2025-03-19 00:59 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 Next › Last »

QuaverFace commented on 2022-08-14 23:32 (UTC)

I'm trying to install via pamac GUI and getting the following error during the build process:

make: Entering directory '/var/tmp/pamac-build-simon/vscodium/src/vscodium/vscode/node_modules/@parcel/watcher/build'
make: *** No rule to make target 'Release/obj.target/nothing/node_modules/node-addon-api/nothing.o', needed by 'Release/obj.target/node_modules/node-addon-api/nothing.a'.  Stop.
make: Leaving directory '/var/tmp/pamac-build-simon/vscodium/src/vscodium/vscode/node_modules/@parcel/watcher/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/var/tmp/pamac-build-simon/vscodium/src/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:526:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.18.16-1-MANJARO
gyp ERR! command "/var/tmp/pamac-build-simon/vscodium/src/.nvm/versions/node/v16.14.2/bin/node" "/var/tmp/pamac-build-simon/vscodium/src/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/tmp/pamac-build-simon/vscodium/src/vscodium/vscode/node_modules/@parcel/watcher
gyp ERR! node -v v16.14.2
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...

I have cleared cache, tried changing versions but not making any progress. Anyone able to suggest a fix?

MithicSpirit commented on 2022-08-11 20:41 (UTC) (edited on 2022-08-11 21:13 (UTC) by MithicSpirit)

@eclairevoyant nvm depends on systemd-syscompat (or in general the existence of a /sbin/init). You'll have to add that to the make dependencies if you want to build in a chroot.

EDIT: note that this is not currently a make dependency in this pkgbuild or a regular dependency in nvm because of non-systemd users. AFAIK this has been fixed upstream, but the fix has not yet been released.

eclairevoyant commented on 2022-08-11 06:20 (UTC)

Has anyone successfully built this in a chroot? When I try, I get this error:

$ makechrootpkg -r $CHROOT -I /var/lib/repo/aur/nvm-0.39.1-1-any.pkg.tar.zst
[snip...]
==> Starting build()...
Downloading and installing node v16.14.2...
Binary download failed, trying source.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check [/path/to/chroot/user/build]

It's clearly failing at the nvm install command, but I'm not sure why this happens because building outside of a chroot works fine. I can also run nvm install v16.14.2 in some random dir and that works fine as well.

P0rc0R0550 commented on 2022-07-23 12:04 (UTC) (edited on 2022-08-09 18:50 (UTC) by P0rc0R0550)

I use the fix proposed here, here the code I used. Now it complete the process, but takes always long time, how you can see here

PS: I think my notebook isn't real bad, how you can see here, and I think if the script can be rewrite to run in parallels, so we can do it more efficiently

PS2: Today I update the package, but the issue still exist (it takes 47minutes and 26 second to complete):

while ps -o pid,comm,cmd,start,etime -p "98520"; do sleep 1; done
|   PID   | COMMAND |             CMD             |  STARTED  | ELAPSED |
|  98520  |   sed   | sed -i -E s/[^/]+\.data\.mi |  19:41:35 |  47:26  |

cedricroijakkers commented on 2022-07-21 06:24 (UTC)

I had noticed the slow build too since the last version. This is something upstream, which I have reported in the following bug: https://github.com/VSCodium/vscodium/issues/1165

MithicSpirit commented on 2022-07-21 03:22 (UTC)

undo_telemtry.sh works fine, it just takes a while to run since it needs to grep through all of the files and then sed through all of the matching ones (see the source). Didn't time mine but I know it took a long; if you want to make sure it is still working you can check a system resource monitoring tool like htop, as grep or sed should be hovering around 100% CPU usage.

That said, it is probably possible to have it run multiple sed processes simultaneously (one for each file), which would probably speed this process up greatly, though this would require rewriting the script. It would also be important to parse $MAKEFLAGS to limit the number of simultaneous processes.

P0rc0R0550 commented on 2022-07-20 21:47 (UTC)

Remain hours with last display ../undo_telemetry.sh, without return a code error. Follow paste. Please fix it.

Ashark commented on 2022-07-05 23:24 (UTC)

Can you please add vscode to provides array? See https://wiki.archlinux.org/title/Talk:Visual_Studio_Code#Provides_array_for_flavor_packages

cedricroijakkers commented on 2022-06-14 10:07 (UTC)

@willgame: Looks like you cannot DNS lookup the URL registry.yarnpkg.com. This is where packages are downloaded which are needed for the build. Not much we can do about this, except wait for the URL to come back up.