Package Details: veloren 0.12.0-3

Git Clone URL: https://aur.archlinux.org/veloren.git (read-only, click to copy)
Package Base: veloren
Description: An open-world, open-source multiplayer voxel RPG
Upstream URL: https://veloren.net/
Keywords: game rpg veloren
Licenses: GPL3
Submitter: Mckol
Maintainer: Mckol
Last Packager: Mckol
Votes: 17
Popularity: 0.47
First Submitted: 2019-06-23 23:12 (UTC)
Last Updated: 2022-04-09 17:13 (UTC)

Latest Comments

kleinph commented on 2022-04-09 08:45 (UTC)

Can you please add cmaketo makedepends @Mckol?

kleinph commented on 2022-02-23 13:20 (UTC)

cmake is needed as make dependency for this package.

Peuc commented on 2022-02-10 17:37 (UTC)

The build error mefistofeles has reported is still there:

 error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/veloren/src/veloren/target/release/deps" "-L" "/usr/lib" "-L" "/tmp/veloren/src/veloren/target/release/build/spirv_cross-eb3269045c2ff6a0/out" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/tmp/veloren/src/veloren/target/release/build/ring-efef50e6e53595ba/out" "-L" "/tmp/veloren/src/veloren/target/release/build/wasmer-vm-c85c47e9cf0f9158/out" "-L" "/tmp/veloren/src/veloren/target/release/build/libsqlite3-sys-5e37f98bd969dfb8/out" "-L" "/home/peuc/.rustup/toolchains/nightly-2021-07-06-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcrrVGws/liblibsqlite3_sys-5a074739d44220ca.rlib" "/tmp/rustcrrVGws/libshaderc_sys-7ed50b75580dbf52.rlib" "/tmp/rustcrrVGws/libspirv_cross-b590c1382d8b90e9.rlib" "/tmp/rustcrrVGws/libwasmer_vm-cd7b5d073e90b185.rlib" "/tmp/rustcrrVGws/libring-6c7f64cf57baec1f.rlib" "-Wl,--start-group" "-Wl,--end-group" "/home/peuc/.rustup/toolchains/nightly-2021-07-06-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lglslang" "-lSPIRV" "-lSPIRV-Tools" "-lSPIRV-Tools-opt" "-lstdc++" "-lstdc++" "-lxkbcommon-x11" "-lxkbcommon" "-ludev" "-lasound" "-ldl" "-lxcb" "-lxcb-render" "-lxcb-shape" "-lxcb-xfixes" "-lxkbcommon" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/peuc/.rustup/toolchains/nightly-2021-07-06-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-fuse-ld=gold"
  = note: /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compiler_initialize'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compile_options_initialize'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compile_options_set_optimization_level'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compile_options_set_forced_version_profile'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compile_options_set_include_callbacks'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compiler_release'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compile_options_release'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compiler_release'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compile_options_release'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new: error: undefined reference to 'shaderc_compiler_release'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new::{{closure}}: error: undefined reference to 'shaderc_compile_into_spv'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new::{{closure}}: error: undefined reference to 'shaderc_result_get_compilation_status'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new::{{closure}}: error: undefined reference to 'shaderc_result_get_num_errors'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new::{{closure}}: error: undefined reference to 'shaderc_result_get_error_message'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new::{{closure}}: error: undefined reference to 'shaderc_result_get_length'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new::{{closure}}: error: undefined reference to 'shaderc_result_get_length'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new::{{closure}}: error: undefined reference to 'shaderc_result_get_bytes'
          /tmp/veloren/src/veloren/target/release/deps/veloren_voxygen-4ee86763214eadc4.veloren_voxygen.cxt1nqqy-cgu.2.rcgu.o:veloren_voxygen.cxt1nqqy-cgu.2:function veloren_voxygen::render::renderer::pipeline_creation::ShaderModules::new::{{closure}}: error: undefined reference to 'shaderc_result_release'
          collect2: error: ld returned 1 exit status

  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

 error: aborting due to previous error

 error: could not compile `veloren-voxygen`

Anyone has a solution?

mefistofeles commented on 2022-01-03 03:54 (UTC)

I'm getting some issues building the package. I get a bunch of errors as the following

error: undefined reference to 'shaderc_compiler_initialize'

