Details
-
Bug
-
Status: Closed
-
Not Evaluated
-
Resolution: Invalid
-
5.15
-
None
-
None
-
Xcode 13.1 on macOS Big Sur 11.6.
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.