The RPM %install tried to execute a %files path, so main builds no RPMs #306

Merged
enricobuehler merged 1 commits from worktree-rpm-spec-stray-install into main 2026-08-18 17:18:05 +00:00
Owner

%install died on main:

+ install -Dm0644 scripts/60-punktfunk.rules …/usr/lib/udev/rules.d/60-punktfunk.rules
+ /usr/share/wireplumber/wireplumber.conf.d/60-punktfunk-dualsense.conf
/var/tmp/rpm-tmp.I75wBC: line 60: /usr/share/wireplumber/wireplumber.conf.d/60-punktfunk-dualsense.conf: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.I75wBC (%install)

The WirePlumber DualSense policy (#302) landed with its %files line duplicated into %install, one line above the real install -Dm0644. %install is a shell scriptlet, so rpm ran the bare path as a command and the whole section aborted on the udev rule — before the policy, the DM helper, the update helper, the units, or anything else got staged. Every RPM leg has been red since.

The fix is deleting that one line. The genuine install (line 329) and the %files entry (line 584) were both already correct and are untouched, as are the deb and arch recipes, which install the file properly.

Not locally verifiable — no rpmbuild on macOS, so the parse only proves out in this PR's RPM legs.

`%install` died on main: ``` + install -Dm0644 scripts/60-punktfunk.rules …/usr/lib/udev/rules.d/60-punktfunk.rules + /usr/share/wireplumber/wireplumber.conf.d/60-punktfunk-dualsense.conf /var/tmp/rpm-tmp.I75wBC: line 60: /usr/share/wireplumber/wireplumber.conf.d/60-punktfunk-dualsense.conf: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.I75wBC (%install) ``` The WirePlumber DualSense policy (#302) landed with its `%files` line duplicated into `%install`, one line above the real `install -Dm0644`. `%install` is a shell scriptlet, so rpm ran the bare path as a command and the whole section aborted on the udev rule — before the policy, the DM helper, the update helper, the units, or anything else got staged. Every RPM leg has been red since. The fix is deleting that one line. The genuine install (line 329) and the `%files` entry (line 584) were both already correct and are untouched, as are the deb and arch recipes, which install the file properly. Not locally verifiable — no `rpmbuild` on macOS, so the parse only proves out in this PR's RPM legs.
enricobuehler added 1 commit 2026-08-18 17:14:24 +00:00
fix(packaging/rpm): drop the stray %files path that %install tried to execute
ci / bun-nix (pull_request) Successful in 30s
ci / web (pull_request) Successful in 1m7s
ci / docs-site (pull_request) Successful in 1m23s
ci / rust-arm64 (pull_request) Successful in 1m32s
ci / rust (pull_request) Successful in 6m22s
c49b648032
The WirePlumber DualSense policy landed with its %files line duplicated into
%install, one line above the real install. rpm ran it as a command, and the
%install scriptlet died on 'No such file or directory' before it reached
anything else.
enricobuehler merged commit d4db2e3331 into main 2026-08-18 17:18:05 +00:00
enricobuehler deleted branch worktree-rpm-spec-stray-install 2026-08-18 17:18:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unom/punktfunk#306