Longer output here (won't live long, though): https://bpa.st/QZWQ

8BitSloth commented on 2021-12-13 18:29 (UTC) (edited on 2021-12-13 18:31 (UTC) by 8BitSloth)

I found what was making this package seem like it was recompiling software it should not be touching.

It is not made clear that what is being compiled are actually packages for Rust and not the very similarly named software already installed in Arch. This is something that need to be fixed by the Rust devs to make it more clear what is actually being done to your system. They also need to stop using names that are too similar to already established software, ie Rust's package named cmake vs the CMake build file generator.

Going to leave this update here for anyone else who might find it off putting that a video game is trying to recompile Wayland.

Mckol commented on 2021-08-23 13:52 (UTC)

I cannot build the package due to the rust conflict

That conflict is correct. The game can't be built with stable rust yet. In fact the only supported toolchain version for building a given version of Veloren is precisely the one specified in the rust-toolchain file included in the root of the upstream repo.

Rustup can manage multiple rust versions, and here it installs and uses the one required to build the game automatically.

If for some reason rustup isn't suitable for you, you could still get veloren-bin (just as this one, incompatible with the official server) or airshipper instead (the latter will make sure your game version is compatible with the official server).

strubbl commented on 2021-08-09 21:58 (UTC)

I cannot build the package due to the rust conflict:

>> 
looking for conflicting AUR packages...
:: rustup and rust are in conflict. Remove rust? [y/N]

davvore33 commented on 2021-07-26 08:23 (UTC) (edited on 2021-07-26 08:24 (UTC) by davvore33)

Hi, I've had an error while compiling for the first time

error: failed to get `authc` as a dependency of package `veloren-client v0.10.0 (/home/matteo/.cache/pikaur/build/veloren/src/veloren/client)`

Caused by:
  failed to load source for dependency `authc`

Caused by:
  Unable to update https://gitlab.com/veloren/auth.git?rev=fb3dcbc4962b367253f8f2f92760ef44d2679c9a#fb3dcbc4

Caused by:
  object not found - no match for id (fb3dcbc4962b367253f8f2f92760ef44d2679c9a); class=Odb (9); code=NotFound (-3)

I'm not sure if it's just a missing dep (maybe aur/authconfig)

moshiur_rahman commented on 2021-04-07 08:17 (UTC)

veloren fails to build after the latest update.

error: could not compile `target-lexicon`

Caused by:
  process didn't exit successfully: `rustc --crate-name target_lexicon --edition=2018 /home/moshiur/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/target-lexicon-0.11.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --cfg 'feature="default"' -C metadata=60de8968b0be00b7 -C extra-filename=-60de8968b0be00b7 --out-dir /home/moshiur/.cache/paru/clone/veloren/src/veloren/target/release/deps -L dependency=/home/moshiur/.cache/paru/clone/veloren/src/veloren/target/release/deps --cap-lints allow -C opt-level=2 -C target-cpu=native --cfg 'feature="rust_1_40"'` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().
    Aborting...
:: Packages failed to build: veloren-0.9.0-2

Mckol commented on 2021-02-06 22:46 (UTC) (edited on 2021-02-06 22:47 (UTC) by Mckol)

A few updates:

  1. I've fixed the build in a clean environment, the log provided by Nukesor proved very helpful, as it mentioned the needed file libudev.pc, and I could use pacman -F libudev.pc to find the package that owned it, which turned out to be systemd.

  2. As per kiankasad's suggestion, I've started using the .desktop and icon files provided by the source tree, in addition to that I've included the provided .metainfo.xml file.

I've also applied these to veloren-git.

Mckol commented on 2021-02-06 20:40 (UTC)

What is the error? Did you try following the troubleshooting section of the veloren book?

Neko-san commented on 2021-02-02 22:44 (UTC)

I attempted to run the game after an update from this package and it crashes on startup :/

kiankasad commented on 2021-01-16 05:08 (UTC) (edited on 2021-01-16 05:09 (UTC) by kiankasad)

Veloren includes a desktop file in the source tree. It's assets/voxygen/net.veloren.veloren.desktop. Therefore there doesn't need to be one included with the AUR package.

If there's a reason not to use that one, then the extension should be removed from the Icon entry. It should look like this:

Icon=voxygen

Both suggestions also apply to the veloren-git package as well.

Nukesor commented on 2021-01-15 15:05 (UTC)

The build fails in a clean environment:

Caused by:
  process didn't exit successfully: `/build/veloren/src/veloren/target/release/build/libudev-sys-c475c542b84a22e1/build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-env-changed=LIBUDEV_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUDEV_STATIC
  cargo:rerun-if-env-changed=LIBUDEV_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'libudev\', required by \'virtual:world\', not found\n"', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:41
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

I also tried to add libudev0-shim as a makedepend, but this didn't resolve the issue

Mckol commented on 2020-06-10 11:34 (UTC)

Added python as makedepend

SolarAquarion commented on 2020-06-09 22:51 (UTC)

python is a makedepend

Mckol commented on 2019-08-11 12:59 (UTC) (edited on 2019-08-11 18:25 (UTC) by Mckol)

I've ended up taking some ideas from your PKGBUILD (install is really convenient for binaries since it makes them executable by default) and the dependencies (thanks a lot for that) and incorporating that into the current pkgbuild, I'll upload it soon as I'm still not entirely done and testing some stuff

flacks commented on 2019-08-09 00:37 (UTC) (edited on 2019-08-09 00:38 (UTC) by flacks)

You're welcome - Haha, everyone has their own formatting style. I just do what I think looks and works best with a focus on minimalism/KISS. The real important things to note, though, are 1) complete depends and makedepends arrays, and 2) a new veloren-chat-cli binary that gets built. If you only do a cargo build from the root workspace (as in build() below), you'll build all three of this release's binaries. Re: veloren-git, you can credit me if you think it's appropriate! :)

