@memchr I use Artix with s6 as init. ~Seems like it still gives the same error.~
Edit: My bad, didn't clear the cache of paru. It works now. Thanks a lot
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-3-Clause |
Conflicts: | hyprland |
Provides: | hyprland, wayland-compositor |
Submitter: | hertog |
Maintainer: | Vaxry (zjeffer, alba4k) |
Last Packager: | alba4k |
Votes: | 95 |
Popularity: | 2.78 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2025-04-11 23:37 (UTC) |
« First ‹ Previous 1 .. 24 25 26 27 28 29 30 31 32 33 34 .. 40 Next › Last »
@memchr I use Artix with s6 as init. ~Seems like it still gives the same error.~
Edit: My bad, didn't clear the cache of paru. It works now. Thanks a lot
@therafal Fixed, please try again. Apparently the cause of the error is that the arch-meson script uses auto_features=enabled.
What is your system? systemd is a hard dependency of base (archlinux), required by virtually all packages, including pacman.
@memchr
paru -S hyprland-git
Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)
meson.build:54:14: ERROR: Dependency "libsystemd" not found, tried pkgconfig and cmake
meson-log.txt
...
1451 Called: `/usr/bin/pkg-config --modversion libsystemd` -> 1
1452 stderr:
1453 Package libsystemd was not found in the pkg-config search path.
1454 Perhaps you should add the directory containing `libsystemd.pc'
1455 to the PKG_CONFIG_PATH environment variable
1456 Package 'libsystemd', required by 'virtual:world', not found
1457 -----------
...
1481 Try CMake generator: auto
1482 Calling CMake (['/usr/bin/cmake']) in /home/foo/.cache/paru/clone/hyprland-git/src/Hyprland/build/meson-private/cmake_libsystemd
with:
1483 - "--trace-expand"
1484 - "--trace-format=json-v1"
1485 - "--no-warn-unused-cli"
1486 - "--trace-redirect=cmake_trace.txt"
1487 - "-DCMAKE_TOOLCHAIN_FILE=/home/foo/.cache/paru/clone/hyprland-git/src/Hyprland/build/meson-private/cmake_libsystemd/CMakeMeso
nToolchainFile.cmake"
1488 - "."
1489 -- Module search paths: ['/', '/opt', '/usr', '/usr/local']
1490 -- CMake root: /usr/share/cmake
1491 -- CMake architectures: ['libpyldb-util.cpython-311-x86-64-linux-gnu.so', 'libpyldb-util.cpython-311-x86-64-linux-gnu.so.2',
'libpyldb-util.cpython-311-x86-64-linux-gnu.so.2.8.0', 'libpytalloc-util.cpython-311-x86-64-linux-gnu.so', 'libpytalloc-util.cpyth
on-311-x86-64-linux-gnu.so.2', 'libpytalloc-util.cpython-311-x86-64-linux-gnu.so.2.4.1', 'libsamba-policy.cpython-311-x86-64-linux
-gnu.so', 'libsamba-policy.cpython-311-x86-64-linux-gnu.so.0', 'libsamba-policy.cpython-311-x86-64-linux-gnu.so.0.0.1']
1492 -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/libpyldb-util.cpython-311-x86-64-linux-gnu.so', 'li
b/libpyldb-util.cpython-311-x86-64-linux-gnu.so.2', 'lib/libpyldb-util.cpython-311-x86-64-linux-gnu.so.2.8.0', 'lib/libpytalloc-ut
il.cpython-311-x86-64-linux-gnu.so', 'lib/libpytalloc-util.cpython-311-x86-64-linux-gnu.so.2', 'lib/libpytalloc-util.cpython-311-x
86-64-linux-gnu.so.2.4.1', 'lib/libsamba-policy.cpython-311-x86-64-linux-gnu.so', 'lib/libsamba-policy.cpython-311-x86-64-linux-gn
u.so.0', 'lib/libsamba-policy.cpython-311-x86-64-linux-gnu.so.0.0.1']
1493 Preliminary CMake check failed. Aborting.
1494 Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)
1495
1496 meson.build:54:14: ERROR: Dependency "libsystemd" not found, tried pkgconfig and cmake
@therafal logs?
The latest update, which changes make to Meson, introduces a problem where this package cannot be built without libsystemd. Previously, if it couldn't be found, make simply threw out a warning, but now Meson demands it and terminates compilation. The hyprland-nvidia-git
package compiles without any problems using make after today's update.
@dedguy21 Upstream issue. Someone included wlr header directly in the cpp file, resulting in mangled function names. Report upstream instead here, this is just a build script
EDIT: Fixed.
I'm getting the following error trying to build most recent package:
[438/438] Linking target src/Hyprland
FAILED: src/Hyprland
c++ -o src/Hyprland src/Hyprland.p/Compositor.cpp.o src/Hyprland.p/config_ConfigManager.cpp.o src/Hyprland.p/debug_CrashReporter.cpp.o src/Hyprland.p/debug_HyprCtl.cpp.o src/Hyprland.p/debug_HyprDebugOverlay.cpp.o src/Hyprland.p/debug_HyprNotificationOverlay.cpp.o src/Hyprland.p/debug_Log.cpp.o src/Hyprland.p/events_Devices.cpp.o src/Hyprland.p/events_Layers.cpp.o src/Hyprland.p/events_Misc.cpp.o src/Hyprland.p/events_Monitors.cpp.o src/Hyprland.p/events_Popups.cpp.o src/Hyprland.p/events_Windows.cpp.o src/Hyprland.p/helpers_AnimatedVariable.cpp.o src/Hyprland.p/helpers_BezierCurve.cpp.o src/Hyprland.p/helpers_Color.cpp.o src/Hyprland.p/helpers_MiscFunctions.cpp.o src/Hyprland.p/helpers_Monitor.cpp.o src/Hyprland.p/helpers_Region.cpp.o src/Hyprland.p/helpers_SubsurfaceTree.cpp.o src/Hyprland.p/helpers_Timer.cpp.o src/Hyprland.p/helpers_VarList.cpp.o src/Hyprland.p/helpers_Vector2D.cpp.o src/Hyprland.p/helpers_Watchdog.cpp.o src/Hyprland.p/helpers_WLClasses.cpp.o src/Hyprland.p/helpers_WLListener.cpp.o src/Hyprland.p/helpers_WLSurface.cpp.o src/Hyprland.p/helpers_Workspace.cpp.o src/Hyprland.p/hyprerror_HyprError.cpp.o src/Hyprland.p/init_initHelpers.cpp.o src/Hyprland.p/layout_DwindleLayout.cpp.o src/Hyprland.p/layout_IHyprLayout.cpp.o src/Hyprland.p/layout_MasterLayout.cpp.o src/Hyprland.p/main.cpp.o src/Hyprland.p/managers_AnimationManager.cpp.o src/Hyprland.p/managers_EventManager.cpp.o src/Hyprland.p/managers_HookSystemManager.cpp.o src/Hyprland.p/managers_input_IdleInhibitor.cpp.o src/Hyprland.p/managers_input_InputManager.cpp.o src/Hyprland.p/managers_input_InputMethodRelay.cpp.o src/Hyprland.p/managers_input_Swipe.cpp.o src/Hyprland.p/managers_input_Tablets.cpp.o src/Hyprland.p/managers_input_Touch.cpp.o src/Hyprland.p/managers_KeybindManager.cpp.o src/Hyprland.p/managers_LayoutManager.cpp.o src/Hyprland.p/managers_ProtocolManager.cpp.o src/Hyprland.p/managers_SessionLockManager.cpp.o src/Hyprland.p/managers_ThreadManager.cpp.o src/Hyprland.p/managers_XWaylandManager.cpp.o src/Hyprland.p/plugins_HookSystem.cpp.o src/Hyprland.p/plugins_PluginAPI.cpp.o src/Hyprland.p/plugins_PluginSystem.cpp.o src/Hyprland.p/protocols_FractionalScale.cpp.o src/Hyprland.p/protocols_GlobalShortcuts.cpp.o src/Hyprland.p/protocols_Screencopy.cpp.o src/Hyprland.p/protocols_TextInputV1.cpp.o src/Hyprland.p/protocols_ToplevelExport.cpp.o src/Hyprland.p/protocols_WaylandProtocol.cpp.o src/Hyprland.p/protocols_XDGOutput.cpp.o src/Hyprland.p/render_decorations_CHyprDropShadowDecoration.cpp.o src/Hyprland.p/render_decorations_CHyprGroupBarDecoration.cpp.o src/Hyprland.p/render_decorations_IHyprWindowDecoration.cpp.o src/Hyprland.p/render_Framebuffer.cpp.o src/Hyprland.p/render_OpenGL.cpp.o src/Hyprland.p/render_Renderer.cpp.o src/Hyprland.p/render_Shader.cpp.o src/Hyprland.p/render_Texture.cpp.o src/Hyprland.p/Window.cpp.o -flto -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -pie -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=native -O3 -pipe -fno-plt '-Wl,-rpath,$ORIGIN/../subprojects/wlroots' -Wl,-rpath-link,/home/air/.cache/paru/clone/hyprland-git/src/Hyprland/build/subprojects/wlroots -Wl,--start-group protocols/libserver_protos.a subprojects/wlroots/libwlroots.so.12032 subprojects/udis86/liblibudis86.a -rdynamic /usr/lib/libwayland-server.so /usr/lib/libwayland-client.so /usr/lib/libdrm.so /usr/lib/libxkbcommon.so /usr/lib/libpixman-1.so -lm -lrt /usr/lib/libEGL.so /usr/lib/libgbm.so /usr/lib/libGLESv2.so /usr/lib/libudev.so /usr/lib/libseat.so /usr/lib/libdisplay-info.so /usr/lib/libliftoff.so /usr/lib/libinput.so /usr/lib/libxcb.so /usr/lib/libxcb-dri3.so /usr/lib/libxcb-present.so /usr/lib/libxcb-render.so /usr/lib/libxcb-render-util.so /usr/lib/libxcb-shm.so /usr/lib/libxcb-xfixes.so /usr/lib/libxcb-xinput.so /usr/lib/libxcb-composite.so /usr/lib/libxcb-ewmh.so /usr/lib/libxcb-icccm.so /usr/lib/libxcb-res.so /usr/lib/libxcb-errors.so /usr/lib/libcairo.so /usr/lib/libsystemd.so /usr/lib/libGL.so -pthread /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so -Wl,--end-group
/usr/bin/ld: /tmp/ccGVrUDe.ltrans13.ltrans.o: in function `Debug::wlrLog(wlr_log_importance, char const*, __va_list_tag*)':
<artificial>:(.text+0x16ba): undefined reference to `wlr_log_get_verbosity()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
@0xGingi Same thing happening here
Failing to build
FAILED: src/Hyprland ...
/usr/bin/ld: /tmp/ccSngiPp.ltrans12.ltrans.o: in function `Debug::wlrLog(wlr_log_importance, char const, __va_list_tag)':
<artificial>:(.text+0x18fe): undefined reference to `wlr_log_get_verbosity()'
collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Pinned Comments
xiota commented on 2025-04-11 01:10 (UTC) (edited on 2025-04-11 01:11 (UTC) by xiota)
Here's the current depends tree to help people figure out (re)build order. Some duplicates are omitted.
alba4k commented on 2025-04-09 20:40 (UTC)
To report issues, open pull requests, or check out other hyprland-related packages, you can check out https://github.com/alba4k/hyprwm-pkgbuilds