@cedricroijakkers never mind created systemd-sysvcompat-noop
that does exactly nothing :)
-> https://aur.archlinux.org/packages/systemd-sysvcompat-noop
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: | 74 |
Popularity: | 1.34 |
First Submitted: | 2021-04-10 15:12 (UTC) |
Last Updated: | 2025-02-14 18:48 (UTC) |
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 Next › Last »
@cedricroijakkers never mind created systemd-sysvcompat-noop
that does exactly nothing :)
-> https://aur.archlinux.org/packages/systemd-sysvcompat-noop
@KerfuffleV2 @6543: Well, this is going to be a problem. I cannot add the openrc
package, because this will break for people using systemd. And the other way around. And then there are people using runit or some other init. For now, I can only remove the make dependency, since there is no optional version of that. When building in a chroot, you'll have to either install the package manually or add the init
executable in some way.
Hi @KerfuffleV2, @cedricroijakkers - I kan understand why you did add systemd-sysvcompat
but this breaks my openrc
system if I would let it run!!!
can you add openrc
as alternative to systemd-sysvcompat
?
@cedricroijakkers: Were you building it in a chroot though? I also use paru with Chroot
in /etc/paru.conf
.
When building in a chroot, extra packages in your local installation aren't available. if the build requires anything that's not in the default package set then it has to be specified in makedepends
to ensure it is pulled in.
Thanks for adding that!
@KerfuffleV2: I did not have any problems building myself in paru, but I did have the package installed already. I've added it to the dependency list now.
It doesn't seem possible to build this package in a chroot right now. nvm fails with a very unhelpful error message because deep in its guts it does:
L=$(ls -dl /sbin/init 2>/dev/null)
As /sbin/init
does not actually exist, the command returns a non-zero status and nvm just gives up immediately due to running with set -e
. It looks like the latest nvm in the repo has a fix for this problem, but unfortunately that's not the version that's used to build vscodium
.
The simplest solution right now is to add systemd-sysvcompat
to the makedepends
section of the PKGBUILD
. This will ensure /sbin/init
actually exists, even when building chrooted.
Edit (March 11, 2022): I was able to install vscodium
again without issue a few days ago. Maybe my Pacman updates were very out of date.
When I tried updating, I got this error. What can I do?
==> Validating source files with sha256sums...
vscodium ... Skipped
vscode ... Skipped
vscodium.desktop ... Passed
==> Extracting sources...
-> Creating working copy of vscodium git repo...
Cloning into 'vscodium'...
done.
Switched to a new branch 'makepkg'
-> Creating working copy of vscode git repo...
Cloning into 'vscode'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting build()...
==> ERROR: A failure occurred in build().
Aborting...
The conflicts array is not necessary. See example in https://wiki.archlinux.org/title/PKGBUILD#conflicts.
Already installed and don't need to be listed: bash gcc gcc-libs make.
I commented out that section in my global config @jotoho and it made it to compilation, so both [lfs]
and [filter "lfs"]
seem to contain the issue at least.
Pinned Comments