#5 Stop using Python 2 at build time
Opened a month ago by churchyard. Modified 5 days ago
rpms/ churchyard/gcc nopy2  into  master

file modified
+1 -1

@@ -162,7 +162,7 @@ 

  BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man

  BuildRequires: systemtap-sdt-devel >= 1.3

  BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1

- BuildRequires: python2-devel, python3-devel, /usr/bin/python

+ BuildRequires: python3-devel, /usr/bin/python

  BuildRequires: gcc, gcc-c++

  %if %{build_go}

  BuildRequires: hostname, procps

rebased onto 974d842

21 days ago

rebased onto 7346dbc

15 days ago

Guess that would need analysis of all the python scripts we use during the build.
Or is /usr/bin/python already python3?
I see e.g.
==> contrib/dg-extract-results.py <==

!/usr/bin/python

==> contrib/jit-coverage-report.py <==

! /usr/bin/python

==> contrib/filter_params.py <==

!/usr/bin/python

==> contrib/testsuite-management/validate_failures.py <==

!/usr/bin/python

==> contrib/header-tools/headerutils.py <==

! /usr/bin/python2

==> contrib/gen_autofdo_event.py <==

!/usr/bin/python

==> contrib/update-copyright.py <==

!/usr/bin/python

==> contrib/unused_functions.py <==

!/usr/bin/env python

==> libstdc++-v3/scripts/make_graph.py <==

!/usr/bin/python

@dmalcolm ?

Or is /usr/bin/python already python3?

It is. Since Fedora 31.