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

Android build failed: io/qfilesystemengine_unix.cpp:310:15: error: no matching constructor for initialization of 'statx'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.12.0 Beta 3
    • Fix Version/s: 5.11.3, 5.12.0 Beta 3
    • Component/s: Core: I/O
    • Labels:
      None
    • Platform/s:
      Android
    • Commits:
      7f60940fbedef17984e283da41eae94f29fef428 (qt/qtbase/5.11)

      Description

      https://codereview.qt-project.org/#/c/242694/ Merge remote-tracking branch 'origin/5.11' into 5.12, PS6 with a few other changes

      https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1540701706

      https://testresults.qt.io/logs/qt/qtbase/332cc117449e8d6af01c2cd7b89287c4319d0357/LinuxRHEL_7_4x86_64AndroidAndroid_ANYarmv7Clangqtci-linux-RHEL-7.4-x86_64-0074dfRelease_DisableTests_OpenGLES2_NoUseGoldLinker/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/build_1540701769/log.txt.gz

      agent:2018/10/17 06:54:08 build.go:193: io/qfilesystemengine_unix.cpp:310:15: error: no matching constructor for initialization of 'statx'
      agent:2018/10/17 06:54:08 build.go:193:     int ret = statx(fd, pathname, flags, mask, statxBuffer);
      agent:2018/10/17 06:54:08 build.go:193:               ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      agent:2018/10/17 06:54:08 build.go:193: /opt/android/android-ndk-r16b/sysroot/usr/include/linux/stat.h:59:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
      agent:2018/10/17 06:54:08 build.go:193: struct statx {
      agent:2018/10/17 06:54:08 build.go:193:        ^
      agent:2018/10/17 06:54:08 build.go:193: /opt/android/android-ndk-r16b/sysroot/usr/include/linux/stat.h:59:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 5 were provided
      agent:2018/10/17 06:54:08 build.go:193: /opt/android/android-ndk-r16b/sysroot/usr/include/linux/stat.h:59:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 5 were provided
      agent:2018/10/17 06:54:08 build.go:193: 1 error generated.
      agent:2018/10/17 06:54:08 build.go:193: make[2]: *** [.obj/qfilesystemengine_unix.o] Error 1
      agent:2018/10/17 06:54:08 build.go:193: make[2]: *** Waiting for unfinished jobs....
      

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes