Re: How do Fedora developers get access to devtoolset for testing.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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

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                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

<<attachment: smime.p7s>>

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux