Repository navigation
Description
Problem and requested result
The user explicitly selected the existing openSUSE Leap 15.6 x86_64 machine for installed first-user Linux release validation. The verified source3421220 preview RPM declares a hard Requires: libdrm, preventing that normal installation despite the installed equivalent library provider being libdrm2.
Concrete read-only evidence from this machine:
rpm -qp --requires ProPR-Desktop-0.9.0-linux-x64.rpmincludeslibdrm.rpm -q libdrm libdrm2: libdrm is not installed; libdrm2-2.4.118-150600.1.4.x86_64 is installed.rpm -q --provides libdrm2: provides libdrm.so.2()(64bit), libdrm2 and libkms1, but no libdrm package-name capability.zypper --no-refresh info libdrm at-spi2-core: configured cached Leap15.6 metadata reports libdrm not found; at-spi2-core is available. Some repository metadata is expired, so this is a precise local observation, not a claim that every current mirror was refreshed.- A zypper dry run requires root here, and noninteractive sudo requires the user's password. Do not access that password, grant sudo rights, edit host repositories, or install on the user's host.
- Other portable RPM dependencies already use alternatives, e.g.
(libnotify or libnotify4),(libxcb or libxcb1),(mesa-libgbm or libgbm1),(nss or mozilla-nss).
Scope / acceptance
- Correct ProPR's RPM dependency generation to accept the openSUSE libdrm2 provider while preserving the Fedora/RHEL libdrm provider and the actual Electron runtime dependency. A rich alternative such as
(libdrm or libdrm2)may fit the existing packaging approach; inspect the upstream maker/installer defaults before choosing the implementation. - Verify actual generated RPM dependency metadata, not only a source-string assertion. Cover x64 and ARM64 generation, preserve all existing required libraries, and retain the chrome-sandbox ownership/mode and native packaging checks.
- Add a meaningful regression that shows a SUSE-style libdrm2-only provider can satisfy the corrected RPM dependency, and that libdrm still satisfies it for Fedora/RHEL. Prefer the normal RPM/libsolv/zypper solver in a disposable environment if feasible; document any unavailable integration proof honestly.
- Run focused packaging tests/type checks and existing relevant release guards. Keep the change small and independently reviewable.
Boundaries
Implement through ProPR; no bypass with --nodeps, ignored dependency failures, fake dependency packages, broad dependency removal, dependency-policy relaxation, host changes, permission/grant changes or credential copying. Do not publish images, desktop/npm releases, deploy or alter stable tags/feeds. Existing native Debian/Rocky tests of3421220 are running; do not cancel or restart them. Nightly PR2944 has a separate serial implementation route and should not be edited as part of this issue. A corrected final source and source-bound packages will be reviewed and validated before any later publication proposal.
Activity
propr-dev commentedon Oct 10, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-52945/claude-opus-5-5-accept-opensuse-libdrm2-i-20261010-1701-cutmainissue-2945-20261010-1701-claude-opus-5-5-cut🔍 Track Task Execution
propr-dev commentedon Oct 10, 2026
AI Processing Completed
Execution Details:
Summary:
The desktop RPM now requires
(libdrm or libdrm2)instead of a barelibdrm. That lets the openSUSElibdrm2package satisfy it, and Fedora/RHEL'slibdrmstill does. I built real RPMs for x64 and ARM64 and ran them through libsolv, the solver zypper uses. I did not run zypper itself or install anything on the openSUSE machine.The fix (
apps/desktop/src/rpm-maker.ts). Thelibdrmrequirement comes fromelectron-installer-redhat3.4.0, which ProPR's RPM maker builds on. Its dependency list already uses "or" alternatives for gbm, notify, nss and xcb, but only has the Fedora name for DRM. ProPR passes its own requirements to that library as additions only, so they can't replace a default. Instead, ProPR's existing RPM maker class now swaps that one entry after the defaults are generated. No requirement is removed or loosened, and the custom spec with thechrome-sandbox4755 fix is unchanged.Checked on real built packages. I extracted Debian's
rpm,rpmbuildandlibsolv-toolsinto/tmp, with no root and no host changes, then ran the normalnpm run make:rpmfor x64 and ARM64:libdrm→(libdrm or libdrm2). Every other requirement is still there.x86_64andaarch64, andchrome-sandboxis still04755 root rootin both.libdrm2, withnothing provides libdrm, the same failure you saw.libdrm2(with the same provides asrpm -q --provides libdrm2on Leap 15.6) and on a Fedora/RHEL-style system that haslibdrm.Regression test (
apps/desktop/src/rpm-maker.test.ts).electron-installer-redhat's actual list for the installed Electron 44.0.0, applies the change, and checks that only the DRM entry differs and that all nine runtime requirements are present.chrome-sandboxmode, and then run the three solver cases above. CI doesn't have these tools, so there they report as skipped with the missing tool names.All three tests fail if the change is turned off. Typecheck passes. The related release and packaging tests passed: 80 tests, 76 passed, 0 failed, 4 skipped.
Not proven yet:
zypper installof the new RPM on the openSUSE machine, done later by someone with root access.This change isn't visible in the UI, so I made no previews.
Detailed Logs:
e5855d43-5d46-49c1-984a-76f7de8890efLog files stored at:
/tmp/claude-logs/issue-2945-2026-10-10T17-10-18-108Z-conversation.json/tmp/claude-logs/issue-2945-2026-10-10T17-10-18-108Z-output.txtLatest Conversation Messages
This processing report was generated automatically by ProPR for issue #2945.