Makrennel / hyprland-void

void linux hyprland templates for building with xbps-src
Other
114 stars 11 forks source link

Hyprland 0.39.0 is out #51

Closed zen0bit closed 3 months ago

zen0bit commented 3 months ago

Main change:

switched to: hyprland-wlroots

read more in release page... releases

Not working on updating yet

soanvig commented 3 months ago

Before we solve one version build, the next version comes out :D

Makrennel commented 3 months ago

I can't test running it because I've switched my system over to NixOS, but I've updated the template to 0.39.1 and compilation seems to work alright on both glibc and musl distrobox images, although cross-compilation fails due to sanity test and I can't be bothered to fix that. I'll try to keep updating this either way, but I won't be testing much beyond making sure it actually builds.

tommyalatalo commented 3 months ago

I'm unable to build using the latest commit 04f558a. The build process tries to fetch xz, specifically version 5.6.0 which was one of the compromised versions in the recent incident, the tarball for that version has been taken down from github.

I tried grepping for xz in the hyprland-void repo, but there's no mention of it, so I guess the xz dependency is a nested one for something else?

=> xz-5.6.0_1: building with [gnu-configure] (dependency of zstd) for x86_64...
   [runtime] liblzma-5.6.0_1: not found (subpkg, ignored)
   [runtime] liblzma-5.6.0_1: not found (subpkg, ignored)
=> xz-5.6.0_1: running do-fetch hook: 00-distfiles ...
=> xz-5.6.0_1: fetching distfile 'xz-5.6.0.tar.gz' from 'https://github.com/tukaani-project/xz/releases/download/v5.6.0/xz-5.6.0.tar.gz'...
https://github.com/tukaani-project/xz/releases/download/v5.6.0/xz-5.6.0.tar.gz: Not Found
=> ERROR: xz-5.6.0_1: failed to fetch 'xz-5.6.0.tar.gz'.
Makrennel commented 3 months ago

The build process tries to fetch xz, specifically version 5.6.0 which was one of the compromised versions in the recent incident, the tarball for that version has been taken down from github.

@tommyalatalo Have you updated your clone of void-packages or tried starting from a fresh one? It sounds like your system has the reverted version installed, so void-packages is trying to download and build the more "up to date" version based on the template that's in its repository but the file it's referencing has been removed by github.

tommyalatalo commented 3 months ago

The build process tries to fetch xz, specifically version 5.6.0 which was one of the compromised versions in the recent incident, the tarball for that version has been taken down from github.

@tommyalatalo Have you updated your clone of void-packages or tried starting from a fresh one? It sounds like your system has the reverted version installed, so void-packages is trying to download and build the more "up to date" version based on the template that's in its repository but the file it's referencing has been removed by github.

facepalm I forgot to pull void-packages, so that was causing the xz problem above, but now that both my hyprland-void and void-packages repos are up to date a new error popped up when trying to update. Building hyprland works now, but running xbps-src update-sys errors out with this:

=> xbps-src: updating your system, confirm to proceed...
xdg-desktop-portal-hyprland-1.3.1_1: broken, unresolvable shlib `libhyprlang.so'
Transaction aborted due to unresolved shlibs.
Makrennel commented 3 months ago
=> xbps-src: updating your system, confirm to proceed...
xdg-desktop-portal-hyprland-1.3.1_1: broken, unresolvable shlib `libhyprlang.so'
Transaction aborted due to unresolved shlibs.

You have to re-append common/shlibs, it changes every now and then

tommyalatalo commented 3 months ago
=> xbps-src: updating your system, confirm to proceed...
xdg-desktop-portal-hyprland-1.3.1_1: broken, unresolvable shlib `libhyprlang.so'
Transaction aborted due to unresolved shlibs.

You have to re-append common/shlibs, it changes every now and then

So I did do that, actually cleared out the entire void-packages repo, appended shlibs and copied the hyprland templates, but update-sys still fails with the libhyprlang.so error.

Makrennel commented 3 months ago

Try removing it and building hyprlang and xdph again

tommyalatalo commented 3 months ago

If I remove libhyprlang from shlibs I get a build error for xdg-desktop-portal-hyprland like below. Not sure if that's what you meant by removing it.

   SONAME: libhyprlang.so.2 <-> UNKNOWN PKG PLEASE FIX!
   SONAME: libhyprcursor.so.0 <-> hyprcursor>=0.1.5_1
   SONAME: libGLESv2.so.2 <-> libGLES>=1.0_1
   SONAME: libstdc++.so.6 <-> libstdc++>=4.4.0_1
   SONAME: libm.so.6 <-> glibc>=2.39_1
   SONAME: libgcc_s.so.1 <-> libgcc>=4.4.0_1
   SONAME: libc.so.6 <-> glibc>=2.39_1
   SONAME: libtomlplusplus.so.3 <-> tomlplusplus>=3.4.0_1
=> ERROR: hyprland-0.39.1_1: cannot guess required shlibs, aborting!
Makrennel commented 3 months ago

No, I just meant to try and uninstall it. Removing it from shlibs will not work. Try uninstall both of them and then rebuild them in a fresh clone of void-packages.

tommyalatalo commented 2 months ago

Finally got around to this again, just wanted to leave a reference here that yeah, it worked to uninstall the erroring packages and then build and install everything after that.