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

Configure script on macOS on Qt 5.15 with Xcode 13.1 fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15
    • Build System
    • None
    • Xcode 13.1 on macOS Big Sur 11.6.
    • macOS

    Description

      After upgrading Xcode to 13.1, I got a compilation error on dev, which I fixed:
      https://codereview.qt-project.org/c/qt/qtbase/+/378706

      I later cherry-picked this to 6.2 as well.

      When I was in the process cherry-picking it to 5.15, running the configure script failed with the following message in config.log:

      + cd /Users/oyheskes/src/tqtc-5.15/build/config.tests/tds && MAKEFLAGS= /usr/bin/make
       > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -mmacosx-version-min=10.13 -w -fPIC -I. -I/Users/oyheskes/src/tqtc-5.15/qtbase/mkspecs/macx-clang -o main.o main.cpp
       > main.cpp:2:10: fatal error: 'sybfront.h' file not found
       > #include <sybfront.h>
       > ^~~~~~~~~~~~
       > 1 error generated.
       > make: *** [main.o] Error 1
       => source failed verification.
       test config.qtbase_sqldrivers.libraries.tds FAILED

      This is different from the missing header problem I was solving.

      It looks like a sybase/tds related problem.
      I installed freetds using homebrew, after which I had the missing header in /usr/local/include, but configure still failed. I had no such problems when I compiled 5.15 some months ago, using an older version of Xcode.

      Attachments

        1. config.log
          110 kB
        2. configure-run.stderr
          9 kB
        3. configure-run.stdout
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            oyheskes Øystein Heskestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes