Summary: | gui-wm/hyprland-0.42.0-r1 error: redefinition of ‘class Hyprutils::String::CVarList’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ganome |
Component: | Current packages | Assignee: | Julien Roy <julien> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ganome, johnmh, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info hyprland emerge --info hyprland working build.log updated emerge --info gui-wm/hyprland Current booted kernel config |
Description
ganome
2024-08-12 17:50:08 UTC
Created attachment 899994 [details]
build.log
build.log
Created attachment 899995 [details]
emerge --info hyprland
emerge --info '=gui-wm/hyprland-0.42.0-r1::gentoo'
FAILED: src/Hyprland.p/config_ConfigManager.cpp.o x86_64-pc-linux-gnu-g++ -Isrc/Hyprland.p -Isrc -I../hyprland-source/src -Isubprojects/udis86 -I../hyprland-source/subprojects/udis86 -I../hyprland-source/subprojects/udis86/libudis86 -Isubprojects/udis86/__CMake_build -I../hyprland-source/subprojects/udis86/__CMake_build -Iprotocols -I/usr/lib64/libffi/include -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++23 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith '-DDATAROOTDIR="/usr/share"' -DHAS_EXECINFO -DUSES_SYSTEMD -march=znver4 -O2 -pipe -pthread -MD -MQ src/Hyprland.p/config_ConfigManager.cpp.o -MF src/Hyprland.p/config_ConfigManager.cpp.o.d -o src/Hyprland.p/config_ConfigManager.cpp.o -c ../hyprland-source/src/config/ConfigManager.cpp In file included from /usr/include/hyprutils/path/Path.hpp:2, from ../hyprland-source/src/config/ConfigManager.cpp:12: /usr/include/hyprutils/string/VarList.hpp:8:15: error: redefinition of ‘class Hyprutils::String::CVarList’ 8 | class CVarList { | ^~~~~~~~ In file included from ../hyprland-source/src/config/../helpers/../desktop/../config/../helpers/varlist/VarList.hpp:3, from ../hyprland-source/src/config/../helpers/../desktop/../config/ConfigDataValues.hpp:3, from ../hyprland-source/src/config/../helpers/../desktop/Window.hpp:6, from ../hyprland-source/src/config/../helpers/WLClasses.hpp:5, from ../hyprland-source/src/config/ConfigManager.hpp:16, from ../hyprland-source/src/config/ConfigManager.cpp:1: /usr/local/include/hyprutils/string/VarList.hpp:8:15: note: previous definition of ‘class Hyprutils::String::CVarList’ 8 | class CVarList { | ^~~~~~~~ Maybe a Hyprutils dependency issue? Please take greater care when populating the bug summary. It should start with a valid package name (including the category) and the affected version. Created attachment 901042 [details]
emerge --info hyprland
I cannot reproduce the bug on this setup
Created attachment 901043 [details]
working build.log
Here's the build log
I just did a fresh sync and tried to update hyprland unsuccessfully with the exact same error as before. You have posted successful build logs, but the environment is nowhere near the same as mine. Your packages are way older and nowhere near as current as anything on my machine. I'm also using custom build flags. Any advice on building the package would be appreciated. Ps. There is nothing installed from the custom overlay Gannets. It's mostly a backup repository for updating discord. Which I haven't even used recently. Created attachment 901154 [details]
updated emerge --info gui-wm/hyprland
I removed the "-march=znver4" from my Make Options - still the same result
Comment on attachment 901154 [details]
updated emerge --info gui-wm/hyprland
I have also removed the binhost - which is no reflected in this output. But shouldnt be an issue.
Is there a certain dependency I should rebuild to try and resolve this? I have already tried to do a --oneshot or -1 with hyprutils. Obviously with no luck. And on closer inspection - the build environment is really similar - spite the Intel / AMD CPU...and my custom kernel. Although my custom kernel used a base of gentoo-dist. "zcat /proc/config.gz > /usr/src/linux/.config" while booted in gentoo-dist. I haven't removed anything from the kernel, just changed the CPU target to Zen4 using the experimental feature set of gentoo-sources. I will attach my current running kernel config Created attachment 901159 [details]
Current booted kernel config
To verify it's not my kernel that's the issue.
This was 100% user error! I had some extra hyprutils libraries in /usr/include/hyprutils. So instead of using the packaged libraries, it was using the USER libraries. Not even sure how this happened. Sorry for all the confusion. RESOLVED! |