Bug 2332393 - requests for libdrm
Summary: requests for libdrm
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libdrm
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: José Expósito
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2330092 2332593
TreeView+ depends on / blocked
 
Reported: 2024-12-14 14:09 UTC by Scott Robbins
Modified: 2025-02-26 13:20 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
: 2332593 (view as bug list)
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Scott Robbins 2024-12-14 14:09:27 UTC
I filed a request for labwc at https://bugzilla.redhat.com/show_bug.cgi?id=2330092

Troy Dawson said that libdrm and xcb-util-errors would be needed to build wlroots, a needed component, and that requests for these two would have to be opened seperately. So, this is the request for said packages. I am hoping that I can request both on the same ticket, rather than opening a separate ticket for each.

The original request is for labwc, and as RHEL10 will be Wayland only, at present there seem to be almost no alternatives to full blown desktop environments. Many people besides myself prefer a more minimalist window manager instead of Gnome or KDE, so it would be nice to have labwc as an alternative.
I selected Rawhide as version following the steps at https://docs.fedoraproject.org/en-US/epel/epel-package-request/ though I'm not sure if that would be correct.

Reproducible: Always

Comment 1 Scott Robbins 2024-12-14 18:12:53 UTC
As this is really to be able to wlroot, I'll file a 3rd request for that as well, with links to the other two (this one and labwc). Hopefully, this is the best way to go about it. I see I should have picked Fedora-EPEL instead of Fedora for the product, for which I apologize and it also means that choosing rawhide was another error as I see that if I choose epel, I'm offered RHEL-9 or 10.
I've requested wlroots at https://bugzilla.redhat.com/show_bug.cgi?id=2332405

Comment 2 José Expósito 2024-12-17 10:05:52 UTC
Hi Scott,

Checking the wlroots spec file present in Fedora, I see that you'd need libdrm >= 2.4.122:
https://src.fedoraproject.org/rpms/wlroots/blob/rawhide/f/wlroots.spec#_56

I already updated libdrm to v2.4.123 in CentOS 9 and 10:
https://gitlab.com/redhat/centos-stream/rpms/libdrm

The package is not available in RHEL yet, but it'll be available soon.

If you don't need the latest version of wlroots (0.18 in Fedora) you can try to build v0.17.4 in the meanwhile.

Comment 3 Scott Robbins 2024-12-17 10:56:20 UTC
Hi Jose, and thanks for your help. I've been playing with some RHEL10 VMs and managed to get it working, using the Fedora srpms. The only problem has been that rpmfind's link to the Fedora 40 spec seems to be bad (if I have time today, I may just try with F41), and I had a bit of problem finding it. I got the libdrm from a Fedora 40 spec file as well.

Comment 4 Scott Robbins 2024-12-17 11:02:13 UTC
In addition, the spec I've been using is for 0.18.1-1 (though rpmfind's link to 0.18.2 is also bad). At any rate, testing on VM's mentioned above, I was able to locate a good spec for 0.18.1-1 (I stupidly didn't take note of where I got it from, my excuse being that I was almost ready to get it working and was in a hurry).

Comment 5 Scott Robbins 2024-12-19 11:56:00 UTC
Upon trying in various VMs, I've gotten labwc and foot working using wlroots-0.17.2-1, labwc-0.7.1-3 and the latest version of foot for FC40. I've also managed to build wmenu, with 0.7.1, but though the rpm builds and installs, it doesn't work. I've been running RH10 in underpowered VMs, and it doesn't work very well, but it does build and work. By saying it doesn't work very well, I mean that it's slower than other VMS, and wmenu doesn't work, but at least I've been able to get it built and installed.  Trying with later versions of labwc or wlroots fails at the dnf -y builddep step. On one, and only one VM test, I did get wmenu working, but couldn't find an srpm---I just installed the rpm for Fc40 and it worked. However, on subsequent attempts, though it would install, I couldn't get it to work.  I'm not sure if any of this information is helpful, and if not I apologize for wasting people's time.

Comment 6 Scott Robbins 2024-12-19 12:53:55 UTC
Tracking down what happened with wmenu, it seems that if I install the one for which I have an srpm, 0.1.7-1, that doesn't work. But if I just download the rpm for 0.1.9-2 (rpmfind didn't have its srpm) and just install with rpm -ivh, that version works in most of the VMS that I've tried. (I've built a few VMs trying to get this whole thing working).

Comment 7 Aoife Moloney 2025-02-26 13:20:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.


Note You need to log in before you can comment on or make changes to this bug.