Mckol commented on 2019-08-09 00:03 (UTC)

Thank you, I've quickly made the changes you suggested regarding the convention before seeing this comment, but your PKGBUILD looks way cleaner than mine, I'm gonna use most of it. I'll probably copy the package() method to veloren-git, should I also credit you there?

flacks commented on 2019-08-08 19:46 (UTC) (edited on 2019-08-08 22:43 (UTC) by flacks)

Here's a working PKGBUILD with a complete dependency list and updated desktop entry:

# Contributor: Jean Lucas <jean@4ray.co>

pkgname=veloren
pkgver=0.3.0
pkgrel=6
pkgdesc='Open-world, open-source, multiplayer voxel RPG'
arch=(i686 x86_64)
url=https://veloren.net
_git=https://gitlab.com/veloren/veloren
license=(GPL3)
depends=(gtk3)
makedepends=(git git-lfs rustup cairo alsa-lib pango atk gdk-pixbuf2)
source=(git+$_git#tag=v$pkgver
        veloren.desktop
        veloren.png)
sha512sums=('SKIP'
            'efeee59ef68e88f687aaf450f59de4136f4d871ab66cdccf75054e9439c9bcc02e02ad6ccce8c11cc9d5c1f94b4d080086eee8cec09d5e6ace8e5e085fe7936e'
            'b5e5cbf28ab0e335f5a0fc93511fc9936360432a36e35cc876761601abacf257299deb0af6b3d9081143b700f6663c4f603970155dd4dacedb7a9672cde1dc94')

prepare() {
  cd veloren
  # Download large assets
  git remote set-url origin $_git
  git lfs install
  git lfs fetch
  git lfs checkout
}

build() {
  cd veloren
  cargo build --release
}

package() {
  cd veloren

  install -D target/release/veloren-{voxygen,chat-cli,server-cli} -t "$pkgdir"/usr/bin

  install -d "$pkgdir"/usr/share/veloren
  cp -a {assets,voxygen/shaders} "$pkgdir"/usr/share/veloren

  install -Dm 644 ../veloren.desktop -t "$pkgdir"/usr/share/applications
  install -Dm 644 ../veloren.png -t "$pkgdir"/usr/share/pixmaps

  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/veloren
}
[Desktop Entry]
Version=1.0
Type=Application
Name=Veloren
Comment=Open-world, open-source, multiplayer voxel RPG
Exec=veloren-voxygen
Icon=veloren
Categories=Game;
Terminal=true

flacks commented on 2019-08-08 16:01 (UTC) (edited on 2019-08-08 18:41 (UTC) by flacks)

Hi there! Since Veloren is libre software, by convention, this package should be built from source, and binary distributions of the package should have '-bin' appended to the AUR package name.

Mckol commented on 2019-08-05 17:50 (UTC)

I've fixed both issues

grayich commented on 2019-08-05 14:41 (UTC) (edited on 2019-08-05 14:42 (UTC) by grayich)

==> Starting package()...
cp: cannot stat '/home/gray/veloren/src/veloren-voxygen-run': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

ax34 commented on 2019-08-05 01:29 (UTC)

...
==> Validating source files with sha512sums...
    veloren ... Passed
    voxygen.desktop ... FAILED
    voxygen.png ... Passed
==> ERROR: One or more files did not pass the validity check!

sha512sum of your voxygen.desktop is 209a1c66fcdb932df5472084e42213ee4820f07066a189f5ccb0f1a62becff3cdbaf4e00bc15534b287b02bccc1faa792649a1eff8b2d6d218b8b3692ed3a703 while sha512sum in PKGBUILD is 88f067450ada7cd774435b196319d820d99f60e9f0c0561b6ae99191b969b00e2573d47445327e3a4d0bf733dd937d5f804f91f5ce7001f79077a8a8e4f9757d