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

Qt Knx fails to build against latest Qt5.git in '5.12'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.12.5
    • Fix Version/s: 5.12.5
    • Component/s: KNX
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      From build log:

      In file included from ../../include/QtKnx/qknxbytearray.h:1:0,
      agent:2019/08/19 08:36:14 build.go:215: from ../../include/QtKnx/../../src/knx/qknxutils.h:33,
      agent:2019/08/19 08:36:14 build.go:215: from ../../include/QtKnx/qknxutils.h:1,
      agent:2019/08/19 08:36:14 build.go:215: from qknxaddress.h:36:
      agent:2019/08/19 08:36:14 build.go:215: ../../include/QtKnx/../../src/knx/core/qknxbytearray.h: In member function ‘void QKnxByteArray::set(int, quint8)’:
      agent:2019/08/19 08:36:14 build.go:215: ../../include/QtKnx/../../src/knx/core/qknxbytearray.h:95:42: error: declaration of ‘value’ shadows a member of 'this' [-Werror=shadow]
      agent:2019/08/19 08:36:14 build.go:215: inline void set(int i, quint8 value)

      { m_bytes[i] = value; }
      agent:2019/08/19 08:36:14 build.go:215: ^
      agent:2019/08/19 08:36:14 build.go:215: In file included from ../../include/QtKnx/qknxbytearray.h:1:0,
      agent:2019/08/19 08:36:14 build.go:215: from qknxadditionalinfo.h:36:
      agent:2019/08/19 08:36:14 build.go:215: ../../include/QtKnx/../../src/knx/core/qknxbytearray.h: In member function ‘void QKnxByteArray::set(int, quint8)’:
      agent:2019/08/19 08:36:14 build.go:215: ../../include/QtKnx/../../src/knx/core/qknxbytearray.h:95:42: error: declaration of ‘value’ shadows a member of 'this' [-Werror=shadow]
      agent:2019/08/19 08:36:14 build.go:215: inline void set(int i, quint8 value) { m_bytes[i] = value; }

      agent:2019/08/19 08:36:14 build.go:215: ^
      agent:2019/08/19 08:36:14 build.go:215: ../../include/QtKnx/../../src/knx/core/qknxbytearray.h: In member function ‘void QKnxByteArray::setValue(int, quint8)’:
      agent:2019/08/19 08:36:14 build.go:215: ../../include/QtKnx/../../src/knx/core/qknxbytearray.h:98:5: error: declaration of ‘value’ shadows a member of 'this' [-Werror=shadow]
      agent:2019/08/19 08:36:14 build.go:215: {
      agent:2019/08/19 08:36:14 build.go:215: ^
      agent:2019/08/19 08:36:14 build.go:215: ../../include/QtKnx/../../src/knx/core/qknxbytearray.h: In member function ‘void QKnxByteArray::setValue(int, quint8)’:
      agent:2019/08/19 08:36:14 build.go:215: ../../include/QtKnx/../../src/knx/core/qknxbytearray.h:98:5: error: declaration of ‘value’ shadows a member of 'this' [-Werror=shadow]
      agent:2019/08/19 08:36:14 build.go:215: {
      agent:2019/08/19 08:36:14 build.go:215: ^
      agent:2019/08/19 08:36:14 build.go:215: cc1plus: all warnings being treated as errors
      agent:2019/08/19 08:36:14 build.go:215: cc1plus: all warnings being treated as errors
      agent:2019/08/19 08:36:14 build.go:215: Makefile:993: recipe for target '.obj/header_qknxadditionalinfo.o' failed
      agent:2019/08/19 08:36:14 build.go:215: make[2]: *** [.obj/header_qknxadditionalinfo.o] Error 1
      agent:2019/08/19 08:36:14 build.go:215: make[2]: *** Waiting for unfinished jobs....
      agent:2019/08/19 08:36:14 build.go:215: Makefile:1069: recipe for target '.obj/header_qknxaddress.o' failed
      agent:2019/08/19 08:36:14 build.go:215: make[2]: *** [.obj/header_qknxaddress.o] Error 1
      agent:2019/08/19 08:36:14 build.go:215: make[2]: Leaving directory '/home/qt/work/qt/qtknx/src/knx'
      agent:2019/08/19 08:36:15 build.go:215: Makefile:46: recipe for target 'sub-knx-make_first' failed
      agent:2019/08/19 08:36:15 build.go:215: make[1]: *** [sub-knx-make_first] Error 2
      agent:2019/08/19 08:36:15 build.go:215: make[1]: Leaving directory '/home/qt/work/qt/qtknx/src'
      agent:2019/08/19 08:36:15 build.go:215: Makefile:48: recipe for target 'sub-src-make_first' failed
      agent:2019/08/19 08:36:15 build.go:215: make: *** [sub-src-make_first] Error 2
      agent:2019/08/19 08:36:15 build.go:248: Process finished with error: exit status 2
      agent:2019/08/19 08:36:15 build.go:539: Executing scheduled instruction 1 of 1 - Upload all core dumps if there are some
      agent:2019/08/19 08:36:15 build.go:541:
      agent:2019/08/19 08:36:15 agent.go:266: Build failed
      agent:2019/08/19 08:36:15 agent.go:199: ERROR building: exit status 2
      agent:2019/08/19 08:36:15 build.go:218: Error reading from stdout/err: exit status 2
      2019-08-19 08:36:15,341 INFO:workitem.py:550(25373): Agent FINISHED FAIL: <could not determine failure location - check log!>: qt/qtknx/28957c979a0887c9b0309e0c4b50c24d84e5895a/LinuxSLES_12x86_64LinuxSLES_12x86_64GCCqtci-linux-SLES-12-x86_64-63cc92DisableTests/46a1613ca66b01f26cd1ffc9dc318db090dfa2c2/Build

      It seems this is new issue with recently added Linux SLES_12 (gcc-x86_64)

        Attachments

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

          Activity

            People

            • Assignee:
              heimrich Karsten Heimrich
              Reporter:
              janihe Jani Heikkinen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes