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

QDnsLookup build fails with MinGW 9.0.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.8.0 FF
    • 6.8
    • Network: DNS
    • None
    • 4b0b745d5 (dev)

    Description

      Needed definitions were added in MinGW 10.0.0

      agent:2024/05/11 03:45:55 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtbase/6.8.0/git/src/network/kernel/qdnslookup_win.cpp: In function 'DNS_STATUS sendAlternate(QDnsLookupRunnable*, QDnsLookupReply*, PDNS_QUERY_REQUEST, PDNS_QUERY_RESULT)':
      agent:2024/05/11 03:45:55 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtbase/6.8.0/git/src/network/kernel/qdnslookup_win.cpp:96:28: error: 'DNS_HEADER' has no member named 'AuthenticatedData'
      agent:2024/05/11 03:45:55 build.go:404: |    96 |     dnsBuffer->MessageHead.AuthenticatedData = true;
      agent:2024/05/11 03:45:55 build.go:404: |       |                            ^~~~~~~~~~~~~~~~~
      agent:2024/05/11 03:45:55 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtbase/6.8.0/git/src/network/kernel/qdnslookup_win.cpp: In member function 'void QDnsLookupRunnable::query(QDnsLookupReply*)':
      agent:2024/05/11 03:45:55 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtbase/6.8.0/git/src/network/kernel/qdnslookup_win.cpp:235:42: error: 'union _DnsRecordW::<unnamed>' has no member named 'Tlsa'
      agent:2024/05/11 03:45:55 build.go:404: |   235 |             const auto &tlsa = ptr->Data.Tlsa;
      agent:2024/05/11 03:45:55 build.go:404: |       |                                          ^~~~ 

      https://codereview.qt-project.org/c/qt/qtbase/+/555836

      https://codereview.qt-project.org/c/qt/qtbase/+/556468

       

       

      Attachments

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

        Activity

          People

            manordheim Mårten Nordheim
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes