Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] Hyprland-git failed installation #461

Open
GregerForever opened this issue May 2, 2024 · 5 comments
Open

[Issue] Hyprland-git failed installation #461

GregerForever opened this issue May 2, 2024 · 5 comments

Comments

@GregerForever
Copy link

  • I have read the Usage and the Troubleshooting pages of the wiki
  • I have made sure that both my config and system packages are up to date
  • Linux distro: Arch Linux

The issue

After a clean installation of Arch, when starting the automatic installation of dotfiles, the installation gets stuck on the command: yay -S --answerclean=a hyprland-git. The logs suggest that it is swearing at a non-string value. Is this a problem on my part or the installer's?
[alexey@archlinux ~]$ yay -S --answerclean=a hyprland-git
AUR Explicit (1): hyprland-git-0.38.0.r105.582d6233-1
:: PKGBUILD up to date, skipping download: hyprland-git
  1 hyprland-git                             (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/alexey/.cache/yay/hyprland-git
HEAD is now at cd3e853 update SRCINFO
warning: could not open directory 'pkg/': Permission denied
Removing Hyprland/
Removing hyprland-protocols/
Removing pkg/
Skipping repository src/Hyprland
Skipping repository src/wlroots-hyprland
Skipping repository src/hyprland-protocols
Skipping repository src/udis86
Skipping repository src/tracy
Removing tracy/
Removing udis86/
Removing wlroots-hyprland/
  1 hyprland-git                             (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
 -> hyprland-git: No changes -- skipping

:: Proceed with install? [Y/n] y
==> Making package: hyprland-git 0.38.0.r105.582d6233-1 (Thu May  2 08:51:32 2024)
==> Retrieving sources...
  -> Cloning Hyprland git repo...
Cloning into bare repository '/home/alexey/.cache/yay/hyprland-git/Hyprland'...
remote: Enumerating objects: 42077, done.
remote: Counting objects: 100% (6113/6113), done.
remote: Compressing objects: 100% (634/634), done.
remote: Total 42077 (delta 5657), reused 5750 (delta 5478), pack-reused 35964
Receiving objects: 100% (42077/42077), 181.02 MiB | 10.11 MiB/s, done.
Resolving deltas: 100% (32590/32590), done.
  -> Cloning wlroots-hyprland git repo...
Cloning into bare repository '/home/alexey/.cache/yay/hyprland-git/wlroots-hyprland'...
remote: Enumerating objects: 50113, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 50113 (delta 27), reused 40 (delta 12), pack-reused 50051
Receiving objects: 100% (50113/50113), 10.94 MiB | 16.82 MiB/s, done.
Resolving deltas: 100% (39353/39353), done.
  -> Cloning hyprland-protocols git repo...
Cloning into bare repository '/home/alexey/.cache/yay/hyprland-git/hyprland-protocols'...
remote: Enumerating objects: 130, done.
remote: Counting objects: 100% (130/130), done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 130 (delta 64), reused 93 (delta 38), pack-reused 0
Receiving objects: 100% (130/130), 25.27 KiB | 3.61 MiB/s, done.
Resolving deltas: 100% (64/64), done.
  -> Cloning udis86 git repo...
Cloning into bare repository '/home/alexey/.cache/yay/hyprland-git/udis86'...
remote: Enumerating objects: 2477, done.
remote: Counting objects: 100% (63/63), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 2477 (delta 34), reused 46 (delta 20), pack-reused 2414
Receiving objects: 100% (2477/2477), 1.81 MiB | 6.59 MiB/s, done.
Resolving deltas: 100% (1503/1503), done.
  -> Cloning tracy git repo...
Cloning into bare repository '/home/alexey/.cache/yay/hyprland-git/tracy'...
remote: Enumerating objects: 40475, done.
remote: Counting objects: 100% (40474/40474), done.
remote: Compressing objects: 100% (11466/11466), done.
remote: Total 40475 (delta 29000), reused 40041 (delta 28842), pack-reused 1
Receiving objects: 100% (40475/40475), 29.16 MiB | 21.64 MiB/s, done.
Resolving deltas: 100% (29000/29000), done.
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    Hyprland ... Skipped
    wlroots-hyprland ... Skipped
    hyprland-protocols ... Skipped
    udis86 ... Skipped
    tracy ... Skipped
:: (1/1) Parsing SRCINFO: hyprland-git
==> Making package: hyprland-git 0.38.0.r105.582d6233-1 (Thu May  2 08:52:03 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating Hyprland git repo...
  -> Updating wlroots-hyprland git repo...
  -> Updating hyprland-protocols git repo...
  -> Updating udis86 git repo...
  -> Updating tracy git repo...
==> Validating source files with b2sums...
    Hyprland ... Skipped
    wlroots-hyprland ... Skipped
    hyprland-protocols ... Skipped
    udis86 ... Skipped
    tracy ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of Hyprland git repo...
Cloning into 'Hyprland'...
done.
  -> Creating working copy of wlroots-hyprland git repo...
Cloning into 'wlroots-hyprland'...
done.
  -> Creating working copy of hyprland-protocols git repo...
Cloning into 'hyprland-protocols'...
done.
  -> Creating working copy of udis86 git repo...
Cloning into 'udis86'...
done.
  -> Creating working copy of tracy git repo...
Cloning into 'tracy'...
done.
==> Starting prepare()...
Submodule 'subprojects/hyprland-protocols' (https://github.com/hyprwm/hyprland-protocols) registered for path 'subprojects/hyprland-protocols'
Submodule 'subprojects/tracy' (https://github.com/wolfpld/tracy) registered for path 'subprojects/tracy'
Submodule 'subprojects/udis86' (https://github.com/canihavesomecoffee/udis86) registered for path 'subprojects/udis86'
Submodule 'subprojects/wlroots-hyprland' (https://github.com/hyprwm/wlroots-hyprland) registered for path 'subprojects/wlroots-hyprland'
Cloning into '/home/alexey/.cache/yay/hyprland-git/src/Hyprland/subprojects/hyprland-protocols'...
done.
Cloning into '/home/alexey/.cache/yay/hyprland-git/src/Hyprland/subprojects/tracy'...
done.
Cloning into '/home/alexey/.cache/yay/hyprland-git/src/Hyprland/subprojects/udis86'...
done.
Cloning into '/home/alexey/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots-hyprland'...
done.
Submodule path 'subprojects/hyprland-protocols': checked out '0c2ce70625cb30aef199cb388f99e19a61a6ce03'
Submodule path 'subprojects/tracy': checked out '37aff70dfa50cf6307b3fee6074d627dc2929143'
Submodule path 'subprojects/udis86': checked out '5336633af70f3917760a6d441ff02d93477b0c86'
Submodule path 'subprojects/wlroots-hyprland': checked out '5c1d51c5a2793480f5b6c4341ad0797052aec2ea'
HEAD is now at 5c1d51c5 patches: add Nvidia hardware cursors patch (#5)
==> Starting pkgver()...
==> Updated version: hyprland-git 0.39.1.r124.56de72f3-1
==> Sources are ready.
==> Making package: hyprland-git 0.39.1.r124.56de72f3-1 (Thu May  2 08:52:11 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
The Meson build system
Version: 1.4.0
Source dir: /home/alexey/.cache/yay/hyprland-git/src/Hyprland
Build dir: /home/alexey/.cache/yay/hyprland-git/src/Hyprland/build
Build type: native build
Project name: Hyprland
Project version: 0.39.1
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20240417")
C linker for the host machine: cc ld.bfd 2.42.0
C++ compiler for the host machine: c++ (gcc 13.2.1 "c++ (GCC) 13.2.1 20240417")
C++ linker for the host machine: c++ ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -std=c++23: YES 
meson.build:16: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23".
Check usable header "execinfo.h" : YES 

Executing subproject wlroots-hyprland 

wlroots-hyprland| Project name: wlroots
wlroots-hyprland| Project version: 0.18.0-dev
wlroots-hyprland| C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20240417")
wlroots-hyprland| C linker for the host machine: cc ld.bfd 2.42.0
wlroots-hyprland| Compiler for C supports arguments -Wundef: YES
wlroots-hyprland| Compiler for C supports arguments -Wlogical-op: YES
wlroots-hyprland| Compiler for C supports arguments -Wmissing-include-dirs: YES
wlroots-hyprland| Compiler for C supports arguments -Wold-style-definition: YES
wlroots-hyprland| Compiler for C supports arguments -Wpointer-arith: YES
wlroots-hyprland| Compiler for C supports arguments -Winit-self: YES
wlroots-hyprland| Compiler for C supports arguments -Wstrict-prototypes: YES
wlroots-hyprland| Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
wlroots-hyprland| Compiler for C supports arguments -Wendif-labels: YES
wlroots-hyprland| Compiler for C supports arguments -Wstrict-aliasing=2: YES
wlroots-hyprland| Compiler for C supports arguments -Woverflow: YES
wlroots-hyprland| Compiler for C supports arguments -Wmissing-prototypes: YES
wlroots-hyprland| Compiler for C supports arguments -Walloca: YES
wlroots-hyprland| Compiler for C supports arguments -Wno-missing-braces: YES
wlroots-hyprland| Compiler for C supports arguments -Wno-missing-field-initializers: YES
wlroots-hyprland| Compiler for C supports arguments -Wno-unused-parameter: YES
wlroots-hyprland| Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
wlroots-hyprland| Found pkg-config: YES (/sbin/pkg-config) 2.1.1
wlroots-hyprland| Run-time dependency wayland-server found: YES 1.22.0
wlroots-hyprland| Run-time dependency libdrm found: YES 2.4.120
wlroots-hyprland| Run-time dependency xkbcommon found: YES 1.7.0
wlroots-hyprland| Run-time dependency pixman-1 found: YES 0.43.4
wlroots-hyprland| Library m found: YES
wlroots-hyprland| Library rt found: YES
wlroots-hyprland| Run-time dependency wayland-protocols found: YES 1.35
wlroots-hyprland| Build-time dependency wayland-scanner found: YES 1.22.0
wlroots-hyprland| Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
wlroots-hyprland| Has header "linux/dma-buf.h" : YES
wlroots-hyprland| Run-time dependency egl found: YES 1.5
wlroots-hyprland| Run-time dependency gbm found: YES 24.0.6-arch1.2
wlroots-hyprland| Run-time dependency glesv2 found: YES 3.2
wlroots-hyprland| Program ./embed.sh found: YES (/home/alexey/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots-hyprland/render/gles2/shaders/./embed.sh)
wlroots-hyprland| Dependency pixman-1 found: YES 0.43.4 (cached)
wlroots-hyprland| Dependency gbm found: YES 24.0.6-arch1.2 (cached)
wlroots-hyprland| Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES
wlroots-hyprland| Run-time dependency libudev found: YES 255
wlroots-hyprland| Run-time dependency libseat found: YES 0.8.0
wlroots-hyprland| Build-time dependency hwdata found: YES 0.381
wlroots-hyprland| Run-time dependency libdisplay-info found: YES 0.1.1
wlroots-hyprland| Run-time dependency libliftoff found: YES 0.4.1
wlroots-hyprland| Run-time dependency libinput found: YES 1.25.0
wlroots-hyprland| Run-time dependency xcb found: YES 1.17.0
wlroots-hyprland| Run-time dependency xcb-dri3 found: YES 1.17.0
wlroots-hyprland| Run-time dependency xcb-present found: YES 1.17.0
wlroots-hyprland| Run-time dependency xcb-render found: YES 1.17.0
wlroots-hyprland| Run-time dependency xcb-renderutil found: YES 0.3.10
wlroots-hyprland| Run-time dependency xcb-shm found: YES 1.17.0
wlroots-hyprland| Run-time dependency xcb-xfixes found: YES 1.17.0
wlroots-hyprland| Run-time dependency xcb-xinput found: YES 1.17.0
wlroots-hyprland| Run-time dependency wayland-client found: YES 1.22.0
wlroots-hyprland| Run-time dependency xwayland found: YES 23.2.6
wlroots-hyprland| Dependency xcb found: YES 1.17.0 (cached)
wlroots-hyprland| Run-time dependency xcb-composite found: YES 1.17.0
wlroots-hyprland| Run-time dependency xcb-ewmh found: YES 0.4.2
wlroots-hyprland| Run-time dependency xcb-icccm found: YES 0.4.2
wlroots-hyprland| Dependency xcb-render found: YES 1.17.0 (cached)
wlroots-hyprland| Run-time dependency xcb-res found: YES 1.17.0
wlroots-hyprland| Dependency xcb-xfixes found: YES 1.17.0 (cached)
wlroots-hyprland| Run-time dependency xcb-errors found: YES 1.0.1
wlroots-hyprland| Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-ewmh, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES
wlroots-hyprland| Configuring config.h using configuration
wlroots-hyprland| Configuring version.h using configuration
wlroots-hyprland| Configuring config.h using configuration
wlroots-hyprland| Message: Patches found. Applying...
wlroots-hyprland| Build targets in project: 136
wlroots-hyprland| Subproject wlroots-hyprland finished.

Dependency xcb found: YES 1.17.0 (cached)

Executing subproject udis86 method cmake 

udis86| Found CMake: /sbin/cmake (3.29.2)

| Configuring the build directory with CMake version 3.29.2
| Running CMake with: -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
|   - build directory:          /home/alexey/.cache/yay/hyprland-git/src/Hyprland/build/subprojects/udis86/__CMake_build
|   - source directory:         /home/alexey/.cache/yay/hyprland-git/src/Hyprland/subprojects/udis86
|   - toolchain file:           /home/alexey/.cache/yay/hyprland-git/src/Hyprland/build/subprojects/udis86/__CMake_build/CMakeMesonToolchainFile.cmake
|   - preload file:             /usr/lib/python3.12/site-packages/mesonbuild/cmake/data/preload.cmake
|   - trace args:               --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt
|   - disabled policy warnings: [CMP0025, CMP0047, CMP0056, CMP0060, CMP0065, CMP0066, CMP0067, CMP0082, CMP0089, CMP0102]

| CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:922 (file):
| Policy CMP0159 is not set: file(STRINGS) with REGEX updates
| CMAKE_MATCH_<n>.  Run "cmake --help-policy CMP0159" for policy details.
| Use the cmake_policy command to set the policy and suppress this warning.

| For compatibility, CMake is leaving CMAKE_MATCH_<n> unchanged.
| Call Stack (most recent call first):
| /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:13 (CMAKE_DETERMINE_COMPILER_ID_CHECK)
| /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)
| /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)
| CMakeLists.txt:2 (project)
| This warning is for project developers.  Use -Wno-dev to suppress it.
| Put cmake in trace mode, but with variables expanded.
| Put cmake in trace mode and sets the trace output format.
| Not searching for unused variables given on the command line.
| Put cmake in trace mode and redirect trace output to a file instead of stderr.
| Trace will be written to cmake_trace.txt

| -- The C compiler identification is GNU 13.2.1
| -- Detecting C compiler ABI info
| -- Detecting C compiler ABI info - done
| CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:92 (file):
| Policy CMP0159 is not set: file(STRINGS) with REGEX updates
| CMAKE_MATCH_<n>.  Run "cmake --help-policy CMP0159" for policy details.
| Use the cmake_policy command to set the policy and suppress this warning.

| For compatibility, CMake is leaving CMAKE_MATCH_<n> unchanged.
| Call Stack (most recent call first):
| /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)
| CMakeLists.txt:2 (project)
| This warning is for project developers.  Use -Wno-dev to suppress it.

| -- Check for working C compiler: /sbin/cc - skipped
| -- Detecting C compile features
| -- Detecting C compile features - done
| -- Found Python3: /sbin/python3.12 (found version "3.12.3") found components: Interpreter
| Building itab.c/itab.h...
| -- Configuring done (1.2s)
| CMake Warning (dev) at libudis86/CMakeLists.txt:30 (add_library):
| Policy CMP0156 is not set: De-duplicate libraries on link lines based on
| linker capabilities.  Run "cmake --help-policy CMP0156" for policy details.
| Use the cmake_policy command to set the policy and suppress this warning.

| Since the policy is not set, legacy libraries de-duplication strategy will
| be applied.
| This warning is for project developers.  Use -Wno-dev to suppress it.

| CMake Warning (dev) at udcli/CMakeLists.txt:4 (add_executable):
| Policy CMP0156 is not set: De-duplicate libraries on link lines based on
| linker capabilities.  Run "cmake --help-policy CMP0156" for policy details.
| Use the cmake_policy command to set the policy and suppress this warning.

| Since the policy is not set, legacy libraries de-duplication strategy will
| be applied.
| This warning is for project developers.  Use -Wno-dev to suppress it.

| -- Generating done (0.0s)
| -- Build files have been written to: /home/alexey/.cache/yay/hyprland-git/src/Hyprland/build/subprojects/udis86/__CMake_build

udis86| CMake configuration: SUCCEEDED
udis86| CMake project udis86  has 3 build targets.
udis86| Generated Meson AST: /home/alexey/.cache/yay/hyprland-git/src/Hyprland/build/subprojects/udis86/meson.build
udis86| Project name: udis86
udis86| Project version: undefined
udis86| C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20240417")
udis86| C linker for the host machine: cc ld.bfd 2.42.0
udis86| Build targets in project: 138
udis86| Subproject udis86 finished.

Library execinfo found: NO
Found CMake: /sbin/cmake (3.29.2)
Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Dependency wayland-protocols found: YES 1.35 (cached)
Run-time dependency hyprland-protocols found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency hyprland-protocols

Executing subproject hyprland-protocols 

hyprland-protocols| Project name: hyprland-protocols
hyprland-protocols| Project version: 0.2
hyprland-protocols| Configuring hyprland-protocols.pc using configuration
hyprland-protocols| Build targets in project: 138
hyprland-protocols| Subproject hyprland-protocols finished.

Dependency hyprland-protocols found: YES 0.2 (overridden)
Dependency wayland-scanner found: YES 1.22.0 (cached)
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Build-time dependency hyprwayland-scanner found: YES 0.3.3
Program /usr/bin/hyprwayland-scanner found: YES (/usr/bin/hyprwayland-scanner)
Dependency wayland-server found: YES 1.22.0 (cached)
Dependency wayland-server found: YES 1.22.0 (cached)
Dependency wayland-client found: YES 1.22.0 (cached)
Run-time dependency cairo found: YES 1.18.0
Run-time dependency hyprcursor found: YES 0.1.7
Run-time dependency hyprlang found: YES 0.5.1
Dependency libdrm found: YES 2.4.120 (cached)
Dependency egl found: YES 1.5 (cached)
Dependency xkbcommon found: YES 1.7.0 (cached)
Dependency libinput found: YES 1.25.0 (cached)
Dependency pixman-1 found: YES 0.43.4 (cached)
Run-time dependency gl found: YES 1.2
Run-time dependency threads found: YES
Run-time dependency pango found: YES 1.52.2
Run-time dependency pangocairo found: YES 1.52.2
Run-time dependency uuid found: YES 2.40.0
Dependency threads found: YES unknown (cached)
Run-time dependency tomlplusplus found: YES 3.4.0
Build targets in project: 178

wlroots 0.18.0-dev

    drm-backend     : YES
    x11-backend     : YES
    libinput-backend: YES
    xwayland        : YES
    gles2-renderer  : YES
    vulkan-renderer : NO
    gbm-allocator   : YES
    session         : YES
    xcb-errors      : YES
    egl             : YES
    libliftoff      : YES

Hyprland 0.39.1

  Subprojects
    hyprland-protocols: YES
    udis86            : YES
    wlroots-hyprland  : YES

  User defined options
    buildtype         : release
    default_library   : shared
    libexecdir        : lib
    prefix            : /usr
    sbindir           : bin
    wrap_mode         : nodownload
    b_lto             : true
    b_pie             : true
    systemd           : enabled
    xwayland          : enabled

Found ninja-1.12.0 at /sbin/ninja
INFO: autodetecting backend as ninja                                                 
INFO: calculating backend command to run: /sbin/ninja -C /home/alexey/.cache/yay/hyprland-git/src/Hyprland/build
ninja: Entering directory `/home/alexey/.cache/yay/hyprland-git/src/Hyprland/build'
[154/521] Compiling C object subprojects/udis86/liblibudis86.a.p/libudis86_decode.c.o
../subprojects/udis86/libudis86/decode.c: In function ‘decode_operand’:
../subprojects/udis86/libudis86/decode.c:1959:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1959 |       u->br_far  = 1;
      |       ~~~~~~~~~~~^~~
../subprojects/udis86/libudis86/decode.c:1961:5: note: here
 1961 |     case OP_M:
      |     ^~~~
../subprojects/udis86/libudis86/decode.c:1962:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1962 |       if (MODRM_MOD(modrm(u)) == 3) {
      |          ^
../subprojects/udis86/libudis86/decode.c:1966:5: note: here
 1966 |     case OP_E:
      |     ^~~~
../subprojects/udis86/libudis86/decode.c:1992:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1992 |       if (MODRM_MOD(modrm(u)) != 3) {
      |          ^
../subprojects/udis86/libudis86/decode.c:1996:5: note: here
 1996 |     case OP_Q:
      |     ^~~~
../subprojects/udis86/libudis86/decode.c:2003:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2003 |       if (MODRM_MOD(modrm(u)) != 3) {
      |          ^
../subprojects/udis86/libudis86/decode.c:2007:9: note: here
 2007 |         case OP_W:
      |         ^~~~
[368/521] Compiling C++ object protocols/...ed_.._wlr-gamma-control-unstable-v1.cpp.o
FAILED: protocols/libserver_protos.a.p/meson-generated_.._wlr-gamma-control-unstable-v1.cpp.o 
c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -DHAS_EXECINFO -DUSES_SYSTEMD -std=c++23 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alexey/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._wlr-gamma-control-unstable-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._wlr-gamma-control-unstable-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._wlr-gamma-control-unstable-v1.cpp.o -c protocols/wlr-gamma-control-unstable-v1.cpp
In file included from protocols/wlr-gamma-control-unstable-v1.cpp:36:
protocols/wlr-gamma-control-unstable-v1.hpp: In member function ‘void CZwlrGammaControlManagerV1::error(uint32_t, const std::string&)’:
protocols/wlr-gamma-control-unstable-v1.hpp:92:31: error: format not a string literal and no format arguments [-Werror=format-security]
   92 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/wlr-gamma-control-unstable-v1.hpp: In member function ‘void CZwlrGammaControlV1::error(uint32_t, const std::string&)’:
protocols/wlr-gamma-control-unstable-v1.hpp:164:31: error: format not a string literal and no format arguments [-Werror=format-security]
  164 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[369/521] Compiling C++ object protocols/...ign-toplevel-management-unstable-v1.cpp.o
FAILED: protocols/libserver_protos.a.p/meson-generated_.._wlr-foreign-toplevel-management-unstable-v1.cpp.o 
c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -DHAS_EXECINFO -DUSES_SYSTEMD -std=c++23 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alexey/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._wlr-foreign-toplevel-management-unstable-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._wlr-foreign-toplevel-management-unstable-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._wlr-foreign-toplevel-management-unstable-v1.cpp.o -c protocols/wlr-foreign-toplevel-management-unstable-v1.cpp
In file included from protocols/wlr-foreign-toplevel-management-unstable-v1.cpp:35:
protocols/wlr-foreign-toplevel-management-unstable-v1.hpp: In member function ‘void CZwlrForeignToplevelManagerV1::error(uint32_t, const std::string&)’:
protocols/wlr-foreign-toplevel-management-unstable-v1.hpp:98:31: error: format not a string literal and no format arguments [-Werror=format-security]
   98 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/wlr-foreign-toplevel-management-unstable-v1.hpp: In member function ‘void CZwlrForeignToplevelHandleV1::error(uint32_t, const std::string&)’:
protocols/wlr-foreign-toplevel-management-unstable-v1.hpp:170:31: error: format not a string literal and no format arguments [-Werror=format-security]
  170 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[370/521] Compiling C++ object protocols/.../meson-generated_.._cursor-shape-v1.cpp.o
FAILED: protocols/libserver_protos.a.p/meson-generated_.._cursor-shape-v1.cpp.o 
c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -DHAS_EXECINFO -DUSES_SYSTEMD -std=c++23 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alexey/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._cursor-shape-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._cursor-shape-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._cursor-shape-v1.cpp.o -c protocols/cursor-shape-v1.cpp
In file included from protocols/cursor-shape-v1.cpp:32:
protocols/cursor-shape-v1.hpp: In member function ‘void CWpCursorShapeManagerV1::error(uint32_t, const std::string&)’:
protocols/cursor-shape-v1.hpp:125:31: error: format not a string literal and no format arguments [-Werror=format-security]
  125 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/cursor-shape-v1.hpp: In member function ‘void CWpCursorShapeDeviceV1::error(uint32_t, const std::string&)’:
protocols/cursor-shape-v1.hpp:199:31: error: format not a string literal and no format arguments [-Werror=format-security]
  199 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[371/521] Compiling C++ object protocols/...on-generated_.._fractional-scale-v1.cpp.o
FAILED: protocols/libserver_protos.a.p/meson-generated_.._fractional-scale-v1.cpp.o 
c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -DHAS_EXECINFO -DUSES_SYSTEMD -std=c++23 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alexey/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._fractional-scale-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._fractional-scale-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._fractional-scale-v1.cpp.o -c protocols/fractional-scale-v1.cpp
In file included from protocols/fractional-scale-v1.cpp:33:
protocols/fractional-scale-v1.hpp: In member function ‘void CWpFractionalScaleManagerV1::error(uint32_t, const std::string&)’:
protocols/fractional-scale-v1.hpp:89:31: error: format not a string literal and no format arguments [-Werror=format-security]
   89 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/fractional-scale-v1.hpp: In member function ‘void CWpFractionalScaleV1::error(uint32_t, const std::string&)’:
protocols/fractional-scale-v1.hpp:161:31: error: format not a string literal and no format arguments [-Werror=format-security]
  161 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[372/521] Compiling C++ object protocols/...output-power-management-unstable-v1.cpp.o
FAILED: protocols/libserver_protos.a.p/meson-generated_.._wlr-output-power-management-unstable-v1.cpp.o 
c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -DHAS_EXECINFO -DUSES_SYSTEMD -std=c++23 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alexey/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._wlr-output-power-management-unstable-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._wlr-output-power-management-unstable-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._wlr-output-power-management-unstable-v1.cpp.o -c protocols/wlr-output-power-management-unstable-v1.cpp
In file included from protocols/wlr-output-power-management-unstable-v1.cpp:33:
protocols/wlr-output-power-management-unstable-v1.hpp: In member function ‘void CZwlrOutputPowerManagerV1::error(uint32_t, const std::string&)’:
protocols/wlr-output-power-management-unstable-v1.hpp:94:31: error: format not a string literal and no format arguments [-Werror=format-security]
   94 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/wlr-output-power-management-unstable-v1.hpp: In member function ‘void CZwlrOutputPowerV1::error(uint32_t, const std::string&)’:
protocols/wlr-output-power-management-unstable-v1.hpp:166:31: error: format not a string literal and no format arguments [-Werror=format-security]
  166 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[373/521] Compiling C++ object protocols/...son-generated_.._tearing-control-v1.cpp.o
FAILED: protocols/libserver_protos.a.p/meson-generated_.._tearing-control-v1.cpp.o 
c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -DHAS_EXECINFO -DUSES_SYSTEMD -std=c++23 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alexey/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._tearing-control-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._tearing-control-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._tearing-control-v1.cpp.o -c protocols/tearing-control-v1.cpp
In file included from protocols/tearing-control-v1.cpp:33:
protocols/tearing-control-v1.hpp: In member function ‘void CWpTearingControlManagerV1::error(uint32_t, const std::string&)’:
protocols/tearing-control-v1.hpp:94:31: error: format not a string literal and no format arguments [-Werror=format-security]
   94 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/tearing-control-v1.hpp: In member function ‘void CWpTearingControlV1::error(uint32_t, const std::string&)’:
protocols/tearing-control-v1.hpp:166:31: error: format not a string literal and no format arguments [-Werror=format-security]
  166 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[374/521] Compiling C++ object protocols/...generated_.._xdg-output-unstable-v1.cpp.o
FAILED: protocols/libserver_protos.a.p/meson-generated_.._xdg-output-unstable-v1.cpp.o 
c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -DHAS_EXECINFO -DUSES_SYSTEMD -std=c++23 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alexey/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._xdg-output-unstable-v1.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._xdg-output-unstable-v1.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._xdg-output-unstable-v1.cpp.o -c protocols/xdg-output-unstable-v1.cpp
In file included from protocols/xdg-output-unstable-v1.cpp:33:
protocols/xdg-output-unstable-v1.hpp: In member function ‘void CZxdgOutputManagerV1::error(uint32_t, const std::string&)’:
protocols/xdg-output-unstable-v1.hpp:85:31: error: format not a string literal and no format arguments [-Werror=format-security]
   85 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/xdg-output-unstable-v1.hpp: In member function ‘void CZxdgOutputV1::error(uint32_t, const std::string&)’:
protocols/xdg-output-unstable-v1.hpp:157:31: error: format not a string literal and no format arguments [-Werror=format-security]
  157 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
[375/521] Compiling C++ object protocols/...nerated_.._input-method-unstable-v2.cpp.o
FAILED: protocols/libserver_protos.a.p/meson-generated_.._input-method-unstable-v2.cpp.o 
c++ -Iprotocols/libserver_protos.a.p -Iprotocols -I../protocols -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -DHAS_EXECINFO -DUSES_SYSTEMD -std=c++23 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/alexey/.cache/yay/hyprland-git/src=/usr/src/debug/hyprland-git -flto=auto -fPIC -MD -MQ protocols/libserver_protos.a.p/meson-generated_.._input-method-unstable-v2.cpp.o -MF protocols/libserver_protos.a.p/meson-generated_.._input-method-unstable-v2.cpp.o.d -o protocols/libserver_protos.a.p/meson-generated_.._input-method-unstable-v2.cpp.o -c protocols/input-method-unstable-v2.cpp
In file included from protocols/input-method-unstable-v2.cpp:39:
protocols/input-method-unstable-v2.hpp: In member function ‘void CZwpInputMethodV2::error(uint32_t, const std::string&)’:
protocols/input-method-unstable-v2.hpp:99:31: error: format not a string literal and no format arguments [-Werror=format-security]
   99 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/input-method-unstable-v2.hpp: In member function ‘void CZwpInputPopupSurfaceV2::error(uint32_t, const std::string&)’:
protocols/input-method-unstable-v2.hpp:188:31: error: format not a string literal and no format arguments [-Werror=format-security]
  188 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/input-method-unstable-v2.hpp: In member function ‘void CZwpInputMethodKeyboardGrabV2::error(uint32_t, const std::string&)’:
protocols/input-method-unstable-v2.hpp:259:31: error: format not a string literal and no format arguments [-Werror=format-security]
  259 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/input-method-unstable-v2.hpp: In member function ‘void CZwpInputMethodManagerV2::error(uint32_t, const std::string&)’:
protocols/input-method-unstable-v2.hpp:333:31: error: format not a string literal and no format arguments [-Werror=format-security]
  333 |         wl_resource_post_error(pResource, error, message.c_str());
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: hyprland-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
hyprland-git - exit status 4
@pepperonipizzah
Copy link

same problem...

@idiom444
Copy link

idiom444 commented May 3, 2024

Also same issue but it happens regardless of using the script or pacman so I dont think it is an end-4 issue. After hours of troubleshooting I skipped it and ran yay -S hyprland.

After loading in I have many issues but they seem to be ags related not hyprland.

@thegouhund
Copy link

Update your hyprwayland-scanner-git with
yay -S hyprwayland-scanner-git

https://aur.archlinux.org/packages/hyprland-git#comment-970938

@b4shful
Copy link
Contributor

b4shful commented May 9, 2024

@clsty @end-4 FYI: it should probably be noted/documented somewhere as a troubleshooting step in some of these issues to run rm -rf ~/.cache/yay/ or something of the sort

[I didn't experience precisely the issue here, but had some very similar issues of the same type with a few hypr* package builds (one such being hyprlock-git)]

I had been experiencing issues after an update, and no amount of cleanBuilding/git pulling/uninstalling/reinstalling helped me out, I could have sworn what I was doing was recloning the repo and not using the cache! But alas, as soon as I nuked yay's cache folder (~/.cache/yay/) and ran the install script again everything worked fine 😆

end-4 added a commit to end-4/dots-hyprland-wiki that referenced this issue May 10, 2024
@end-4
Copy link
Owner

end-4 commented May 10, 2024

@b4shful thanks, added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants