Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt/5.x.x: Disable QtWebEngine jumbo builds #11496

Conversation

jwillikers
Copy link
Contributor

@jwillikers jwillikers commented Jul 2, 2022

Jumbo builds consistently crash builds when building QtWebEngine.
On a fairly new machine with 32 GB of RAM, I can't have other applications open.
On a the Pinebook Pro, an aarch64 machine, compilation just freezes when it reaches jumbo builds.
Although jumbo builds can improve build times, they should never be defaulted on.
This is explained in the CMake documentation for unity builds.
To ensure builds complete, jumbo builds must be disabled.
The QMake configure command-line option -webengine-jumbo-build 0 accomplishes this.

Specify library name and version: qt/5.x.x


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@ghost
Copy link

ghost commented Jul 2, 2022

Jumbo builds consistently crash builds when building QtWebEngine.
On a fairly new machine with 32 GB of RAM, I can't have other applications open.
On a the Pinebook Pro, an aarch64 machine, compilation just freezes when it reaches jumbo builds.
Although jumbo builds can improve build times, they should never be defaulted on.
This is explained in the CMake documentation for unity builds.
To ensure builds complete, jumbo builds must be disabled.
The QMake configure command-line option `-webengine-jumbo-build 0` accomplishes this.
@conan-center-bot
Copy link
Collaborator

All green in build 4 (8f96032e6b267b95f7fb558fbb0325eaa63896cf):

  • qt/5.15.5@:
    All packages built successfully! (All logs)

    Result of export using Conan v2 (informative)

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future.
    This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this export step will work.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py", line 2, in <module>
        from conans import ConanFile, tools, RunEnvironment
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.2@:
    All packages built successfully! (All logs)

    Result of export using Conan v2 (informative)

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future.
    This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this export step will work.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py", line 2, in <module>
        from conans import ConanFile, tools, RunEnvironment
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.4@:
    All packages built successfully! (All logs)

    Result of export using Conan v2 (informative)

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future.
    This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this export step will work.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py", line 2, in <module>
        from conans import ConanFile, tools, RunEnvironment
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.3@:
    All packages built successfully! (All logs)

    Result of export using Conan v2 (informative)

    We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future.
    This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this export step will work.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py
      File "<frozen importlib._bootstrap_external>", line 728, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/conan/w/prod_cci_PR-11496/recipes/qt/5.x.x/conanfile.py", line 2, in <module>
        from conans import ConanFile, tools, RunEnvironment
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2022

Hooks produced the following warnings for commit 8f96032
qt/5.15.2
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\libGLESv2d.dll' links to system library 'd3d9' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\libGLESv2.dll' links to system library 'd3d9' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\platforms\qdirect2d.dll' links to system library 'd2d1' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\sqldrivers\qsqlodbc.dll' links to system library 'odbc32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\Qt5Gui.dll' links to system library 'd3d11' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\platforms\qdirect2d.dll' links to system library 'd3d11' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\platforms\qdirect2d.dll' links to system library 'dwrite' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\Qt5Widgets.dll' links to system library 'uxtheme' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\styles\qwindowsvistastyle.dll' links to system library 'uxtheme' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\Qt5Core.dll' links to system library 'mpr' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\Qt5Gui.dll' links to system library 'dxgi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\Qt5Guid.dll' links to system library 'd3d11' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\platforms\qdirect2dd.dll' links to system library 'd3d11' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\platforms\qdirect2dd.dll' links to system library 'dwrite' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\sqldrivers\qsqlodbcd.dll' links to system library 'odbc32' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\Qt5Cored.dll' links to system library 'mpr' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\Qt5Guid.dll' links to system library 'dxgi' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\Qt5Widgetsd.dll' links to system library 'uxtheme' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\styles\qwindowsvistastyled.dll' links to system library 'uxtheme' but it is not in cpp_info.system_libs.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library '.\bin\archdatadir\plugins\platforms\qdirect2dd.dll' links to system library 'd2d1' but it is not in cpp_info.system_libs.

@conan-center-bot conan-center-bot merged commit df1fb26 into conan-io:master Jul 7, 2022
@jwillikers jwillikers deleted the qtwebengine-disable-jumbo-builds branch July 7, 2022 12:09
AndreyMlashkin pushed a commit to AndreyMlashkin/conan-center-index that referenced this pull request Jul 29, 2022
Jumbo builds consistently crash builds when building QtWebEngine.
On a fairly new machine with 32 GB of RAM, I can't have other applications open.
On a the Pinebook Pro, an aarch64 machine, compilation just freezes when it reaches jumbo builds.
Although jumbo builds can improve build times, they should never be defaulted on.
This is explained in the CMake documentation for unity builds.
To ensure builds complete, jumbo builds must be disabled.
The QMake configure command-line option `-webengine-jumbo-build 0` accomplishes this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants