Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129826

[6.8] Minimum python version isn't correct anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.1, 6.8, 6.9.0 FF
    • 6.8
    • WebEngine
    • None
    • All
    • 4c47caee9 (dev), 3c33a0815 (6.8)

    Description

      The minimum python version is set to 3.6 in Gn related CMake files. This is not correct anymore since 6.8:

       

      [  101s] -- The CXX compiler identification is GNU 13.3.0
      [  101s] -- The C compiler identification is GNU 13.3.0
      [  101s] -- Detecting CXX compiler ABI info
      [  101s] -- Detecting CXX compiler ABI info - done
      [  101s] -- Check for working CXX compiler: /usr/bin/g++-13 - skipped
      [  101s] -- Detecting CXX compile features
      [  101s] -- Detecting CXX compile features - done
      [  101s] -- Detecting C compiler ABI info
      [  101s] -- Detecting C compiler ABI info - done
      [  101s] -- Check for working C compiler: /usr/bin/gcc-13 - skipped
      [  101s] -- Detecting C compile features
      [  101s] -- Detecting C compile features - done
      [  101s] -- Found Python3: /usr/bin/python3.6 (found version "3.6.15") found components: Interpreter 
      [  101s] -- Found Ninja: /usr/bin/ninja (found suitable version "1.10.0", minimum required is "1.7.2") 
      [  101s] -- Configuring done (0.4s)
      [  101s] -- Generating done (0.0s)
      [  101s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/gn
      [  101s] [52/455] cd /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/gn && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/gn/src/gn-stamp/gn-build
      [  101s] [0/1] Generating gn
      [  101s] Traceback (most recent call last):
      [  101s]   File "/home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/src/3rdparty/gn/build/gen.py", line 1045, in <module>
      [  101s]     sys.exit(main(sys.argv[1:]))
      [  101s]   File "/home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/src/3rdparty/gn/build/gen.py", line 246, in main
      [  101s]     WriteGNNinja(os.path.join(out_dir, 'build.ninja'), platform, host, options, args_list)
      [  101s]   File "/home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/src/3rdparty/gn/build/gen.py", line 543, in WriteGNNinja
      [  101s]     if is_gcc(cxx):
      [  101s]   File "/home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/src/3rdparty/gn/build/gen.py", line 257, in is_gcc
      [  101s]     capture_output=True)
      [  101s]   File "/usr/lib64/python3.6/subprocess.py", line 423, in run
      [  101s]     with Popen(*popenargs, **kwargs) as process:
      [  101s] TypeError: __init__() got an unexpected keyword argument 'text'
      [  101s] FAILED: gn /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/gn/gn 
      [  101s] cd /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/gn && /usr/bin/python3.6 /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/src/3rdparty/gn/build/gen.py --no-last-commit-position --out-path /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/gn/Release --cc /usr/bin/gcc-13 --cxx /usr/bin/g++-13 --ld /usr/bin/g++-13 --platform linux --ar /usr/bin/ar --qt-version 6.8.0.qtwebengine.qt.io && /usr/bin/ninja -C /home/abuild/rpmbuild/BUILD/qtwebengine-everywhere-src-6.8.0/build/src/gn/Release gn
      [  101s] ninja: build stopped: subcommand failed.
      

       

      Attachments

        For Gerrit Dashboard: QTBUG-129826
        # Subject Branch Project Status CR V

        Activity

          People

            michal Michal Klocek
            cgiboudeaux Christophe Marin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes