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

Build fails: error: must specify at least one argument

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.5.0 Beta1
    • 6.5
    • Remote Objects
    • None
    • c50f54a309 (qt/tqtc-qmlcompilerplus/dev)

    Description

      The dependency update round fails for qtremoteobjects on the dev branch:

      https://codereview.qt-project.org/c/qt/qtremoteobjects/+/420910

       In file included from /Users/qt/work/qt/qtremoteobjects_build/include/QtRemoteObjects/qtremoteobjectglobal.h:1:
       /Users/qt/work/qt/qtremoteobjects_build/include/QtRemoteObjects/../../../qtremoteobjects/src/remoteobjects/qtremoteobjectglobal.h:79:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
      
       717: Q_DECLARE_LOGGING_CATEGORY(QT_REMOTEOBJECT)
       ^
       /Users/qt/work/install/lib/QtCore.framework/Headers/qloggingcategory.h:111:45: note: expanded from macro 'Q_DECLARE_LOGGING_CATEGORY'
           Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name)
                                                   ^
       /Users/qt/work/install/lib/QtCore.framework/Headers/qloggingcategory.h:107:9: note: macro 'Q_DECLARE_EXPORTED_LOGGING_CATEGORY' defined here
       #define Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name, ...) \
               ^
       In file included from /Users/qt/work/qt/qtremoteobjects/src/remoteobjects/qremoteobjectabstractitemmodelreplica.h:7:
       In file included from /Users/qt/work/qt/qtremoteobjects_build/include/QtRemoteObjects/qtremoteobjectglobal.h:1:
       /Users/qt/work/qt/qtremoteobjects_build/include/QtRemoteObjects/../../../qtremoteobjects/src/remoteobjects/qtremoteobjectglobal.h:80:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments]
      
       728: Q_DECLARE_LOGGING_CATEGORY(QT_REMOTEOBJECT_MODELS)
       ^
       /Users/qt/work/install/lib/QtCore.framework/Headers/qloggingcategory.h:111:45: note: expanded from macro 'Q_DECLARE_LOGGING_CATEGORY'
           Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name)
                                                   ^
       /Users/qt/work/install/lib/QtCore.framework/Headers/qloggingcategory.h:107:9: note: macro 'Q_DECLARE_EXPORTED_LOGGING_CATEGORY' defined here
       #define Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name, ...) \
               ^
       In file included from /Users/qt/work/qt/qtremoteobjects/src/remoteobjects/qremoteobjectabstractitemmodelreplica.h:7:
       In file included from /Users/qt/work/qt/qtremoteobjects_build/include/QtRemoteObjects/qtremoteobjectglobal.h:1:
       /Users/qt/work/qt/qtremoteobjects_build/include/QtRemoteObjects/../../../qtremoteobjects/src/remoteobjects/qtremoteobjectglobal.h:81:1: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-argument
      
       744: /Users/qt/work/install/lib/QtCore.framework/Headers/qloggingcategory.h:107:9: note: macro 'Q_DECLARE_EXPORTED_LOGGING_CATEGORY' defined here
       #define Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name, ...) \
               ^
       3 errors generated.
       ninja: build stopped: subcommand failed.
       Process finished with error: exit status 1
       Executing scheduled instruction 1 of 1 - Upload all core dumps if there are some
       Skip uploading core files because CORE_FILES_PATH is not set in the environment
       agent:2022/07/07 22:33:22 build.go:813:
       Build failed
      

      Build log: https://testresults.qt.io/logs/qt/qtremoteobjects/0314b821a676ce18fae811f8e8b661c9fc6ef60e/MacOSMacOS_12arm64MacOSMacOS_12x86_64-arm64Clangqtci-macos-12-arm64WarningsAreErrors/1881e842869ffef3b0955d3e9aea94ca02106174/build_1657233309/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtremoteobjects/tasks/1657233220

      Attachments

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

        Activity

          People

            sonakur Sona Kurazyan
            tarjasundqvist Tarja Sundqvist
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes