Re: adding GCC Toolset usage docs

2022-04-14 Thread Otto Urpelainen
Germano Massullo kirjoitti 13.4.2022 klo 20.08: 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

Re: adding GCC Toolset usage docs

2022-04-14 Thread Kevin Kofler via devel
Vít Ondruch wrote: > The sourcing trick is generally very dangerous. It might be OKish in RPM > scriptlets, but otherwise it might result in unpredictable behavior of > the system. It is generally the right thing to do for shell scripts. Those run in a subshell, so the sourcing will not affect

Re: adding GCC Toolset usage docs

2022-04-14 Thread Dan Horák
On Thu, 14 Apr 2022 12:15:43 +0200 Vít Ondruch wrote: > > Dne 14. 04. 22 v 2:49 Kevin Kofler via devel napsal(a): > > Germano Massullo wrote: > >> This problem was caused because I had misinterpreted official Red Hat > >> configuration [2]. > > The documentation was written with interactive use

Re: adding GCC Toolset usage docs

2022-04-14 Thread Vít Ondruch
Dne 14. 04. 22 v 2:49 Kevin Kofler via devel napsal(a): Germano Massullo wrote: This problem was caused because I had misinterpreted official Red Hat configuration [2]. The documentation was written with interactive use in mind, not for scripting or packaging. The "scl enable" tool is very

Re: adding GCC Toolset usage docs

2022-04-13 Thread Kevin Kofler via devel
Germano Massullo wrote: > This problem was caused because I had misinterpreted official Red Hat > configuration [2]. The documentation was written with interactive use in mind, not for scripting or packaging. The "scl enable" tool is very impractical for packaging because you would have to

Re: adding GCC Toolset usage docs

2022-04-13 Thread Marek Polacek
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