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

ICU: Workaround for proper cross-building after conan v2 recipe update #14514

Merged

Conversation

ovostrikov
Copy link
Contributor

@ovostrikov ovostrikov commented Dec 1, 2022

Specify library name and version: icu/*

Fixes #14513.
Workaround for conan-io/conan#12642.

Passing --with-cross-build icu config options messes up with AutotoolsToolchain and it doesn't pass --build option.


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline

All green in build 2 (9adabd46d65776cd1874346abeadaa56039efa71):

  • icu/70.1@:
    All packages built successfully! (All logs)

    🔸 Informative: This recipe is not ready for Conan v2

    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 conan export step will work.
    See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-14514/recipes/icu/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-14514/recipes/icu/all/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-14514/recipes/icu/all/conanfile.py", line 10, in <module>
        from conans.tools import get_gnu_triplet, sha256sum, stdcpp_library
    ModuleNotFoundError: No module named 'conans.tools'
    
  • icu/68.2@:
    All packages built successfully! (All logs)

    🔸 Informative: This recipe is not ready for Conan v2

    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 conan export step will work.
    See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-14514/recipes/icu/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-14514/recipes/icu/all/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-14514/recipes/icu/all/conanfile.py", line 10, in <module>
        from conans.tools import get_gnu_triplet, sha256sum, stdcpp_library
    ModuleNotFoundError: No module named 'conans.tools'
    
  • icu/67.1@:
    All packages built successfully! (All logs)

    🔸 Informative: This recipe is not ready for Conan v2

    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 conan export step will work.
    See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-14514/recipes/icu/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-14514/recipes/icu/all/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-14514/recipes/icu/all/conanfile.py", line 10, in <module>
        from conans.tools import get_gnu_triplet, sha256sum, stdcpp_library
    ModuleNotFoundError: No module named 'conans.tools'
    
  • icu/65.1@:
    All packages built successfully! (All logs)

    🔸 Informative: This recipe is not ready for Conan v2

    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 conan export step will work.
    See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-14514/recipes/icu/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-14514/recipes/icu/all/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-14514/recipes/icu/all/conanfile.py", line 10, in <module>
        from conans.tools import get_gnu_triplet, sha256sum, stdcpp_library
    ModuleNotFoundError: No module named 'conans.tools'
    
  • icu/72.1@:
    All packages built successfully! (All logs)

    🔸 Informative: This recipe is not ready for Conan v2

    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 conan export step will work.
    See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-14514/recipes/icu/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-14514/recipes/icu/all/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-14514/recipes/icu/all/conanfile.py", line 10, in <module>
        from conans.tools import get_gnu_triplet, sha256sum, stdcpp_library
    ModuleNotFoundError: No module named 'conans.tools'
    
  • icu/71.1@:
    All packages built successfully! (All logs)

    🔸 Informative: This recipe is not ready for Conan v2

    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 conan export step will work.
    See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-14514/recipes/icu/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-14514/recipes/icu/all/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-14514/recipes/icu/all/conanfile.py", line 10, in <module>
        from conans.tools import get_gnu_triplet, sha256sum, stdcpp_library
    ModuleNotFoundError: No module named 'conans.tools'
    
  • icu/69.1@:
    All packages built successfully! (All logs)

    🔸 Informative: This recipe is not ready for Conan v2

    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 conan export step will work.
    See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-14514/recipes/icu/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-14514/recipes/icu/all/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-14514/recipes/icu/all/conanfile.py", line 10, in <module>
        from conans.tools import get_gnu_triplet, sha256sum, stdcpp_library
    ModuleNotFoundError: No module named 'conans.tools'
    
  • icu/66.1@:
    All packages built successfully! (All logs)

    🔸 Informative: This recipe is not ready for Conan v2

    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 conan export step will work.
    See the recipe migration guide to know more about the changes required.

    ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-14514/recipes/icu/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-14514/recipes/icu/all/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-14514/recipes/icu/all/conanfile.py", line 10, in <module>
        from conans.tools import get_gnu_triplet, sha256sum, stdcpp_library
    ModuleNotFoundError: No module named 'conans.tools'
    

@conan-center-bot conan-center-bot merged commit d460abf into conan-io:master Dec 12, 2022
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.

[package] ICU/*: incorrect cross building after Conan v2 recipe update
6 participants