hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.65k stars 902 forks source link

Hyprpm Update Fail #5480

Closed blacklightpy closed 7 months ago

blacklightpy commented 7 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch HEAD at commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 (props: bump ver to 0.35.0). Date: Mon Feb 5 01:59:02 2024 Tag: v0.35.0 flags: (if any) System Information: System name: Linux Node name: void Release: 6.6.21_1 Version: #1 SMP PREEMPT_DYNAMIC Fri Mar 8 01:01:43 UTC 2024 GPU information: os-release: NAME="Void" ID="void" PRETTY_NAME="Void Linux" HOME_URL="https://voidlinux.org/" DOCUMENTATION_URL="https://docs.voidlinux.org/" LOGO="void-logo" ANSI_COLOR="0;38;2;71;128;97" DISTRIB_ID="void" plugins: ```

Bug or Regression?

Bug

Description

This is similar to #4479, but on Void Linux (musl).

I assumed that this will update Hyprland itself.. but perhaps I have to update Hyprland separately before running this?

jyothish@void ~ [1]> hyprpm update -v
[v] version returned: Hyprland, built from branch HEAD at commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47  (props: bump ver to 0.35.0).
Date: Mon Feb 5 01:59:02 2024
Tag: v0.35.0

flags: (if any)

[v] parsed commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 at branch HEAD

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
✔ cloned
[v] git returned: Your branch is up to date with 'origin/main'.
HEAD is now at 84ab8d11 props: bump ver to 0.35.0

✔ checked out to running ver
! configuring Hyprland
[v] setting PREFIX for cmake to /home/jyothish/.local/share/hyprpm/headersRoot
[v] cmake returned: Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
-- Found Python3: /usr/bin/python3.12 (found version "3.12.2") found components: Interpreter
Building itab.c/itab.h...
-- Setting up wlroots
-- Found WaylandScanner at /usr/bin/wayland-scanner
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Configuring Hyprland in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Checking for modules 'wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;libdrm;xkbcommon;libinput;pango;pangocairo;pixman-1'
--   Found wayland-server, version 1.22.0
--   Found wayland-client, version 1.22.0
--   Found wayland-cursor, version 1.22.0
--   Found wayland-protocols, version 1.34
--   Found cairo, version 1.18.0
--   Found libdrm, version 2.4.120
--   Found xkbcommon, version 1.7.0
--   Found libinput, version 1.25.0
--   Found pango, version 1.52.2
--   Found pangocairo, version 1.52.2
--   Found pixman-1, version 0.43.4
-- Looking for execinfo.h
-- Looking for execinfo.h - not found
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for module 'xcb'
--   Found xcb, version 1.16.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined) checking deps...
-- Looking for systemd/sd-daemon.h
-- Looking for systemd/sd-daemon.h - found
-- Checking for module 'libsystemd'
--   Found libsystemd, version 252.9
-- Systemd found
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'tomlplusplus'
--   No package 'tomlplusplus' found
CMake Error at /usr/share/cmake-3.27/Modules/FindPkgConfig.cmake:607 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.27/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
  hyprpm/CMakeLists.txt:12 (pkg_check_modules)

-- Configuring incomplete, errors occurred!

