Package Details: veloren 0.18.0-1

Git Clone URL: https://aur.archlinux.org/veloren.git (read-only, click to copy)
Package Base: veloren
Description: The last stable release of an open-world, open-source multiplayer voxel RPG.
Upstream URL: https://veloren.net/
Keywords: game rpg veloren
Licenses: GPL3
Submitter: LunarEclipse
Maintainer: LunarEclipse
Last Packager: LunarEclipse
Votes: 22
Popularity: 0.000250
First Submitted: 2019-06-23 23:12 (UTC)
Last Updated: 2026-01-24 17:04 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

pguillot commented on 2026-03-14 17:52 (UTC)

Having the following error :

: (1/1) Analyse du SRCINFO : veloren-bin ==> Création du paquet veloren-bin 0.18.0-1 (sam. 14 mars 2026 18:46:46) ==> Vérification des dépendances pour l’exécution… ==> Vérification des dépendances pour la compilation… ==> Récupération des sources… -> veloren-bin-0.18.0 trouvé -> voxygen-wrapper.sh trouvé -> server-cli-wrapper.sh trouvé ==> Validation des fichiers source avec sha512sums… veloren-bin-0.18.0 ... ÉCHEC voxygen-wrapper.sh ... Réussite server-cli-wrapper.sh ... Réussite ==> ERREUR : Un ou plusieurs fichiers ne sont pas valides ! -> erreur lors de la compilation de : veloren-bin-exit status 1 -> Échec de l'installation des paquets suivants. Une intervention manuelle est requise :

Change mannualy the sha512sum of veloren-bin-0.18.0 and install works.

Dinkley commented on 2026-01-23 00:49 (UTC)

Still fails to build as of today. Same error as the previous comment:

==> Starting prepare()... warning: error running /usr/lib/git-core/git 'config' '--includes' '--global' '--replace-all' 'filter.lfs.clean' 'git-lfs clean -- %f': 'error: could not lock config file /dev/null: Permission denied' 'exit status 255' Run git lfs install --force to reset Git configuration. ==> ERROR: A failure occurred in prepare(). Aborting... error: failed to build 'veloren-0.17.0-2': error: packages failed to build: veloren-0.17.0-2

menguele commented on 2026-01-20 18:12 (UTC) (edited on 2026-01-20 18:12 (UTC) by menguele)

couldnt build:

warning: error running /usr/lib/git-core/git 'config' '--includes' '--global' '--replace-all' 'filter.lfs.process' 'git-lfs filter-process': 'error: could not lock config file /dev/null: Permission denied' 'exit status 255' Run git lfs install --force to reset Git configuration. ==> ERROR: A failure occurred in prepare(). Aborting... error: failed to build 'veloren-0.17.0-2': error: packages failed to build: veloren-0.17.0-2

LunarEclipse commented on 2025-11-17 15:58 (UTC)

Thank you I updated the PKGBUILD so it should work again

gdamjan commented on 2025-11-15 01:16 (UTC)

this patch to the PKGBUILD makes it compile

diff --git a/PKGBUILD b/PKGBUILD
index 0ea9c65..35e2349 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc='The last stable release of an open-world, open-source multiplayer voxel
 arch=('x86_64' 'i686')
 url='https://veloren.net/'
 license=('GPL3')
-options=('!strip') # This makes debugging issues easier sometimes, comment out if small package size is needed
+options=('!strip' '!lto') # This makes debugging issues easier sometimes, comment out if small package size is needed
 depends=('alsa-lib' 'glslang' 'libxkbcommon-x11' 'vulkan-icd-loader')
 optdepends=(
     'pulseaudio-alsa: audio support on pulseaudio'
@@ -34,6 +34,7 @@ prepare() {

 build() {
     cd "$srcdir/$pkgname"
+    export CMAKE_POLICY_VERSION_MINIMUM=3.5
     VELOREN_USERDATA_STRATEGY='system' cargo build --release --bin veloren-voxygen --bin veloren-server-cli
 }

tuxayo commented on 2024-07-15 19:02 (UTC) (edited on 2024-07-15 20:48 (UTC) by tuxayo)

setting options=('strip' '!debug') - it seems the debug build was taking all the memory.

Nice find. When reviewing makepkg.conf changes, I forgot it would increase memory and/or build time. The memory savings will be very very welcome.

and also export CFLAGS+=' -ffat-lto-objects' in build() to fix compiling ring

Good find, there is indeed an issue with ring, lto and gcc: https://aur.archlinux.org/packages/rsspls#comment-980121

https://aur.archlinux.org/packages/aichat#comment-959940

https://github.com/briansmith/ring/issues/1444


And there is hope! :) https://gitlab.archlinux.org/pacman/pacman/-/merge_requests/131#note_185966

https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html

bonus: «Most binaries should see some improvements here, but it's especially significant with e.g. bigger binaries» (Heavy breathing)

On my next retry I'll change src/veloren/rust-toolchain to match latest dev version set by Veloren. https://gitlab.com/veloren/veloren/-/commits/master/rust-toolchain?ref_type=heads


@gdamjan:

and now it fails with: [...]

Oh no, hopefully the linker change from the recent toolchains will also fix this.

gdamjan commented on 2024-07-15 12:01 (UTC)

and now it fails with:

          /usr/bin/ld: /home/damjan/.cache/paru/clone/veloren/src/veloren/target/release/deps/veloren_voxygen-37616f1347406efc.veloren_voxygen.d42aca386f67380d-cgu.15.rcgu.o: in function `core::ptr::drop_in_place<shaderc::CompileOptions>':
          /rustc/098d4fd74c078b12bfc2e9438a2a04bc18b393bc/library/core/src/ptr/mod.rs:507:(.text._ZN4core3ptr44drop_in_place$LT$shaderc..CompileOptions$GT$17hb47594a3f6533e3eE+0x10): undefined reference to `shaderc_compile_options_release'
          collect2: error: ld returned 1 exit status

;/

gdamjan commented on 2024-07-15 02:41 (UTC)

What are your RUSTFLAGS in /etc/makepkg.conf?

all are defaults from pacman (RUSTFLAGS="-Cforce-frame-pointers=yes")

ok, I've fixed the issue by:

setting options=('strip' '!debug') - it seems the debug build was taking all the memory.

and also export CFLAGS+=' -ffat-lto-objects' in build() to fix compiling ring

tuxayo commented on 2024-07-14 22:41 (UTC) (edited on 2024-07-14 22:41 (UTC) by tuxayo)

@gdamjan was that the error you got?

In my case, no OOM in syslog and the build reports a build process getting a SIGKILL when that happen. I got a lot of OOM to learn that before putting enough swap ^^" I was watching memory usage and there where many GiB still free.

What are your RUSTFLAGS in /etc/makepkg.conf?