Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1304

Compile Fails on Mac 10.15 with XCode 12.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.14.2, 5.15.0
    • Build System
    • None
    • macOS

    Description

      In the 5.14 Pyside-setup branch
      MacOS 10.15.4
      xcodebuild -version=11.4.1
      cmake --version = 3.17.2

      % cd pyside-setup
      % mkdir build; cd build
      % cmake -DCMAKE_BUILD_TYPE=RELEASE ..
      % make

      [  0%] Automatic MOC for target apiextractor
      [  0%] Built target apiextractor_autogen
      [  0%] Building CXX object sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor_autogen/mocs_compilation.cpp.o
      In file included from /data/Qi/pyside-setup/build-5.14-clang/sources/shiboken2/ApiExtractor/apiextractor_autogen/mocs_compilation.cpp:2:
      In file included from /data/Qi/pyside-setup/build-5.14-clang/sources/shiboken2/ApiExtractor/apiextractor_autogen/EWIEGA46WW/moc_abstractmetalang.cpp:9:
      In file included from /data/Qi/pyside-setup/sources/shiboken2/ApiExtractor/abstractmetalang.h:32:
      In file included from /data/Qi/pyside-setup/sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/QVector:1:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qvector.h:45:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qlist.h:47:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qhashfunctions.h:47:
      In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/numeric:148:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:317:9: error:
            no member named 'signbit' in the global namespace
      using ::signbit;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error:
            no member named 'fpclassify' in the global namespace
      using ::fpclassify;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error:
            no member named 'isfinite' in the global namespace; did you mean 'finite'?
      using ::isfinite;
            ~~^
      /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:749:12: note:
            'finite' declared here
      extern int finite(double)
                 ^
      In file included from /data/Qi/pyside-setup/build-5.14-clang/sources/shiboken2/ApiExtractor/apiextractor_autogen/mocs_compilation.cpp:2:
      In file included from /data/Qi/pyside-setup/build-5.14-clang/sources/shiboken2/ApiExtractor/apiextractor_autogen/EWIEGA46WW/moc_abstractmetalang.cpp:9:
      In file included from /data/Qi/pyside-setup/sources/shiboken2/ApiExtractor/abstractmetalang.h:32:
      In file included from /data/Qi/pyside-setup/sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/QVector:1:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qvector.h:45:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qlist.h:47:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qhashfunctions.h:47:
      In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/numeric:148:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error:
            no member named 'isinf' in the global namespace
      using ::isinf;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error:
            no member named 'isnan' in the global namespace
      using ::isnan;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error:
            no member named 'isnormal' in the global namespace
      using ::isnormal;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:9: error:
            no member named 'isgreater' in the global namespace; did you mean
            'qGreater'?
      using ::isgreater;
            ~~^
      /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qalgorithms.h:163:43: note:
            'qGreater' declared here
      class QT_DEPRECATED_X("Use std::greater") qGreater
                                                ^
      In file included from /data/Qi/pyside-setup/build-5.14-clang/sources/shiboken2/ApiExtractor/apiextractor_autogen/mocs_compilation.cpp:2:
      In file included from /data/Qi/pyside-setup/build-5.14-clang/sources/shiboken2/ApiExtractor/apiextractor_autogen/EWIEGA46WW/moc_abstractmetalang.cpp:9:
      In file included from /data/Qi/pyside-setup/sources/shiboken2/ApiExtractor/abstractmetalang.h:32:
      In file included from /data/Qi/pyside-setup/sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/QVector:1:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qvector.h:45:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qlist.h:47:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qhashfunctions.h:47:
      In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/numeric:148:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:7: error:
            no member named 'isgreaterequal' in the global namespace; did you mean
            '::std::greater_equal'?
      using ::isgreaterequal;
            ^~
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:760:29: note:
            '::std::greater_equal' declared here
      struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
                                  ^
      In file included from /data/Qi/pyside-setup/build-5.14-clang/sources/shiboken2/ApiExtractor/apiextractor_autogen/mocs_compilation.cpp:2:
      In file included from /data/Qi/pyside-setup/build-5.14-clang/sources/shiboken2/ApiExtractor/apiextractor_autogen/EWIEGA46WW/moc_abstractmetalang.cpp:9:
      In file included from /data/Qi/pyside-setup/sources/shiboken2/ApiExtractor/abstractmetalang.h:32:
      In file included from /data/Qi/pyside-setup/sources/shiboken2/ApiExtractor/abstractmetalang_typedefs.h:32:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/QVector:1:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qvector.h:45:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qlist.h:47:
      In file included from /data/Qt/online/5.12.8/clang_64/lib/QtCore.framework/Headers/qhashfunctions.h:47:
      In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/numeric:148:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:9: error:
            no member named 'isless' in the global namespace
      using ::isless;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error:
            no member named 'islessequal' in the global namespace
      using ::islessequal;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error:
            no member named 'islessgreater' in the global namespace
      using ::islessgreater;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error:
            no member named 'isunordered' in the global namespace
      using ::isunordered;
            ~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error:
            no member named 'isunordered' in the global namespace
      using ::isunordered;
            ~~^
      13 errors generated.
      make[2]: *** [sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/apiextractor_autogen/mocs_compilation.cpp.o] Error 1
      make[1]: *** [sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/all] Error 2
      make: *** [all] Error 2
      [2020-05-16 08:54:19]allen@Allens-MacBook-Pro:/data/Qi/pyside-setup/build-5.14-clang(5.14=)
      

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            awinterz Allen Winter
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes