Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.5.1
-
None
-
-
7071aa8af (dev)
Description
Running macdeployqt on a GitLab CI build agent randomly fails to parse the output from otool. Below is a copy paste of macdeployqt run with verbosity level 3 (-verbose=3).
QProcess: Destroyed while process ("otool") is still running. Log: Using otool: Log: inspecting "/Users/gitlab/<PATH-TO-BUNDLE>/<BUNDLE>.app/Contents/MacOS/<APP> ERROR: Could not parse otool output: "" QProcess: Destroyed while process ("otool") is still running. WARNING: WARNING: Could not find any external Qt frameworks to deploy in "/Users/gitlab/<PATH-TO-BUNDLE>/<BUNDLE>.app" WARNING: Perhaps macdeployqt was already used on "/Users/gitlab/<PATH-TO-BUNDLE>/<BUNDLE>.app" ? WARNING: If so, you will need to rebuild "/Users/gitlab/<PATH-TO-BUNDLE>/<BUNDLE>.app" before trying again.
Below is a copy paste of a successful macdeployqt run (-verbose=3),
QProcess: Destroyed while process ("otool") is still running. Log: Using otool: Log: inspecting "/Users/gitlab/<PATH-TO-BUNDLE>/<BUNDLE>.app/Contents/MacOS/<APP>" Log: Using otool: Log: inspecting "/Users/gitlab/<PATH-TO-QTDIR>/lib/QtWidgets.framework/Versions/A/QtWidgets" Log: Adding framework: Log: Framework name "QtWidgets.framework" . . .
The message from QProcess (Destroyed while processing ("otool") is still running) is present in both successful runs and failing runs.