Re: adding GCC Toolset usage docs

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

 



On Wed, Apr 13, 2022 at 07:08:13PM +0200, Germano Massullo wrote:
> Hello, in my opinion we should add to Fedora Packaging Guidelines, a
> paragraph concerning GCC Toolset usage.
> 
> I recently experienced some problems in building darktable for
> epel8/epel8-next due bad configuration of gcc-toolset-11 in the spec file.
> In a few words, gcc-toolset-11 was not really enabled, so the builder was
> still using GCC 8.5.
> The build failure led me to open a bugreport against gcc-toolset-11 [1], but
> it turned out to not be a bug
> Dan Horák fixed the problem with pull requests [3] and [4]
> This problem was caused because I had misinterpreted official Red Hat
> configuration [2]. Also other developers in #fedora-devel IRC channel that I
> contacted for help, have misinterpreted it too.
> 
> Adding such new paragraph in the guidelines would help the packaging
> activity of the whole set of EPEL branches.
> If you agree with such proposal I am willing to help

Sure, improving the docs is always welcome.  Note that I've provided
a macro in the metapackage that ought to be used when you want to build
a package using DTS/GTS: %enable_devtoolset11 (rather than
. /opt/rh/gcc-toolset-11/enable and similar).  So the docs should mention
that.

> Cheers
> 
> [1]: https://bugzilla.redhat.com/show_bug.cgi?id=2074663
> [2]: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/developing_c_and_cpp_applications_in_rhel_8/additional-toolsets-for-development_developing-applications
> [3]: https://src.fedoraproject.org/rpms/darktable/pull-request/6
> [4]: https://src.fedoraproject.org/rpms/darktable/pull-request/7

Marek
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure




[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