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

CMake Dependencies for Qt 6 Build #16485

Closed
wants to merge 2 commits into from

Conversation

roalter
Copy link

@roalter roalter commented Mar 9, 2023

A CMake build-require must be more important than the installed one.

Specify library name and version: qt/6.x


A CMake build-require must be more important than the installed one.
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

🤖 Beep Boop! This pull request is making changes to 'recipes/qt//'.

👋 @ericLemanissier @jwillikers @MartinDelille you might be interested. 😉

@ghost
Copy link

ghost commented Mar 9, 2023

I detected other pull requests that are modifying qt/6.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.

@conan-center-bot

This comment has been minimized.

prince-chrismc
prince-chrismc previously approved these changes Mar 11, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@prince-chrismc
Copy link
Contributor

CMake recipe was updated should be working now

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 4 (8a9ee4bd09d1761b0d8ce6cb1309c769a912ca2c):

  • qt/6.4.2@:
    Error running command conan info qt/6.4.2@#87ce4aa31ce683bf0cf686dd3df418e7 --json {jsonName} --dry-build -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=8
    os=Linux
    [options]
    qt:shared=False
    
    ...
    WARN: harfbuzz/5.3.1: requirement freetype/2.13.0 overridden by qt/6.4.2 to freetype/2.12.1 
    WARN: glib/2.76.0: requirement pcre2/10.42 overridden by harfbuzz/5.3.1 to pcre2/10.40 
    WARN: libselinux/3.3: requirement pcre2/10.42 overridden by glib/2.76.0 to pcre2/10.40 
    ERROR: Conflict in cmake/3.25.2:
        'cmake/3.25.2' requires 'openssl/1.1.1t' while 'qt/6.4.2' requires 'openssl/1.1.1s'.
        To fix this conflict you need to override the package 'openssl' in your root package.
    
  • qt/6.4.1@:
    Didn't run or was cancelled before finishing

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

  • qt/6.3.2@:
    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 3 (8a9ee4bd09d1761b0d8ce6cb1309c769a912ca2c):

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

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

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

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

    ======== Exporting recipe to the cache ========
    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-16485/recipes/qt/6.x.x/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-16485/recipes/qt/6.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-16485/recipes/qt/6.x.x/conanfile.py", line 18, in <module>
        from conans import RunEnvironment, tools
    ImportError: cannot import name 'RunEnvironment' 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.

@prince-chrismc
Copy link
Contributor

I am fixing the same conflicts in #16586 🤞

This was referenced Apr 4, 2023
@ghost ghost mentioned this pull request Apr 26, 2023
3 tasks
@stale
Copy link

stale bot commented May 8, 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.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@stale
Copy link

stale bot commented Aug 7, 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
Copy link

stale bot commented Oct 15, 2023

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants