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

qtbase 5.11 fails to build qmake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.11.0 RC 1
    • Fix Version/s: 5.11.0
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:
    • Commits:
      6eef81ee1c82f934e14d47047d8b6103b8755321

      Description

      Hi

      I am trying to build Qt 5.11 on Debian Stretch (I was last building Qt 5.10)

      I get the below error output early, when it tries to make qmake for building the rest of Qt

      Thanks

      Creating qmake...
      /srcbuild/qtbase/src/corelib/io/qfilesystemengine_unix.cpp: In function ‘int qt_real_statx(int, const char*, int, statx*)’:
      /srcbuild/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:342:59: error: no matching function for call to ‘statx::statx(int&, const char*&, int&, unsigned int&, statx*&)’
           int ret = statx(fd, pathname, flags, mask, statxBuffer);
                                                                 ^
      In file included from /srcbuild/qtbase/src/corelib/io/qfilesystemengine_unix.cpp:94:0:
      /usr/include/linux/stat.h:99:8: note: candidate: statx::statx()
       struct statx \{
              ^~~~~
      /usr/include/linux/stat.h:99:8: note:   candidate expects 0 arguments, 5 provided
      /usr/include/linux/stat.h:99:8: note: candidate: constexpr statx::statx(const statx&)
      /usr/include/linux/stat.h:99:8: note:   candidate expects 1 argument, 5 provided
      /usr/include/linux/stat.h:99:8: note: candidate: constexpr statx::statx(statx&&)
      /usr/include/linux/stat.h:99:8: note:   candidate expects 1 argument, 5 provided
      Makefile:423: recipe for target 'qfilesystemengine_unix.o' failed
      make: *** [qfilesystemengine_unix.o] Error 1
      make: *** Waiting for unfinished jobs....
      PackagePrepareBuild finished in 30 seconds
      

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            nerdopolisturfwalker nerdopolis turfwalker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes