Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5458

Provisioning of mac machines fails in tqtc/lts-6.2 branch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • master
    • None
    • macOS
    • bb8a6891c (tqtc/lts-6.2), 5de3be78f (tqtc/lts-6.2), 1673f6aa6 (tqtc/lts-6.2), 2345f01c5 (dev), 13215b3aa (dev), e9588bd83 (tqtc/lts-5.15), 388592535 (tqtc/lts-5.15), d91223504 (tqtc/lts-5.15)

    Description

      I've been trying to merge https://codereview.qt-project.org/c/qt/tqtc-qt5/+/456734 for a while now, but now provisioning truly looks broken, with different reasons on different macos versions.

      http://coin/coin/integration/qt/tqtc-qt5/tasks/1684640135

      freetype fails to compile with homebrew on 10.14 (note homebrew says 10.14 is unsupported)

      In file included from /private/tmp/freetype-20230314-11036-15ao3vz/freetype-2.13.0/src/sfnt/sfnt.c:21:
      /private/tmp/freetype-20230314-11036-15ao3vz/freetype-2.13.0/src/sfnt/pngshim.c:411:7: error: expected expression
            FALL_THROUGH;
            ^
      /private/tmp/freetype-20230314-11036-15ao3vz/freetype-2.13.0/include/freetype/internal/compiler-macros.h:46:27: note: expanded from macro 'FALL_THROUGH'
      #    define FALL_THROUGH  __attribute__(( __fallthrough__ ))
                                ^
      1 error generated.
      make: *** [/private/tmp/freetype-20230314-11036-15ao3vz/freetype-2.13.0/objs/sfnt.lo] Error 1
      

      emscripten fails to install on macos 11 and 12

      ++ sudo ./emsdk install 2.0.14
      Error: Downloading URL 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v14.18.2-darwin-x64.tar.gz': 
      Warning: Possibly SSL/TLS issue. Update or install Python SSL root certificates (2048-bit or greater) supplied in Python folder or https://pypi.org/project/certifi/ and try again.
      error: installation failed!
      

      p7zip has a differing sha1 than the pinned one on macos 10.15

      ==> Fetching p7zip
      ==> Downloading https://github.com/p7zip-project/p7zip/archive/v17.05.tar.gz
      ==> Downloading from https://codeload.github.com/p7zip-project/p7zip/tar.gz/refs/tags/v17.05
      Error: p7zip: SHA256 mismatch
      Expected: 9473e324de6a87d89cb7ff65b0fec4ae3f147f03ffc138189c336a4650d74804
        Actual: d2788f892571058c08d27095c22154579dfefb807ebe357d145ab2ddddefb1a6
          File: /Users/qt/Library/Caches/Homebrew/downloads/551a3458140ac9653922e87808998945b2244e4bac817715cf681db6a9836e18--p7zip-17.05.tar.gz
      To retry an incomplete download, remove the file above.
      

      Also 26-odbc.sh is failing with brew

      http://coin/coin/api/log/provisioning/qtci-macos-10.15-x86_64-102-f27065/provision_1684873060/log.txt.gz

      agent:2023/03/16 13:22:59 build.go:792: Running provisioning bash script: "/var/folders/c8/bp_fwg794mnbllzzmnxr3xqc0000gn/T/provisioning-2583164646/coin/provisioning/qtci-macos-10.15-x86_64/26-odbc.sh" + set -ex ++ dirname /var/folders/c8/bp_fwg794mnbllzzmnxr3xqc0000gn/T/provisioning-2583164646/coin/provisioning/qtci-macos-10.15-x86_64/26-odbc.sh + BASEDIR=/var/folders/c8/bp_fwg794mnbllzzmnxr3xqc0000gn/T/provisioning-2583164646/coin/provisioning/qtci-macos-10.15-x86_64 + /var/folders/c8/bp_fwg794mnbllzzmnxr3xqc0000gn/T/provisioning-2583164646/coin/provisioning/qtci-macos-10.15-x86_64/../common/macos/libiodbc.sh + source /var/folders/c8/bp_fwg794mnbllzzmnxr3xqc0000gn/T/provisioning-2583164646/coin/provisioning/qtci-macos-10.15-x86_64/../common/macos/../unix/SetEnvVar.sh ++ set -ex + brew install /var/folders/c8/bp_fwg794mnbllzzmnxr3xqc0000gn/T/provisioning-2583164646/coin/provisioning/qtci-macos-10.15-x86_64/../common/macos/libiodbc.rb Error: Failed to load cask: /var/folders/c8/bp_fwg794mnbllzzmnxr3xqc0000gn/T/provisioning-2583164646/coin/provisioning/qtci-macos-10.15-x86_64/../common/macos/libiodbc.rb Cask 'libiodbc' is unreadable: wrong constant name #<Class:0x00007fbf8a579710> Warning: Treating /var/folders/c8/bp_fwg794mnbllzzmnxr3xqc0000gn/T/provisioning-2583164646/coin/provisioning/qtci-macos-10.15-x86_64/../common/macos/libiodbc.rb as a formula. Warning: You are using macOS 10.15. We (and Apple) do not provide support for this old version. It is expected behaviour that some formulae will fail to build in this old version. It is expected behaviour that Homebrew will be buggy and slow. Do not create any issues about this on Homebrew's GitHub repositories. Do not create any issues even if you think this message is unrelated. Any opened issues will be immediately closed without response. Do not ask for help from Homebrew or its maintainers on social media. You may ask for help in Homebrew's discussions but are unlikely to receive a response. Try to figure out the problem yourself and submit a fix as a pull request. We will review it but may or may not accept it.

      Attachments

        Issue Links

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

          Activity

            People

              hehalmet Heikki Halmet
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: