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

hyprpm headers version missmatched, error code 4 #8449

Closed
1 task done
aljus7 opened this issue Nov 12, 2024 · 3 comments
Closed
1 task done

hyprpm headers version missmatched, error code 4 #8449

aljus7 opened this issue Nov 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@aljus7
Copy link

aljus7 commented Nov 12, 2024

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Yes

System Info and Version

System/Version info
System Information:
System name: Linux
Node name: aljosa-arch
Release: 6.11.6-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:35 +0000


GPU information: 
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c7) (prog-if 00 [VGA controller])


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:

Description

When running hyprpm update after 0.45 update, i get error code 4 (Header version missmatch). Is that the same as #5612 ?

How to reproduce

[v] version returned: Hyprland 0.45.0 built from branch  at commit  dirty ().
Date: 
Tag: , commits: 
built against aquamarine 0.4.3


flags set:
debug


[v] parsed commit  at branch  on , commits 0

! Cloning https://github.com/hyprwm/Hyprland, this might take a moment.                          
✔ Hyprland cloned                                                                                
[v] will run: cd /tmp/hyprpm/hyprland-aljosa && git checkout  2>&1                               
[v] git returned (co): Your branch is up to date with 'origin/main'.                             

[v] git returned (rs): rm 'subprojects/tracy'                                                    
HEAD is now at bb160cfe makefile: add stub to discourage direct make

