Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-20 Thread Jonathan Wakely
On 18/02/18 16:22 +, Zbigniew Jędrzejewski-Szmek wrote: Fedora decided to use gcc as *the* compiler [1], and frankly, we have enough trouble getting packages to compile without trying to support more than one compiler (vide the lass mass rebuild). Also a *lot* of core GCC devs work on

Re: Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-20 Thread Nicolas Mailhot
Le mardi 20 février 2018 à 09:01 +0100, Nicolas Mailhot a écrit : > Le mardi 20 février 2018 à 08:44 +0100, Vít Ondruch a écrit : > > > > Dne 19.2.2018 v 17:16 Dennis Gilmore napsal(a): > > > redhat-rpm-config taht is needed has grown dependencies, as > > > language > > > specifc macros have

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-20 Thread Nicolas Mailhot
Le mardi 20 février 2018 à 08:44 +0100, Vít Ondruch a écrit : > > Dne 19.2.2018 v 17:16 Dennis Gilmore napsal(a): > > redhat-rpm-config taht is needed has grown dependencies, as language > > specifc macros have moved into their own space > > So we removed Perl from buildroot, but there is

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-19 Thread Vít Ondruch
Dne 19.2.2018 v 17:16 Dennis Gilmore napsal(a): > El lun, 19-02-2018 a las 10:56 +0100, Vít Ondruch escribió: >> >> Dne 19.2.2018 v 00:52 Dennis Gilmore napsal(a): >>> El vie, 16-02-2018 a las 12:56 +0100, Jan Kurik escribió: Proposed System Wide Change: Remove GCC from BuildRoot

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-19 Thread Jason L Tibbitts III
> "DPB" == Daniel P Berrangé writes: DPB> I'm suggesting committing actual changes. Creating several 1000 DPB> pull requests is just as much a burden on maintainers as expecting DPB> them to edit several 1000 specs themselves. I welcome automatic changes to the

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-19 Thread Dennis Gilmore
El lun, 19-02-2018 a las 10:56 +0100, Vít Ondruch escribió: > > > Dne 19.2.2018 v 00:52 Dennis Gilmore napsal(a): > > El vie, 16-02-2018 a las 12:56 +0100, Jan Kurik escribió: > > > Proposed System Wide Change: Remove GCC from BuildRoot > > >

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-19 Thread Florian Weimer
On 02/16/2018 06:33 PM, nicolas.mail...@laposte.net wrote: ??? Other compilers such as golang can generate ELF binaries too. The world has moved on. Most of these languages will still call gcc for the final link (as they should). Calling ld directly makes very little sense and makes future

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-19 Thread Kevin Kofler
Jan Kurik wrote: > Since beginning of Fedora, gcc (and gcc-c++) are installed in every > buildroot. Times have changed and nowadays many of packages are not > written in C/C++, they are written in Python, Ruby, Node.js, Go, Rust, > OCaml, Perl and so on so they don't need to have C/C++ compiler. >

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-19 Thread Daniel P . Berrangé
On Fri, Feb 16, 2018 at 07:13:19PM +0100, Matěj Cepl wrote: > On 2018-02-16, 17:38 GMT, Daniel P Berrangé wrote: > > Yes, but that's likely a small % of overall and it is harmless > > if we addd BR: gcc to a few packages which don't need it > > - they'll be no worse off than they are today, and

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-19 Thread Vít Ondruch
Dne 19.2.2018 v 00:52 Dennis Gilmore napsal(a): > El vie, 16-02-2018 a las 12:56 +0100, Jan Kurik escribió: >> Proposed System Wide Change: Remove GCC from BuildRoot >> https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot >> >> >> Owner(s): >> * Igor Gnatenko >> >> >> Removing gcc

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-19 Thread Vít Ondruch
Dne 16.2.2018 v 17:03 Vít Ondruch napsal(a): > > Dne 16.2.2018 v 16:54 Richard W.M. Jones napsal(a): >> On Fri, Feb 16, 2018 at 04:22:58PM +0100, Vít Ondruch wrote: >>> $ dnf repoquery --disablerepo=* --enablerepo=rawhide --source >>> --whatrequires 'libc.so.6*' | sort -u | sed -r

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-18 Thread Dennis Gilmore
El vie, 16-02-2018 a las 12:56 +0100, Jan Kurik escribió: > Proposed System Wide Change: Remove GCC from BuildRoot > https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot > > > Owner(s): > * Igor Gnatenko > > > Removing gcc and gcc-c++ from default buildroot in Koji and mock. >

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-18 Thread Zbigniew Jędrzejewski-Szmek
Fedora decided to use gcc as *the* compiler [1], and frankly, we have enough trouble getting packages to compile without trying to support more than one compiler (vide the lass mass rebuild). What you propose: building with a different compiler, makes sense mostly at the level of a single

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-18 Thread Tomasz Kłoczko
On 16 February 2018 at 11:56, Jan Kurik wrote: [..] > ** List of deliverables: > N/A (not a System Wide Change) > > * Policies and guidelines: > Nothing needed, guidelines already have paragraph about listing all > required BuildRequires. As definitely proposed change will

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-17 Thread Igor Gnatenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I started rebuilding all active Fedora packages (on internal koji instance⁰). Here are some stats: * 20301 builds total * 4073 builds passed * 809 builds failed on autotools check * 561 builds failed with command not found * 238 builds failed on

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread David Sommerseth
On 16/02/18 15:53, Daniel P. Berrangé wrote: > On Fri, Feb 16, 2018 at 03:41:35PM +0100, Igor Gnatenko wrote: [...snip...] >> There is no simple way of doing this. Also as other thread mentioned, people >> hate automated changes... So for this one we need every single packager to >> fix >> their

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread nicolas . mailhot
De: "Daniel P. Berrangé" >> ??? Other compilers such as golang can generate ELF binaries too. The world >> has moved on. > Yes, but that's likely a small % of overall and it is harmless if we > addd BR: gcc to a few packages which don't need it - they'll be no > worse off than they are today,

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Matěj Cepl
On 2018-02-16, 17:38 GMT, Daniel P Berrangé wrote: > Yes, but that's likely a small % of overall and it is harmless > if we addd BR: gcc to a few packages which don't need it > - they'll be no worse off than they are today, and it can be > easily removed again. By “adding BR: gcc” you mean

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Igor Gnatenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Fri, 2018-02-16 at 14:47 +, Richard W.M. Jones wrote: > On Fri, Feb 16, 2018 at 03:41:35PM +0100, Igor Gnatenko wrote: > > There is no simple way of doing this. > > grepping build logs for \bgcc\b might catch many of them? True. Advise

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Daniel P . Berrangé
On Fri, Feb 16, 2018 at 06:33:02PM +0100, nicolas.mail...@laposte.net wrote: > De: "Daniel P. Berrangé" > > > I would think we can detect it easily enough by looking for packages which > > contain ELF binaries. Those are going to require GCC except in the rare > > case that it used clang, > >

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread nicolas . mailhot
De: "Daniel P. Berrangé" > I would think we can detect it easily enough by looking for packages which > contain ELF binaries. Those are going to require GCC except in the rare > case that it used clang, ??? Other compilers such as golang can generate ELF binaries too. The world has moved on.

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Daniel P . Berrangé
On Fri, Feb 16, 2018 at 05:01:33PM +0100, Vít Ondruch wrote: > > > Dne 16.2.2018 v 16:33 Daniel P. Berrangé napsal(a): > > On Fri, Feb 16, 2018 at 04:22:58PM +0100, Vít Ondruch wrote: > >> > >> Dne 16.2.2018 v 16:12 Vít Ondruch napsal(a): > >>> Dne 16.2.2018 v 15:27 Daniel P. Berrangé napsal(a):

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Vít Ondruch
Dne 16.2.2018 v 16:54 Richard W.M. Jones napsal(a): > On Fri, Feb 16, 2018 at 04:22:58PM +0100, Vít Ondruch wrote: >> $ dnf repoquery --disablerepo=* --enablerepo=rawhide --source >> --whatrequires 'libc.so.6*' | sort -u | sed -r 's/(.*)-.*-.*/\1/' | uniq >> | wc -l >> 8559 > I think you're just

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Vít Ondruch
Dne 16.2.2018 v 16:33 Daniel P. Berrangé napsal(a): > On Fri, Feb 16, 2018 at 04:22:58PM +0100, Vít Ondruch wrote: >> >> Dne 16.2.2018 v 16:12 Vít Ondruch napsal(a): >>> Dne 16.2.2018 v 15:27 Daniel P. Berrangé napsal(a): On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: >

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Richard W.M. Jones
On Fri, Feb 16, 2018 at 04:22:58PM +0100, Vít Ondruch wrote: > $ dnf repoquery --disablerepo=* --enablerepo=rawhide --source > --whatrequires 'libc.so.6*' | sort -u | sed -r 's/(.*)-.*-.*/\1/' | uniq > | wc -l > 8559 I think you're just measuring what packages contain binaries, rather than what

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Daniel P . Berrangé
On Fri, Feb 16, 2018 at 04:22:58PM +0100, Vít Ondruch wrote: > > > Dne 16.2.2018 v 16:12 Vít Ondruch napsal(a): > > > > Dne 16.2.2018 v 15:27 Daniel P. Berrangé napsal(a): > >> On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: > >>> Proposed System Wide Change: Remove GCC from BuildRoot

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Vít Ondruch
Dne 16.2.2018 v 16:12 Vít Ondruch napsal(a): > > Dne 16.2.2018 v 15:27 Daniel P. Berrangé napsal(a): >> On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: >>> Proposed System Wide Change: Remove GCC from BuildRoot >>> https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot >>>

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Vít Ondruch
Dne 16.2.2018 v 15:27 Daniel P. Berrangé napsal(a): > On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: >> Proposed System Wide Change: Remove GCC from BuildRoot >> https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot >> >> >> Owner(s): >> * Igor Gnatenko >> >> >>

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Yanko Kaneti
On Fri, 2018-02-16 at 15:41 +0100, Igor Gnatenko wrote: > On Fri, 2018-02-16 at 14:27 +, Daniel P. Berrangé wrote: > > On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: > > > Proposed System Wide Change: Remove GCC from BuildRoot > > >

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Daniel P . Berrangé
On Fri, Feb 16, 2018 at 03:41:35PM +0100, Igor Gnatenko wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On Fri, 2018-02-16 at 14:27 +, Daniel P. Berrangé wrote: > > On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: > > > Proposed System Wide Change: Remove GCC from

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Richard W.M. Jones
On Fri, Feb 16, 2018 at 03:41:35PM +0100, Igor Gnatenko wrote: > There is no simple way of doing this. grepping build logs for \bgcc\b might catch many of them? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog:

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Igor Gnatenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Fri, 2018-02-16 at 14:27 +, Daniel P. Berrangé wrote: > On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: > > Proposed System Wide Change: Remove GCC from BuildRoot > > https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Igor Gnatenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Fri, 2018-02-16 at 14:15 +, Richard W.M. Jones wrote: > On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: > > written in C/C++, they are written in Python, Ruby, Node.js, Go, Rust, > > OCaml, Perl and so on so they don't need to have

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Daniel P . Berrangé
On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: > Proposed System Wide Change: Remove GCC from BuildRoot > https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot > > > Owner(s): > * Igor Gnatenko > > > Removing gcc and gcc-c++ from default buildroot in Koji and mock. >

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Richard W.M. Jones
On Fri, Feb 16, 2018 at 12:56:32PM +0100, Jan Kurik wrote: > written in C/C++, they are written in Python, Ruby, Node.js, Go, Rust, > OCaml, Perl and so on so they don't need to have C/C++ compiler. OCaml is probably a bad example as it uses gcc as wrapper around gas and ld to perform the

Re: F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Vít Ondruch
Love that. Thank you for pushing this forward! V. Dne 16.2.2018 v 12:56 Jan Kurik napsal(a): > Proposed System Wide Change: Remove GCC from BuildRoot > https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot > > > Owner(s): > * Igor Gnatenko > > > Removing gcc and gcc-c++ from

F29 System Wide Change: Remove GCC from BuildRoot

2018-02-16 Thread Jan Kurik
Proposed System Wide Change: Remove GCC from BuildRoot https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot Owner(s): * Igor Gnatenko Removing gcc and gcc-c++ from default buildroot in Koji and mock. == Detailed description == Since beginning of Fedora, gcc (and gcc-c++) are