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: lowercase system libs + bump dependencies #15435

Closed
wants to merge 3 commits into from

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Jan 23, 2023

for conan-io/hooks#480


@SpaceIm SpaceIm changed the title qt: lowercase system libs qt 5.x: lowercase system libs Jan 23, 2023
@ghost
Copy link

ghost commented Jan 23, 2023

I detected other pull requests that are modifying qt/5.x.x recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@SpaceIm SpaceIm force-pushed the fix/qt-lowercase-systemlibs branch from d9a8faf to df3d14f Compare January 24, 2023 10:20
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit df3d14f
qt/5.15.8
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.

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Jan 25, 2023

There is not enough space on the disk.
Error copying C:\J\w\prod\BuildSingleReference\s\e8821a\1\qt5\qtbase\src\corelib\kernel\qobject_p.h to C:\J\w\prod\BuildSingleReference\s\892c22\1\include\QtCore\5.15.8\QtCore\private\qobject_p.h: Cannot create C:\J\w\prod\BuildSingleReference\s\892c22\1\include\QtCore\5.15.8\QtCore\private\qobject_p.h for output

:(

@SpaceIm SpaceIm closed this Jan 25, 2023
@SpaceIm SpaceIm reopened this Jan 25, 2023
@SpaceIm SpaceIm closed this Jan 26, 2023
@SpaceIm SpaceIm reopened this Jan 26, 2023
@conan-center-bot

This comment has been minimized.

@SpaceIm SpaceIm closed this Jan 27, 2023
@SpaceIm SpaceIm reopened this Jan 27, 2023
@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit df3d14f
qt/5.15.5
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\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\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\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\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\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\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\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\archdatadir\plugins\platforms\qdirect2dd.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\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\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\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\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.

@ghost ghost mentioned this pull request Jan 29, 2023
3 tasks
@SpaceIm SpaceIm closed this Jan 29, 2023
@SpaceIm SpaceIm reopened this Jan 29, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2023

Hooks produced the following warnings for commit 9bec575
qt/5.15.7
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\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\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\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\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\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\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\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\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\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\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 'd2d1' 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\archdatadir\plugins\sqldrivers\qsqlodbcd.dll' links to system library 'odbc32' but it is not in cpp_info.system_libs.

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Feb 2, 2023

Still this disk space issue, again & again :(

@ghost ghost mentioned this pull request Feb 3, 2023
3 tasks
@SpaceIm SpaceIm closed this Feb 4, 2023
@SpaceIm SpaceIm reopened this Feb 4, 2023
@ericLemanissier
Copy link
Contributor

We may have to disable qttools and qttranslations by default. I don't know how much disk space they take on Visual studio debug.

@conan-center-bot

This comment has been minimized.

@SpaceIm
Copy link
Contributor Author

SpaceIm commented Feb 7, 2023

We may have to disable qttools and qttranslations by default. I don't know how much disk space they take on Visual studio debug.

But they were build before without this disk space issue, correct?

@SpaceIm SpaceIm closed this Feb 7, 2023
@SpaceIm SpaceIm reopened this Feb 7, 2023
@ericLemanissier
Copy link
Contributor

Yes, they have been built since October 30th : 7e292bc#diff-a8b177bc27deaf5165ec2e51c7e70bb42587ec0352c5bc2711524d5240e03737R139
Also, other package seem to have the same problem #15755
In any case, as we currently have no (public) plan for the resolution of the root cause in C3I, I think it's worth a try

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 15 (9bec5753fc49d9fd75ae74fbb5b41741b12943f8):

  • qt/5.15.8@:
    CI failed to create some packages (All logs)

    Logs for packageID ff01e8de6c6d8586acf91872f5358121b4d1aec7:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MT
    compiler.version=15
    os=Windows
    [options]
    qt:shared=False
    
    [...]
      qdbus .................................. yes
      qev .................................... yes
      Qt Attributions Scanner ................ yes
      qtdiag ................................. yes
      qtpaths ................................ yes
      qtplugininfo ........................... yes
      Windows deployment tool ................ yes
      WinRT Runner Tool ...................... no
    Qt Tools:
      QDoc ................................... no
    
    Note: Using static linking will disable the use of dynamically
    loaded plugins. Make sure to import all needed static plugins,
    or compile needed modules into the library.
    
    WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
    
    Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation.
    On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
    On macOS, you can use Homebrew's llvm package.
    On Windows, you must set LLVM_INSTALL_DIR to the installation path.
    
    Qt is now configured for building. Just run 'jom'.
    Once everything is built, you must run 'jom install'.
    Qt will be installed into 'C:\J\w\prod\BuildSingleReference@2\s\ea7524961\1'.
    
    Prior to reconfiguration, make sure you remove any leftovers from
    the previous build.
    
    
    jom 1.1.3 - empower your cores
    
    cl : Command line warning D9025 : overriding '/Fo./' with '/Foqlibraryinfo_final.obj'
    Project MESSAGE: Enabling D3D11 mode for ANGLE
    Project MESSAGE: Enabling D3D11 mode for ANGLE
    Project MESSAGE: Enabling D3D11 mode for ANGLE
    Project MESSAGE: Enabling D3D11 mode for ANGLE
    WARNING: Failure to find: C:/J/w/prod/BuildSingleReference@2/s/cab5d08/1/build_folder/qtbase/src/corelib/qt5core_metatypes.json
    WARNING: Failure to find: C:/J/w/prod/BuildSingleReference@2/s/cab5d08/1/build_folder/qtbase/src/corelib/qt5cored_metatypes.json
    C:\J\w\prod\BuildSingleReference@2\s\7f4d2f174\1\qt5\qtbase\src\corelib\kernel\qobjectdefs.h(0): Note: No relevant classes found. No output generated.
    jom: C:\J\w\prod\BuildSingleReference@2\s\cab5d08\1\build_folder\qtbase\src\corelib\Makefile.Release [..\..\lib\Qt5Core.lib] Error 1180
    jom: C:\J\w\prod\BuildSingleReference@2\s\cab5d08\1\build_folder\qtbase\src\corelib\Makefile [release] Error 2
    jom: C:\J\w\prod\BuildSingleReference@2\s\cab5d08\1\build_folder\qtbase\src\Makefile [sub-corelib-make_first] Error 2
    jom: C:\J\w\prod\BuildSingleReference@2\s\cab5d08\1\build_folder\qtbase\Makefile [sub-src-make_first] Error 2
    jom: C:\J\w\prod\BuildSingleReference@2\s\cab5d08\1\build_folder\Makefile [module-qtbase-make_first] Error 2
    qt/5.15.8: ERROR: Package 'ff01e8de6c6d8586acf91872f5358121b4d1aec7' build failed
    qt/5.15.8: WARN: Build folder C:\J\w\prod\BuildSingleReference@2/s\cab5d08\1
    ERROR: qt/5.15.8: Error in build() method, line 794
    	self.run(self._make_program(), run_environment=True)
    	ConanException: Error 2 while executing jom
    
  • qt/5.15.7@:
    Didn't run or was cancelled before finishing

  • qt/5.15.5@:
    Didn't run or was cancelled before finishing

  • qt/5.15.6@:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 16 (9bec5753fc49d9fd75ae74fbb5b41741b12943f8):

  • qt/5.15.8@:
    Error running command conan export --name qt --version 5.15.8 recipes/qt/5.x.x/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15435/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15435/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-v2_cci_PR-15435/recipes/qt/5.x.x/conanfile.py", line 8, in <module>
        from conans import tools, RunEnvironment
    ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.6@:
    Error running command conan export --name qt --version 5.15.6 recipes/qt/5.x.x/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15435/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15435/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-v2_cci_PR-15435/recipes/qt/5.x.x/conanfile.py", line 8, in <module>
        from conans import tools, RunEnvironment
    ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.7@:
    Error running command conan export --name qt --version 5.15.7 recipes/qt/5.x.x/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15435/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15435/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-v2_cci_PR-15435/recipes/qt/5.x.x/conanfile.py", line 8, in <module>
        from conans import tools, RunEnvironment
    ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • qt/5.15.5@:
    Error running command conan export --name qt --version 5.15.5 recipes/qt/5.x.x/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15435/recipes/qt/5.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15435/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-v2_cci_PR-15435/recipes/qt/5.x.x/conanfile.py", line 8, in <module>
        from conans import tools, RunEnvironment
    ImportError: cannot import name 'tools' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@ghost ghost mentioned this pull request Feb 17, 2023
3 tasks
This was referenced Mar 6, 2023
@stale
Copy link

stale bot commented Mar 19, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 19, 2023
@ghost ghost mentioned this pull request Apr 6, 2023
3 tasks
@prince-chrismc prince-chrismc added the infrastructure Waiting on tools or services belonging to the infra label Apr 7, 2023
@stale stale bot removed the stale label Apr 7, 2023
@ghost ghost mentioned this pull request Apr 8, 2023
3 tasks
@prince-chrismc
Copy link
Contributor

There's merge conflicts

This was referenced Apr 13, 2023
@prince-chrismc prince-chrismc removed the infrastructure Waiting on tools or services belonging to the infra label Apr 13, 2023
@ghost ghost mentioned this pull request Apr 14, 2023
3 tasks
@SpaceIm
Copy link
Contributor Author

SpaceIm commented Apr 15, 2023

I'll fix casing of system libs in #17030

@SpaceIm SpaceIm closed this Apr 15, 2023
@SpaceIm SpaceIm deleted the fix/qt-lowercase-systemlibs branch April 15, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants