Strange problem with RPM build workflow #177912
Replies: 1 comment
-
|
Hi @lordofscripts, Thanks for sharing the details of your issue. It looks like you’re getting the following error when running your RPM build workflow via GitHub Actions: From your message, you’re not explicitly calling Here are a few suggestions to help you debug and resolve it: Things to check
%install
mkdir -p %{buildroot}/SRPMS/
cp -r %{_srcrpmdir}/* %{buildroot}/SRPMS/Adjust paths accordingly to your build setup.
Example snippet for debuggingHere’s a minimal addition to your workflow before the build step: - name: Debug directory structure
run: |
ls -R rpmbuild
echo "----"
ls -R rpmbuild/SRPMS || echo "SRPMS not present"After that, run the build and inspect the logs. See whether the If you like, I can help you craft a corrected spec file snippet targeted at your specific build (for example if you use Let me know how it goes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Why are you starting this discussion?
Question
What GitHub Actions topic or product is this about?
Misc
Discussion Details
I am using the rpmbuild workflow and after many iterations, i have not gotten it right. I gives this RPMBUILD error on Github (I can build it locally without problems):
The culprit is that
cpcommand but neither my workflow nor my RPM spec file contain acpcommand explicitely. It uses the standard%installRPM macro.I am tired of so many commits and removing tags to create them again to get the workflow re-tried.
Beta Was this translation helpful? Give feedback.
All reactions