So my project (pveclib) was requested for el7/8 which means building with
devtoolset-9.

With a spec file enabled for el7, the local rpmbuild's fail if you don't
have devtoolset installed. The error message was less than helpful.

So if you can use fedpkg scratch-build devtoolset is preinstalled.

But if you have bugs in your spec file (and as a newbie, I often do) then
you also get failures with less than helpful status.

FAILED: BuildError: error building package (arch ppc64le), mock exited
with status 1; see build.log or root.log for more information

In my case I had to remove all the el7 bits from my spec file and test with
rpmbuild to find the problem.

So having devtoolset installed locally would be helpful.

Thanks in advance
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to