-
-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buildling with system wlroots #1709
Comments
Oh, I think that the issue when using Does that mean I shouldn't be using |
You're not supposed to be using system wlroots. Hyprland's subproject is not taken directly from upstream, it's a few commits behind. If you do take it from the git head directly, half of the time it's going to fail to build. |
The advice for packagers is to either use the patched .so alongside Hyprland (which does not conflict with other wlroots installs) or link statically when building with meson. |
Never mind, you're replied in the interim. |
|
Isn't it in a separate repository because other projects may require it at build time? |
nothing apart from hyprland and xdg-desktop-portal-hyprland will require it. |
I'm seeing this error:
I think I'm missing hyperland-protocols at this point, thought the message is unclear. Maybe this hint will guide some future packager. |
That's a problem with your distro most likely. Execinfo should be present on linux. |
It's not a problem with the distro. Like I said, I'm the one writing the package, so dependencies are not yet installed (since I still haven't resolved all of them). I guess meson isn't checking for all the dependencies to confirm if they're installed, since it didn't indicate anything missing. |
it's a part of glibc: https://www.gnu.org/software/gnulib/manual/html_node/execinfo_002eh.html |
I'm compiling with musl on alpine linux and I have the same error 😕 I was able to temporarily fix it by removing the backtrace lines and the execinfo.h include but that will probably cause an issue with crash reporting. |
it will indeed. Again, it's a part of glibc, so the issue might be that alpine does not have it. |
@theoparis You can try gcompat or libexecinfo and see if either of those work. However, I'm not sure what other dependency might turn out to be missing after that. |
execinfo.h can be provided by the latter (the former has no relevance). that doesn't exist on alpine, of course, and was removed before for various reasons. strictly speaking, it will never work correctly with musl-libc, so it doesn't exist. on linux, glibc and uclibc provide it, i'm not sure of other libcs. patching out the include and
it will be rejected so my recommendation is to stop wasting your own time towards that goal. |
it will be rejected so my recommendation is to stop wasting your own time towards that goal.
No worries, I've not persisted on this.
|
I'm trying to build Hyprland on Alpine. More specifically, I'm trying to package Hyprland on Alpine.
wlroots
is already a separate package.I'm trying to build using
make release
, but this fails since it expects a wlroot with a patched version (as done bymake fixwlr
):From what I can tell, the code in
wlroots
is used clean from upstream, but it's just that the version that's different (is my understanding so far correct?).How can I build using the
regular
wlroots? What's the advise for packagers in this case. I'm not 100% sure what the right entry point is: I seemake
which usescmake
, but alsomeson
.I tried using
meson
, but that didn't work, and I'm not entirely sure why not:meson-log.txt
says:The text was updated successfully, but these errors were encountered: