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

qnetworkinterface_unix fails on FreeBSD 10.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Out of scope
    • Affects Version/s: 5.11.0 Beta 2
    • Fix Version/s: None
    • Component/s: Network: Sockets
    • Labels:
      None

      Description

      Tried our CI with Qt 5.11 beta2 on FreeBSD.
      It fails on compilation here.

      clang++ -c -Xclang -include-pch -Xclang .pch/Qt5Gui/c++.pch -pipe -O3 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fno-exceptions -Wall -W -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -I../3rdparty/zlib/src -I../../include -I../../include/QtGui -I../../include/QtGui/5.11.0 -I../../include/QtGui/5.11.0/QtGui -I.tracegen -I/usr/local/include -I/usr/local/include/libdrm -I../../include/QtCore/5.11.0 -I../../include/QtCore/5.11.0/QtCore -I../../include/QtCore -I.moc -I../3rdparty/libpng -I/usr/home/[...]/include -I/usr/local/include -I../../mkspecs/freebsd-clang -o .obj/qaccessibleplugin.o accessible/qaccessibleplugin.cpp
      --- sub-network-make_first ---
      In file included from kernel/qnetworkinterface_unix.cpp:418:
      /usr/include/netinet/in_var.h:61:16: error: field has incomplete type 'struct ifaddr'
              struct  ifaddr ia_ifa;          /* protocol-independent info */
                             ^
      /usr/include/netinet/in_var.h:61:9: note: forward declaration of 'ifaddr'
              struct  ifaddr ia_ifa;          /* protocol-independent info */
                      ^
      /usr/include/netinet/in_var.h:214:18: error: field has incomplete type 'struct ifqueue'
              struct ifqueue   igi_gq;        /* queue of general query responses */
                               ^
      /usr/include/netinet/in_var.h:214:9: note: forward declaration of 'ifqueue'
              struct ifqueue   igi_gq;        /* queue of general query responses */
                     ^
      /usr/include/netinet/in_var.h:303:19: error: field has incomplete type 'struct ifqueue'
              struct ifqueue           inm_scq;       /* queue of pending
                                       ^
      /usr/include/netinet/in_var.h:214:9: note: forward declaration of 'ifqueue'
              struct ifqueue   igi_gq;        /* queue of general query responses */
                     ^
      In file included from kernel/qnetworkinterface_unix.cpp:418:
      In file included from /usr/include/netinet/in_var.h:481:
      /usr/include/netinet6/in6_var.h:127:16: error: field has incomplete type 'struct ifaddr'
              struct  ifaddr ia_ifa;          /* protocol-independent info */
                             ^
      /usr/include/netinet/in_var.h:61:9: note: forward declaration of 'ifaddr'
              struct  ifaddr ia_ifa;          /* protocol-independent info */
                      ^
      In file included from kernel/qnetworkinterface_unix.cpp:418:
      In file included from /usr/include/netinet/in_var.h:481:
      /usr/include/netinet6/in6_var.h:652:19: error: field has incomplete type 'struct ifqueue'
              struct ifqueue           in6m_scq;      /* queue of pending
                                       ^
      /usr/include/netinet/in_var.h:214:9: note: forward declaration of 'ifqueue'
              struct ifqueue   igi_gq;        /* queue of general query responses */
                     ^
      --- .obj/qnetworkproxy_generic.o ---
      

        Attachments

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

          Activity

            People

            • Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              misery André Klitzing
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes