Package Details: alvr 20.7.1-2

Git Clone URL: https://aur.archlinux.org/alvr.git (read-only, click to copy)
Package Base: alvr
Description: Experimental Linux version of ALVR. Stream VR games from your PC to your headset via Wi-Fi.
Upstream URL: https://github.com/alvr-org/ALVR
Licenses: MIT
Conflicts: alvr
Provides: alvr
Submitter: m00nw4tch3r
Maintainer: m00nw4tch3r (alvrbot1)
Last Packager: m00nw4tch3r
Votes: 21
Popularity: 0.29
First Submitted: 2021-09-23 21:53 (UTC)
Last Updated: 2024-04-11 19:40 (UTC)

Pinned Comments

m00nw4tch3r commented on 2023-09-28 04:38 (UTC) (edited on 2023-12-30 22:58 (UTC) by m00nw4tch3r)

Might be possible to do something about that with: https://github.com/ValveSoftware/steam-runtime/blob/master/doc/steamlinuxruntime-known-issues.md#sharing-directories-with-the-container

But you can also just force steamvr to launch without a runtime. (https://github.com/Scrumplex/Steam-Play-None)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

hcjl commented on 2023-05-11 13:31 (UTC) (edited on 2023-05-11 18:36 (UTC) by hcjl)

Unfortunately I receive an error during build. This problem does not occur building the git version of the package. It would be great, if you could have a look at the issue. Thx!


   Compiling alcro v0.5.4
The following warnings were emitted during compilation:

warning: In file included from ./layer/settings.cpp:1:
warning: ./layer/settings.h:24:9: error: 'uint32_t' does not name a type
warning:    24 |         uint32_t m_renderWidth;
warning:       |         ^~~~~~~~
warning: ./layer/settings.h:4:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
warning:     3 | #include <string>
warning:   +++ |+#include <cstdint>
warning:     4 |
warning: ./layer/settings.h:25:9: error: 'uint32_t' does not name a type
warning:    25 |         uint32_t m_renderHeight;
warning:       |         ^~~~~~~~
warning: ./layer/settings.h:25:9: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
warning: ./layer/settings.cpp: In member function 'void Settings::Load()':
warning: ./layer/settings.cpp:47:17: error: 'm_renderWidth' was not declared in this scope
warning:    47 |                 m_renderWidth = config.get("eye_resolution_width").get<int64_t>() * 2;
warning:       |                 ^~~~~~~~~~~~~
warning: ./layer/settings.cpp:48:17: error: 'm_renderHeight' was not declared in this scope
warning:    48 |                 m_renderHeight = config.get("eye_resolution_height").get<int64_t>();
warning:       |                 ^~~~~~~~~~~~~~

error: failed to run custom build command for `alvr_vulkan_layer v19.1.1 (/home/USER/alvr/src/alvr/alvr/vulkan_layer)`

Caused by:
  process didn't exit successfully: `/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-c409fe71eb722982/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=VULKAN_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_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
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=SYSROOT
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rustc-link-search=native=/usr/lib
  cargo:rustc-link-lib=vulkan
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_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
  cargo:rerun-if-env-changed=LIBUNWIND_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_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
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=SYSROOT
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rustc-link-search=native=/usr/lib
  cargo:rustc-link-lib=unwind
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_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
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = Some("-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = Some("-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/private_data.o" "-c" "./layer/private_data.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/surface_api.o" "-c" "./layer/surface_api.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/settings.o" "-c" "./layer/settings.cpp"
  cargo:warning=In file included from ./layer/settings.cpp:1:
  cargo:warning=./layer/settings.h:24:9: error: 'uint32_t' does not name a type
  cargo:warning=   24 |         uint32_t m_renderWidth;
  cargo:warning=      |         ^~~~~~~~
  cargo:warning=./layer/settings.h:4:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
  cargo:warning=    3 | #include <string>
  cargo:warning=  +++ |+#include <cstdint>
  cargo:warning=    4 |
  cargo:warning=./layer/settings.h:25:9: error: 'uint32_t' does not name a type
  cargo:warning=   25 |         uint32_t m_renderHeight;
  cargo:warning=      |         ^~~~~~~~
  cargo:warning=./layer/settings.h:25:9: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
  cargo:warning=./layer/settings.cpp: In member function 'void Settings::Load()':
  cargo:warning=./layer/settings.cpp:47:17: error: 'm_renderWidth' was not declared in this scope
  cargo:warning=   47 |                 m_renderWidth = config.get("eye_resolution_width").get<int64_t>() * 2;
  cargo:warning=      |                 ^~~~~~~~~~~~~
  cargo:warning=./layer/settings.cpp:48:17: error: 'm_renderHeight' was not declared in this scope
  cargo:warning=   48 |                 m_renderHeight = config.get("eye_resolution_height").get<int64_t>();
  cargo:warning=      |                 ^~~~~~~~~~~~~~
  exit status: 1
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/layer.o" "-c" "./layer/layer.cpp"
  exit status: 0

  --- stderr


  error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/settings.o" "-c" "./layer/settings.cpp" with args "c++" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...

rust default toolchain is stable and I updated right before building.


$ rustup toolchain list
stable-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu

$ rustc -V
rustc 1.69.0 (84c898d65 2023-04-16)

m00nw4tch3r commented on 2023-04-09 22:01 (UTC)

I'll remove the pkgver, not sure why i put that there in the first place tbh. The rest does have a purpose though, so no.

rvasilev commented on 2023-04-07 18:22 (UTC)

Patched layer.h builds without errors.

I wonder if PKGBUILD could be cleaned?

Remove pkgver(){} as stated earlier

Maybe remove sed -i 's:../../../lib64/libalvr_vulkan_layer.so:libalvr_vulkan_layer.so:' alvr/vulkan_layer/layer/alvr_x86_64.json and echo "[profile.release] lto=true" >> Cargo.toml from prepare(){}

Maybe remove all export VARIABLE from build(){}

Replace cargo build ... with cargo xtask build-server --release

With all the cleaning looks like the package builds and runs the same.

CaptainSolidus commented on 2023-04-07 15:49 (UTC)

I can confirm that codedwrench's patches allow the build to finish, and ALVR appears to work identically to the AppImage version.

codedwrench commented on 2023-04-07 12:45 (UTC) (edited on 2023-04-07 12:45 (UTC) by codedwrench)

Seems that patching layer.h to contain: #define VK_LAYER_EXPORT __attribute__((visibility("default")))

does work, but this is probably not the right solution. http://ix.io/4sSQ < here is the patch you would need to your PKGBUILD

And for completeness sake, the patch to the PKGBUILD as well http://ix.io/4sSS

danir.de commented on 2023-04-01 22:40 (UTC) (edited on 2023-04-01 22:41 (UTC) by danir.de)

It's failing for me as well, in the current build, same as what Wupwup is experiencing, a more detailed log:

running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/var/tmp/alvr/src/alvr/alvr/vulkan_layer" "-I" "/var/tmp/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/var/tmp/alvr/src/alvr/target/release/build/alvr_vulkan_layer-2683da789fdafa36/out/./layer/surface_api.o" "-c" "./layer/surface_api.cpp"
cargo:warning=In Datei, eingebunden von ./layer/settings.cpp:9:
cargo:warning=./layer/layer.h:7:12: Fehler: »VK_LAYER_EXPORT« bezeichnet keinen Typ
cargo:warning=    7 | extern "C" VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI_CALL wsi_layer_vkGetDeviceProcAddr(VkDevice device, const char *funcName);
cargo:warning=      |            ^~~~~~~~~~~~~~~
cargo:warning=./layer/layer.h:8:12: Fehler: »VK_LAYER_EXPORT« bezeichnet keinen Typ
cargo:warning=    8 | extern "C" VK_LAYER_EXPORT VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL wsi_layer_vkGetInstanceProcAddr(VkInstance instance, const char *funcName);
cargo:warning=      |            ^~~~~~~~~~~~~~~
exit status: 0
exit status: 0
exit status: 1
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/var/tmp/alvr/src/alvr/alvr/vulkan_layer" "-I" "/var/tmp/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/var/tmp/alvr/src/alvr/target/release/build/alvr_vulkan_layer-2683da789fdafa36/out/./layer/swapchain_api.o" "-c" "./layer/swapchain_api.cpp"
exit status: 0

--- stderr


error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/var/tmp/alvr/src/alvr/alvr/vulkan_layer" "-I" "/var/tmp/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/var/tmp/alvr/src/alvr/target/release/build/alvr_vulkan_layer-2683da789fdafa36/out/./layer/settings.o" "-c" "./layer/settings.cpp" with args "c++" did not execute successfully (status code exit status: 1).

kusoneko commented on 2023-04-01 21:16 (UTC)

I'm having the same issue as Wupwup. It seems something in the newest commits to the AUR is causing the vulkan-layer part of the build to fail.

Also, as stated by artafinde, you should remove the pkgver function and manually put the version into the pkgver variable as it's not a VCS package. And while you're at it, you could get rid of the _tag variable and where it's used instead put v${pkgver} so that if the version updates you only need to update the source, pkgsums and pkgver variables. A non-vcs package doesn't need the .rx.commithash version info stuff at all.

Wupwup commented on 2023-04-01 16:11 (UTC)

The build is failing for me as well.


  error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "/home/wupwup/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/wupwup/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/wupwup/alvr/src/alvr/target/release/build/alvr_vulkan_layer-62bada04649580ce/out/./layer/layer.o" "-c" "./layer/layer.cpp" with args "c++" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...

Northcode commented on 2023-03-21 20:05 (UTC)

running cargo xtask prepare-deps makes the package require more dependencies, so cargo fetch must be run again before running cargo build otherwise it will give an error about missing dependency ab_glyph.

hcjl commented on 2023-02-21 17:44 (UTC)

m00nw4tch3r, thanks a lot for updating this. It would be great, if you could correct pkgrel.