Hyprland 0-42.0-r1 Fails to compile Reproducible: Always Steps to Reproduce: 1. unmask the ~amd64 branch of gui-wm/hyprland 2. emerge hyprland-0.42.0-r1 Actual Results: Failes to compile Expected Results: Update to hyprland 0.42.0-r1 Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.39-r6, 6.10.3-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.10.3-gentoo-x86_64-x86_64-AMD_Ryzen_7_7800X3D_8-Core_Processor-with-glibc2.39 KiB Mem: 31798732 total, 7932716 free KiB Swap: 8388604 total, 8388336 free Timestamp of repository gentoo: Sun, 11 Aug 2024 22:00:00 +0000 Head commit of repository gentoo: 64c0eea4331717f129cfb1f4d333b56e9c24de4b Head commit of repository Ganners: 7663af2ec6ccd0625dd15fb964902cdb399c85bb6fdd277a59f6ebd613b89808 Timestamp of repository guru: Sat, 10 Aug 2024 20:48:48 +0000 Head commit of repository guru: ebc9f1475c2cd5a5cdaa35bb7b7c92abc456797c Timestamp of repository inode64-overlay: Sat, 10 Aug 2024 14:22:14 +0000 Head commit of repository inode64-overlay: fe7d451df7ce3f3e7931ba3344e4a8c47c21e7e2 Timestamp of repository pentoo: Sat, 10 Aug 2024 14:21:49 +0000 Head commit of repository pentoo: 0fc7bb0590fb90c7a31909026b4b378da92b2616 Timestamp of repository steam-overlay: Sat, 10 Aug 2024 14:21:51 +0000 Head commit of repository steam-overlay: f58515ef7cbf5a30fa9ebab679166065dc0f36e5 sh bash 5.2_p26-r6 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26-r6::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.5.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.38.2-r3::gentoo dev-lang/python: 3.11.9-r1::gentoo, 3.12.3-r1::gentoo dev-lang/rust-bin: 1.79.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.7-r1::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 18.1.8::gentoo sys-devel/gcc: 13.3.1_p20240614::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 18.1.8::gentoo sys-devel/llvm: 18.1.8-r1::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-max-age: 3 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes Ganners location: /var/db/repos/Ganners sync-type: git sync-uri: https://ganomehome.com:30008/Ganome/Ganners.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False inode64-overlay location: /var/db/repos/inode64-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git masters: gentoo volatile: False pentoo location: /var/db/repos/pentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/pentoo.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver4 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=znver4 -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-march=znver4 -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=znver4 -O2 -pipe" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo #rsync://rsync.gtlib.gatech.edu/gentoo https://mirrors.mit.edu/gentoo-distfiles/ #rsync://mirrors.mit.edu/gentoo-distfiles/ ftp://mirrors.rit.edu/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j15" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 appindicator bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr encode exif flac gdbm gif gpm gstreamer gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc lto mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pipewire png policykit ppds pulseaudio qt5 readline screencast sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
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!