Re: Troubleshooting EPEL 8 build

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

 



On Tue, Sep 13, 2022 at 3:56 PM Neal Gompa <ngompa13@xxxxxxxxx> wrote:
>
> On Tue, Sep 13, 2022 at 3:36 PM Ron Olson <tachoknight@xxxxxxxxx> wrote:
> >
> > Unfortunately I can’t get that rhel+epel8 to work, as it complains “ERROR: /etc/pki/entitlement is not a directory is subscription-manager installed?”. I went through all the other epel-8 flavors and they all work. I added this to the spec file as a test:
> >
> > %if 0%{?rhel} && 0%{?rhel} == 8
> > BuildRequires: gcc-toolset-11
> > %endif
> >
> > So I could try a scratch build on koji but it failed too (https://koji.fedoraproject.org/koji/taskinfo?taskID=91951147).
> >
> > Not sure how to fix this; I can’t get it to fail on any local instance, and apparently Koji uses its own special flavor of EPEL-8 so it’s pretty frustrating. The weird thing is that it was working before with earlier builds of Swift.
> >
>
> You need to enable it at the beginning of %build
>
> %If 0%{?el8}
> # Enable GCC Toolset 11
> . /opt/rh/gcc-toolset-11/enable
> %endif
>
> Then it'll work.

The use of the "el8" is also cleaner, and a bit more clear about being
compatible for other RHEL baed systems.

Nico Kadel0-Garcia
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[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