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

Build Qt5.15.9 from sources. First run of "make -j1 install" fails. Second run works.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.15.9
    • Build System
    • None
    • macOS Big Sur 11.6.5
      Mac Mini Apple M1 processor, model 2020
      Xcode 12.5.1
      Qt5.15.9
    • macOS

    Description

      I was building Qt5.15.9 from the sources on a Mac mini with Apple M1 processor and on this machine there was never before installed Qt or performed any built of a Qt version from the source. So there should be no left overs from previous builds.

      I have installed Xcode 12.5.1 and then I used the Qt5.15.9 sources archive downloaded from my Qt account and used for the configuration step:

      ./configure -debug-and-release -nomake examples -nomake tests QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" -skip qtwebengine
      

      For the build process (which finished successfully) I have used:

      make -j14
      

      For the installation:

      sudo make -j1 install
      

      There could be seen the following error message:

      The macosx platform SDK has been changed from version 11.3 to version 11.3
      This requires a fresh build of your project. Please wipe the build directory
      

      See also attached screen shot and the attached file InstallStepWithErrorMessage.txt with the complete text from the output in the terminal.

      When starting the install step once again, there was no more raised an error message and the installation process completed successfully.
      Therefore it is not a critical issue for me.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            andreasr Andreas Renz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes