Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2666

PySide 6.6.3 cannot be built

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.0
    • 6.6.3
    • PySide
    • Ubuntu 22.04; gcc 11.4.0; official Qt 6.6.3 binary
    • All
    • feb211042f6da3879601aed6fd0cd8b1ee613124

    Description

      Build fails with this for PySide 6.6.3 release and the latest in 6.6.3.1 branch:

      FAILED: libpyside/CMakeFiles/pyside6.dir/signalmanager.cpp.o 
      /usr/bin/c++ -DBUILD_LIBPYSIDE -DNDEBUG -DPy_LIMITED_API=0x03060000 -DQT_CORE_LIB -DQT_LEAN_HEADERS=1 -DQT_NO_DEBUG -DQT_NO_KEYWORDS=1 -I/home/user/work/pyside-setup/build/qfp-py3.10-qt6.6.3-64bit-release/build/pyside6/libpyside/pyside6_autogen/include -I/home/user/work/pyside-setup/sources/pyside6/libpyside -isystem /home/user/work/pyside-setup/build/qfp-py3.10-qt6.6.3-64bit-release/install/include/shiboken6 -isystem /usr/include/python3.10 -isystem /home/user/Qt/6.6.3/gcc_64/include/QtCore -isystem /home/user/Qt/6.6.3/gcc_64/include -isystem /home/user/Qt/6.6.3/gcc_64/mkspecs/linux-g++ -isystem /home/user/Qt/6.6.3/gcc_64/include/QtCore/6.6.3 -isystem /home/user/Qt/6.6.3/gcc_64/include/QtCore/6.6.3/QtCore -Wall -Wextra -Wno-strict-aliasing -Wno-cast-function-type -fvisibility=hidden -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -Os -DNDEBUG -fPIC   -fPIC -ffunction-sections -fdata-sections -fno-exceptions -fPIC -std=gnu++17 -MD -MT libpyside/CMakeFiles/pyside6.dir/signalmanager.cpp.o -MF libpyside/CMakeFiles/pyside6.dir/signalmanager.cpp.o.d -o libpyside/CMakeFiles/pyside6.dir/signalmanager.cpp.o -c /home/user/work/pyside-setup/sources/pyside6/libpyside/signalmanager.cpp
      /home/user/work/pyside-setup/sources/pyside6/libpyside/signalmanager.cpp: In function ‘QByteArray msgCannotConvertParameter(const QMetaMethod&, qsizetype)’:
      /home/user/work/pyside-setup/sources/pyside6/libpyside/signalmanager.cpp:84:12: error: unable to find string literal operator ‘operator""_ba’ with ‘const char [28]’, ‘long unsigned int’ arguments
         84 |     return "Cannot call meta function \""_ba + methodSignature(method)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/user/work/pyside-setup/sources/pyside6/libpyside/signalmanager.cpp:85:64: error: unable to find string literal operator ‘operator""_ba’ with ‘const char [11]’, ‘long unsigned int’ arguments
         85 |            + "\" because parameter " + QByteArray::number(p) + " of type \""_ba
            |                                                                ^~~~~~~~~~~~~~~~
      /home/user/work/pyside-setup/sources/pyside6/libpyside/signalmanager.cpp:86:44: error: unable to find string literal operator ‘operator""_ba’ with ‘const char [23]’, ‘long unsigned int’ arguments
         86 |            + method.parameterTypeName(p) + "\" cannot be converted."_ba;
            |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/user/work/pyside-setup/sources/pyside6/libpyside/signalmanager.cpp: In function ‘QByteArray msgCannotConvertReturn(const QMetaMethod&)’:
      /home/user/work/pyside-setup/sources/pyside6/libpyside/signalmanager.cpp:91:12: error: unable to find string literal operator ‘operator""_ba’ with ‘const char [22]’, ‘long unsigned int’ arguments
         91 |     return "The return value of \""_ba + methodSignature(method) + "\" cannot be converted."_ba;
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/user/work/pyside-setup/sources/pyside6/libpyside/signalmanager.cpp:91:68: error: unable to find string literal operator ‘operator""_ba’ with ‘const char [23]’, ‘long unsigned int’ arguments
         91 |     return "The return value of \""_ba + methodSignature(method) + "\" cannot be converted."_ba;
            |                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      

      The command used:

      python setup.py install --qtpaths=/home/user/Qt/6.6.3/gcc_64/bin/qtpaths --parallel=20  --module-subset=Core,Gui,Widgets --prefix $PWD/inst
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes