Hello I'm seeing this on koji build for F27 in arm and rpmfusion ... Description of problem: DEBUG util.py:479: /var/tmp/rpm-tmp.E5tyTK: line 7: systemd-tmpfiles: command not found DEBUG util.py:479: warning: %post(lirc-core-0.10.0-4.fc27.armv7hl) scriptlet failed, exit status 127 Version-Release number of selected component (if applicable): lirc-core-0.10.0-4.fc27.armv7hl How reproducible: try to build mythtv-29.0-9.20180111.77.g771115f47d.fc27.src.rpm Steps to Reproduce: 1. 2. 3. Actual results: %post scriplet fails Expected results: not fail Additional info: http://koji.rpmfusion.org/kojifiles/work/tasks/2316/192316/root.log
When I first noticed this I noticed it only seems to happen in a mock chroot environment. I don't think it's a big deal but it may be possible for the script to know when it's in a chroot and not execute...
I don't have the sources at hand, but it might be as simple as a missing Requires(post): systemd... Will look into it later today or tomorrow --a
Hm... $ dnf repoquery --releasever=27 -f /usr/bin/systemd-tmpfiles ... systemd-0:234-8.fc27.i686 From the spec: Requires(post): systemd From the log: /var/tmp/rpm-tmp.E5tyTK: line 7: systemd-tmpfiles: command not found warning: %post(lirc-core-0.10.0-4.fc27.armv7hl) scriptlet failed, exit status 127 To me, this makes no sense. I cannot see that lirc does anything wrong. Can you? Should this be re-assigned? systemd? mock? Scratching whatever hair still left. Thoughts? Or: Is it that the R(post) is missing within the core package?
Created attachment 1384534 [details] Add generic systemd R: to core sub-package Tentative fix, just a try
Could you possibly try the attached patch?
(In reply to Alec Leamas from comment #3) > Hm... > > $ dnf repoquery --releasever=27 -f /usr/bin/systemd-tmpfiles > ... > systemd-0:234-8.fc27.i686 > > From the spec: > Requires(post): systemd > but root.log show that only installed systemd-libs [1] so seems correct ... [1] DEBUG util.py:479: systemd-libs armv7hl 234-9.fc27 build 432 k
sorry for the mess... but it actually make sense. The R(post) in current spec applies ti the base package, but we have error in the -core subpackage. If I'm right, tthe patch should fix it? Or?
yes the patch should fix it [1] , please apply it and many thanks [1] rpm -E %{?systemd_requires} Requires(post): systemd Requires(preun): systemd Requires(postun): systemd
lirc-0.10.0-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7581993a47
Thanks for reporting!
lirc-0.10.0-6.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7581993a47
lirc-0.10.0-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.