[v] meson returned: The Meson build system
Version: 1.3.2
Source dir: /tmp/hyprpm/hyprland/subprojects/wlroots
Build dir: /tmp/hyprpm/hyprland/subprojects/wlroots/build
Build type: native build
Project name: wlroots
Project version: 0.18.0-dev
C compiler for the host machine: cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Wstrict-aliasing=2: YES
Compiler for C supports arguments -Woverflow: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Walloca: YES
Compiler for C supports arguments -Wno-missing-braces: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency wayland-server found: YES 1.22.0
Run-time dependency libdrm found: YES 2.4.120
Run-time dependency xkbcommon found: YES 1.7.0
Run-time dependency pixman-1 found: YES 0.43.4
Library m found: YES
Library rt found: YES
Run-time dependency wayland-protocols found: YES 1.34
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Has header "linux/dma-buf.h" : YES
Run-time dependency egl found: YES 1.5
Run-time dependency gbm found: YES 24.0.2
Run-time dependency glesv2 found: YES 3.2
Program ./embed.sh found: YES (/tmp/hyprpm/hyprland/subprojects/wlroots/render/gles2/shaders/./embed.sh)
Dependency pixman-1 found: YES 0.43.4 (cached)
Dependency gbm found: YES 24.0.2 (cached)
Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES
Run-time dependency libudev found: YES 251
Run-time dependency libseat found: YES 0.8.0
Build-time dependency hwdata found: YES 0.375
Found CMake: /usr/bin/cmake (3.27.6)
Run-time dependency libdisplay-info found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libdisplay-info
Neither a subproject directory nor a libdisplay-info.wrap file was found.
Subproject  libdisplay-info is buildable: NO (disabling)
Dependency libdisplay-info from subproject libdisplay-info found: NO (subproject failed to configure)
Message: Required for the DRM backend.
Run-time dependency libliftoff found: YES 0.4.1
Run-time dependency libinput found: YES 1.25.0
Run-time dependency xcb found: YES 1.16.1
Run-time dependency xcb-dri3 found: YES 1.16.1
Run-time dependency xcb-present found: YES 1.16.1
Run-time dependency xcb-render found: YES 1.16.1
Run-time dependency xcb-renderutil found: YES 0.3.10
Run-time dependency xcb-shm found: YES 1.16.1
Run-time dependency xcb-xfixes found: YES 1.16.1
Run-time dependency xcb-xinput found: YES 1.16.1
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency xwayland found: YES 23.2.4
Dependency xcb found: YES 1.16.1 (cached)
Run-time dependency xcb-composite found: YES 1.16.1
Run-time dependency xcb-ewmh found: YES 0.4.2
Run-time dependency xcb-icccm found: YES 0.4.2
Dependency xcb-render found: YES 1.16.1 (cached)
Run-time dependency xcb-res found: YES 1.16.1
Dependency xcb-xfixes found: YES 1.16.1 (cached)
Run-time dependency xcb-errors found: YES 1.0.1
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
Configuring config.h using configuration
Configuring version.h using configuration
Configuring config.h using configuration
Build targets in project: 129

wlroots 0.18.0-dev

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

  Subprojects
    libdisplay-info : NO
                      Neither a subproject directory nor a libdisplay-info.wrap file was found.

  User defined options
    examples        : false
    renderers       : gles2

Found ninja-1.11.1 at /usr/bin/ninja

✔ configured Hyprland
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/jyothish/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland/Makefile && cd /tmp/hyprpm/hyprland && make installheaders
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing sources[v] installer returned: mkdir -p /home/jyothish/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/jyothish/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/jyothish/.local/share/hyprpm/headersRoot/include/hyprland/wlroots
mkdir -p /home/jyothish/.local/share/hyprpm/headersRoot/share/pkgconfig
find src -name '*.h*' -print0 | cpio --quiet -0dump /home/jyothish/.local/share/hyprpm/headersRoot/include/hyprland
cd subprojects/wlroots/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/jyothish/.local/share/hyprpm/headersRoot/include/hyprland/wlroots && cd ../../..
cd subprojects/wlroots/build/include && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/jyothish/.local/share/hyprpm/headersRoot/include/hyprland/wlroots && cd ../../../..
cp ./protocols/*-protocol.h /home/jyothish/.local/share/hyprpm/headersRoot/include/hyprland/protocols
cp ./build/hyprland.pc /home/jyothish/.local/share/hyprpm/headersRoot/share/pkgconfig
if [ -d /usr/share/pkgconfig ]; then cp ./build/hyprland.pc /usr/share/pkgconfig 2>/dev/null || true; fi
chmod -R 755 /home/jyothish/.local/share/hyprpm/headersRoot/include/hyprland
chmod 755 /home/jyothish/.local/share/hyprpm/headersRoot/share/pkgconfig

✖ failed to install headers with error code 2
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed

✖ Headers missing. Please run hyprpm update to fix those.

How to reproduce

hyprpm update

Crash reports, logs, images, videos

N/A

vaxerski commented 7 months ago

-- No package 'tomlplusplus' found

also super outdated hyprland

blacklightpy commented 7 months ago

But I had installed toml++ with meson to get the shared libraries. I guess I'll have to use package manager templates.

vaxerski commented 7 months ago

neither void nor 0.35 are supported. Void because they refuse to package it, 0.35 because it's very outdated