✔ checked out to running ver                                                                     
! configuring Hyprland                                                                           
[v] setting PREFIX for cmake to /home/aljosa/.local/share/hyprpm/headersRoot                     
[v] cmake returned: Not searching for unused variables given on the command line.                
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- 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 PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Checking for module 'udis86>=1.7.2'
--   Package 'udis86', required by 'virtual:world', not found
-- Found Python3: /usr/bin/python3.12 (found version "3.12.7") found components: Interpreter
Building itab.c/itab.h...
-- udis86 dependency not found, falling back to subproject
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Found wayland-scanner pkgdatadir at //usr/share/wayland
-- 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 OpenGL: /usr/lib/libOpenGL.so  found components: GLES3
-- Checking for module 'hyprutils>=0.2.4'
--   Found hyprutils, version 0.2.4
-- Checking for module 'aquamarine>=0.4.2'
--   Found aquamarine, version 0.4.5
-- Checking for modules 'xkbcommon;uuid;wayland-server>=1.22.90;wayland-protocols;cairo;pango;pangocairo;pixman-1;xcursor;libdrm;libinput;gbm;gio-2.0;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.2.3'
--   Found xkbcommon, version 1.7.0
--   Found uuid, version 2.40.2
--   Found wayland-server, version 1.23.1
--   Found wayland-protocols, version 1.38
--   Found cairo, version 1.18.2
--   Found pango, version 1.54.0
--   Found pangocairo, version 1.54.0
--   Found pixman-1, version 0.44.0
--   Found xcursor, version 1.2.3
--   Found libdrm, version 2.4.123
--   Found libinput, version 1.26.2
--   Found gbm, version 24.2.6-arch1.1
--   Found gio-2.0, version 2.82.2
--   Found hyprlang, version 0.5.3
--   Found hyprcursor, version 0.1.10
--   Found hyprutils, version 0.2.4
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Configuration supports execinfo
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- Looking for sys/timerfd.h
-- Looking for sys/timerfd.h - found
-- Checking for module 'epoll-shim'
--   Package 'epoll-shim', required by 'virtual:world', not found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for modules 'xcb;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-errors'
--   Found xcb, version 1.17.0
--   Found xcb-render, version 1.17.0
--   Found xcb-xfixes, version 1.17.0
--   Found xcb-icccm, version 0.4.2
--   Found xcb-composite, version 1.17.0
--   Found xcb-res, version 1.17.0
--   Found xcb-errors, version 1.0.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined)...
-- UWSM support is enabled (NO_UWSM not defined)...
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'hyprland-protocols>=0.4.0'
--   Package 'hyprland-protocols', required by 'virtual:world', not found
-- hyprland-protocols subproject set to subprojects/hyprland-protocols
-- Checking for module 'hyprutils>=0.1.1'
--   Found hyprutils, version 0.2.4
-- Checking for modules 'tomlplusplus;hyprutils>=0.2.4'
--   Found tomlplusplus, version 3.4.0
--   Found hyprutils, version 0.2.4
-- Configuring done (1.2s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-aljosa/build

✔ configured Hyprland                                                                            
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/aljosa/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-aljosa/Makefile && cd /tmp/hyprpm/hyprland-aljosa && make installheaders
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing sources[v] installer returned: # remove previous headers from hyprpm's dir
rm -fr /home/aljosa/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/aljosa/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/aljosa/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/aljosa/.local/share/hyprpm/headersRoot/share/pkgconfig
cmake --build ./build --config Release --target generate-protocol-headers
[0/2] Re-checking globbed directories...
[1/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/hyprland-global-shortcuts-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/hyprland-global-shortcuts-v1.hpp
[2/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/text-input-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/text-input-unstable-v1.hpp
[3/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/hyprland-toplevel-export-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/hyprland-toplevel-export-v1.hpp
[4/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wlr-screencopy-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wlr-screencopy-unstable-v1.hpp
[5/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wlr-gamma-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wlr-gamma-control-unstable-v1.hpp
[6/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wlr-foreign-toplevel-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wlr-foreign-toplevel-management-unstable-v1.hpp
[7/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wlr-output-power-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wlr-output-power-management-unstable-v1.hpp
[8/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/virtual-keyboard-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/virtual-keyboard-unstable-v1.hpp
[9/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wlr-virtual-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wlr-virtual-pointer-unstable-v1.hpp
[10/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/input-method-unstable-v2.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/input-method-unstable-v2.hpp
[11/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wlr-output-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wlr-output-management-unstable-v1.hpp
[12/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/kde-server-decoration.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/kde-server-decoration.hpp
[13/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wlr-data-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wlr-data-control-unstable-v1.hpp
[14/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/hyprland-focus-grab-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/hyprland-focus-grab-v1.hpp
[15/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wlr-layer-shell-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wlr-layer-shell-unstable-v1.hpp
[16/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wayland-drm.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wayland-drm.hpp
[17/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/hyprland-ctm-control-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/hyprland-ctm-control-v1.hpp
[18/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/tearing-control-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/tearing-control-v1.hpp
[19/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/fractional-scale-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/fractional-scale-v1.hpp
[20/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/xdg-output-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/xdg-output-unstable-v1.hpp
[21/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/cursor-shape-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/cursor-shape-v1.hpp
[22/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/idle-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/idle-inhibit-unstable-v1.hpp
[23/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/relative-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/relative-pointer-unstable-v1.hpp
[24/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/xdg-decoration-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/xdg-decoration-unstable-v1.hpp
[25/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/alpha-modifier-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/alpha-modifier-v1.hpp
[26/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/ext-foreign-toplevel-list-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/ext-foreign-toplevel-list-v1.hpp
[27/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/pointer-gestures-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/pointer-gestures-unstable-v1.hpp
[28/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/keyboard-shortcuts-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/keyboard-shortcuts-inhibit-unstable-v1.hpp
[29/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/text-input-unstable-v3.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/text-input-unstable-v3.hpp
[30/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/xdg-activation-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/xdg-activation-v1.hpp
[31/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/pointer-constraints-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/pointer-constraints-unstable-v1.hpp
[32/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/ext-idle-notify-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/ext-idle-notify-v1.hpp
[33/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/ext-session-lock-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/ext-session-lock-v1.hpp
[34/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/tablet-v2.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/tablet-v2.hpp
[35/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/presentation-time.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/presentation-time.hpp
[36/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/xdg-shell.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/xdg-shell.hpp
[37/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/xwayland-shell-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/xwayland-shell-v1.hpp
[38/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/primary-selection-unstable-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/primary-selection-unstable-v1.hpp
[39/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/viewporter.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/viewporter.hpp
[40/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/linux-drm-syncobj-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/linux-drm-syncobj-v1.hpp
[41/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/xdg-dialog-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/xdg-dialog-v1.hpp
[42/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/drm-lease-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/drm-lease-v1.hpp
[43/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/security-context-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/security-context-v1.hpp
[44/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/linux-dmabuf-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/linux-dmabuf-v1.hpp
[45/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/single-pixel-buffer-v1.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/single-pixel-buffer-v1.hpp
[46/47] Generating /tmp/hyprpm/hyprland-aljosa/protocols/wayland.cpp, /tmp/hyprpm/hyprland-aljosa/protocols/wayland.hpp
find src -name '*.h*' -print0 | cpio --quiet -0dump /home/aljosa/.local/share/hyprpm/headersRoot/include/hyprland
cp ./protocols/*.h* /home/aljosa/.local/share/hyprpm/headersRoot/include/hyprland/protocols
cp ./build/hyprland.pc /home/aljosa/.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/aljosa/.local/share/hyprpm/headersRoot/include/hyprland
chmod 755 /home/aljosa/.local/share/hyprpm/headersRoot/share/pkgconfig

✖ failed to install headers with error code 4 (Headers version mismatched)                       
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed                               

✖ Headers version mismatch. Please run hyprpm update to fix those.

Crash reports, logs, images, videos

No response

@aljus7 aljus7 added the bug Something isn't working label Nov 12, 2024
@sveatlo
Copy link

sveatlo commented Nov 12, 2024

Same issue. I am also on Arch. --no-shallow nor --force doesn't help.

@Drllap
Copy link

Drllap commented Nov 12, 2024

I have the same issue

@vaxerski
Copy link
Member

PEOPLE CAN YOU PLEASE ACTUALLY SEARCH BEFORE TICKING THIS BOX

image

#8433

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants