On 7/17/20 3:03 PM, Steven Munroe wrote:
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 informationIn 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
Do builds in mock, e.g.: fedpkg --release epel7 mockbuild --no-cleanup-after -- Orion Poplawski Manager of NWRA Technical Systems 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ 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