aquamarine broke the build again
Search Criteria
Package Details: hyprland-git 0.42.0.r64.82c67e61-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/hyprland-git.git (read-only, click to copy) |
---|---|
Package Base: | hyprland-git |
Description: | Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks. |
Upstream URL: | https://github.com/hyprwm/Hyprland |
Licenses: | BSD |
Conflicts: | hyprland |
Provides: | hyprland |
Submitter: | hertog |
Maintainer: | Vaxry (zjeffer) |
Last Packager: | zjeffer |
Votes: | 89 |
Popularity: | 6.21 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2024-08-24 16:36 (UTC) |
Dependencies (53)
- aquamarine-gitAUR
- cairo (cairo-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- glslang (glslang-gitAUR, glslang-minimal-gitAUR)
- hyprcursor-gitAUR
- hyprlang-gitAUR
- hyprutils-gitAUR
- libdisplay-info (libdisplay-info-gitAUR)
- libdrm (libdrm-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libinput (libinput-multiplierAUR, libinput-three-finger-dragAUR)
- libliftoff (libliftoff-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxcursor
- libxfixes
- libxkbcommon (libxkbcommon-gitAUR)
- Show 33 more dependencies...
Required by (48)
- focal-hyprland-git (requires hyprland)
- gbar-git (requires hyprland) (optional)
- grimblast-git (requires hyprland)
- hdisplays (requires hyprland) (make)
- hy3 (requires hyprland)
- hy3-git (requires hyprland)
- hycov-git (requires hyprland)
- hypr-trans-git (requires hyprland)
- hyprdwl-git (requires hyprland)
- hyprforest-installer-bin (requires hyprland) (optional)
- hyprfreeze-git (requires hyprland)
- hyprland-activewindow (requires hyprland)
- hyprland-autoname-workspaces-git (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland) (make)
- hyprland-plugin-borders-plus-plus-git (make)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland) (make)
- hyprland-plugin-csgo-vulkan-fix-git (make)
- hyprland-plugin-hyprbars (requires hyprland) (make)
- hyprland-plugin-hyprbars-git (make)
- hyprland-plugin-hyprexpo (requires hyprland) (make)
- Show 28 more...
Sources (3)
xAsh commented on 2024-09-19 13:10 (UTC)
arch-mage commented on 2024-09-19 11:46 (UTC) (edited on 2024-09-19 11:47 (UTC) by arch-mage)
Doesn't build
FAILED: src/Hyprland.p/debug_HyprCtl.cpp.o
c++ -Isrc/Hyprland.p -Isrc -I../src -Isubprojects/udis86 -I../subprojects/udis86 -I../subprojects/udis86/libudis86 -Isubprojects/udis86/__CMake_build -I../subprojects/udis86/__CMake_build -Iprotocols -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include pch.hpp -D_FILE_OFFSET_BITS=64 -std=c++26 -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith '-DDATAROOTDIR="/usr/share"' -DHAS_EXECINFO -DUSES_SYSTEMD -w -fPIE -pthread -MD -MQ src/Hyprland.p/debug_HyprCtl.cpp.o -MF src/Hyprland.p/debug_HyprCtl.cpp.o.d -o src/Hyprland.p/debug_HyprCtl.cpp.o -c ../src/debug/HyprCtl.cpp
../src/debug/HyprCtl.cpp: In function ‘std::string versionRequest(eHyprCtlOutputFormat, std::string)’:
../src/debug/HyprCtl.cpp:861:143: error: ‘AQUAMARINE_VERSION’ was not declared in this scope; did you mean ‘AQUAMARINE_FORWARD’?
861 | ").\nDate: " + GIT_COMMIT_DATE + "\nTag: " + GIT_TAG + ", commits: " + GIT_COMMITS + std::string{"\nbuilt against aquamarine "} + AQUAMARINE_VERSION + "\n" +
| ^~~~~~~~~~~~~~~~~~
| AQUAMARINE_FORWARD
../src/debug/HyprCtl.cpp:888:13: error: ‘AQUAMARINE_VERSION’ was not declared in this scope; did you mean ‘AQUAMARINE_FORWARD’?
888 | AQUAMARINE_VERSION);
| ^~~~~~~~~~~~~~~~~~
| AQUAMARINE_FORWARD
[159/293] Compiling C++ object src/Hyprland.p/desktop_Window.cpp.o
ninja: build stopped: subcommand failed.
zjeffer commented on 2024-08-24 16:38 (UTC)
Updated the package to use aquamarine-git again instead of the non-git version. Should solve issues where users had to manually resolve package dependency conflicts.
arch-mage commented on 2024-08-24 15:11 (UTC) (edited on 2024-08-24 15:11 (UTC) by arch-mage)
Everything builds, as expected. Should the package be unmarked as out-of-date, since this is a git package and there aren't any problems with it?
swiftRiver commented on 2024-08-19 19:16 (UTC)
@arch-mage remove everything and then run
paru -S hyprcursor-git aquamarine-git hyprlang-git hyprland-git
arch-mage commented on 2024-08-19 04:23 (UTC)
What's wrong with the pkgbuild this time? yay can't fetch the new update
rabaimor commented on 2024-07-27 21:07 (UTC)
it seems that the missing libhyprutils.so.0 bug somehow magically gets fixed for everyone differently except me. symlinking the library just causes to hyprland to crash on start for me.
siresber commented on 2024-07-25 19:37 (UTC)
I fixed my hyprutils problem, I hope this solution will fixed someone's as well.
I tried to remove the hyprutils package and saw that it is a dependency package for the hyprlock package. I removed the hyprland-git and hyprlock, the hyprutils package is removed with hyprlock uninstallation. Then reinstalled the uninstalled packages (hyprland-git, hyprlock) and it seems fixed for now.
Before uninstalling, I tried the symlink solution, but I don't know if it is necessary for the reinstalling solution.
rabaimor commented on 2024-07-23 18:36 (UTC)
@neometra Thank you, but copying and symlinking resulted in the same outcome for me. An insta-crash when I try to start hyprland (It doesn't even starts). And so far I tried so many things but I wasted hours across multiple days trying to fix this, and that not my job, its the hyprland developers.
Pinned Comments
zjeffer commented on 2024-07-17 16:50 (UTC) (edited on 2024-07-17 16:52 (UTC) by zjeffer)
Tips & tricks, common issues
using ccache/sccache
Precompiled headers (PCH) was enabled by default, this would most likely invalidate the compiler cache if any of the upstream header files change. To disable PCH, add the meson build option
-Db_pch=false
tobuild()
.Build with specific pull requests
Use
pick_mr <pull request number>
at the end ofprepare()
to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, useEnable legacy renderer
In the
build()
function, add-D legacy_renderer=true
to meson setupCompilation errors
If you encounter compilation errors, try the following first:
protocols/
, such asprotocols/linux-dmabuf-v1.hpp
, then rebuild or installhyprwayland-scanner-git
;makepkg --cleanbuild
.Symbol not declared
Errors like
<symbol> was not declared in this scope
<symbol> has not been declared
are usually caused by missing headers. Please consider reporting this upstream or creating a pull request if it has not already been done.