cannot build as:
/usr/bin/ld: protocols/libserver_protos.a: error adding symbols: file format not recognized
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.51 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2025-04-11 23:37 (UTC) |
« First ‹ Previous 1 .. 16 17 18 19 20 21 22 23 24 25 26 .. 40 Next › Last »
cannot build as:
/usr/bin/ld: protocols/libserver_protos.a: error adding symbols: file format not recognized
@memchr, Thank you, I was on hyprlang-git from the AUR which has a lower number. I now replaced it with the pacman hyprlang package.
@ShinobiX9X
pacman -Syu
The hyprlang
version in the repo is 0.4.1-1.
Hello,
I can't update because hyprlang package is not new enough, how can I get the newer one?
src/meson.build:14:4: ERROR: Dependency lookup for hyprlang with method 'pkgconfig' failed: Invalid version, need 'hyprlang' ['>= 0.3.2'] found '0.2.1'.
A full log can be found at /home/dimic/.cache/yay/hyprland-git/src/Hyprland/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting...
-> error making: hyprland-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
hyprland-git - exit status 4
@mitch_mg2
Can you try rebuilding the plugin with f5990aeb ?
What is the purpose of this line?:
mv "$pkgdir/usr/include/wlr" "$pkgdir/usr/include/hyprland/wlroots"
Looking at this PKGBUILD shows it was 0658cd66f49f 2024-02-02 remove meson patch memchr
upstream's "includes.hpp" still references the "wlr" directory instead of "wlroots". I'm unable to build the hy3-git plugin because it utilizes "includes.hpp" which references the "old" directory.
I don't use pip install -U
. It was installed as part of the dependency chain of pyprland. I uninstalled pyprland and poetry (and all related dependencies with pacman -Rcns poetry
), tried installing hyprland again via paru, still get the same error. But previous version 1.7.1 installs fine.
The clue in the error was:
/home/norfen/.local/share/miniconda3/lib/python3.11/
I don't have miniconda installed explicitly, not sure why it's there or looking in there. I rm -rf
'd the whole miniconda3 folder and now it builds fine.
Latest pyprland 2.0.3-1 seems to be unable to find poetry even though it's installed globally and working with other packages that rely on poetry for build.
I'm not sure how this issue is related to this PKGBUILD.
/home/norfen/.local/lib/python3.11/site-packages/pyproject_hooks
PEP 668 discourages the practice of installing Python packages system-wide with pip install -U
. And since you are building a package, it would be better to install the dependencies using pacman instead of pip.
Latest pyprland 2.0.3-1 seems to be unable to find poetry even though it's installed globally and working with other packages that rely on poetry for build.
==> Making package: pyprland 2.0.3-1 (Fri 23 Feb 2024 11:31:20)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
HEAD is now at d69133b change default release title
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Getting build dependencies for wheel...
Traceback (most recent call last):
File "/home/norfen/.local/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
File "/home/norfen/.local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
obj = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/norfen/.local/share/miniconda3/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'poetry'
ERROR Backend 'poetry.core.masonry.api' is not available.
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