Re: Troubleshooting EPEL 8 build

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

 



Thanks for the info and yeah, that seemed to do the trick in enabling it, but unfortunately it still works, in that I am able to build the package successfully without errors. :\

On 13 Sep 2022, at 14:55, Neal Gompa 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.

--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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

_______________________________________________
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