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

cpp-jwt: fix yml format #15654

Closed
wants to merge 1 commit into from

Conversation

ericLemanissier
Copy link
Contributor

Specify library name and version: cpp-jwt/*


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (499db3cffb1bd633a8491955ecc463ddd0ab268f):

  • cpp-jwt/1.4@:
    CI failed to create some packages (All logs)

    Logs for packageID 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    
    [...]
        nlohmann_json/3.7.3:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        openssl/1.1.1d:d50a0d523d98c15bb147b18fa7d203887c38be8b - Download
    
    Installing (downloading, building) binaries...
    nlohmann_json/3.7.3: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    nlohmann_json/3.7.3: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    nlohmann_json/3.7.3: Downloaded package revision 76902d0d0ab8f3083d529d11f8f60803
    openssl/1.1.1d: Retrieving package d50a0d523d98c15bb147b18fa7d203887c38be8b from remote 'conan-center' 
    Downloading conanmanifest.txt
    Downloading conaninfo.txt
    Downloading conan_package.tgz
    openssl/1.1.1d: Package installed d50a0d523d98c15bb147b18fa7d203887c38be8b
    openssl/1.1.1d: Downloaded package revision ffef11a91f7af6f6dfa92401f795e789
    [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK
    cpp-jwt/1.4: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/cpp-jwt/1.4/_/_/source
    
    [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
    [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
    [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK
    cpp-jwt/1.4: Copying sources to build folder
    cpp-jwt/1.4: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/cpp-jwt/1.4/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    cpp-jwt/1.4: Generator cmake_find_package_multi created OpenSSLConfigVersion.cmake
    cpp-jwt/1.4: Generator cmake_find_package_multi created OpenSSLTarget-release.cmake
    cpp-jwt/1.4: Generator cmake_find_package_multi created OpenSSLTargets.cmake
    cpp-jwt/1.4: Generator cmake_find_package_multi created OpenSSLConfig.cmake
    cpp-jwt/1.4: Generator cmake_find_package_multi created nlohmann_json-config-version.cmake
    cpp-jwt/1.4: Generator cmake_find_package_multi created nlohmann_json-config.cmake
    cpp-jwt/1.4: Generator cmake_find_package_multi created nlohmann_jsonTargets.cmake
    cpp-jwt/1.4: Generator cmake_find_package_multi created nlohmann_jsonTarget-release.cmake
    cpp-jwt/1.4: Generator cmake_find_package created FindOpenSSL.cmake
    cpp-jwt/1.4: Generator cmake_find_package created Findnlohmann_json.cmake
    cpp-jwt/1.4: Generator cmake created conanbuildinfo.cmake
    cpp-jwt/1.4: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    cpp-jwt/1.4: Calling build()
    cpp-jwt/1.4: Package '5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9' built
    cpp-jwt/1.4: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/cpp-jwt/1.4/_/_/build/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    cpp-jwt/1.4: Generated conaninfo.txt
    cpp-jwt/1.4: Generated conanbuildinfo.txt
    cpp-jwt/1.4: Generating the package
    cpp-jwt/1.4: Package folder /home/conan/w/prod/BuildSingleReference/.conan/data/cpp-jwt/1.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
    cpp-jwt/1.4: Calling package()
    cpp-jwt/1.4: WARN: This conanfile has no build step
    ERROR: cpp-jwt/1.4: Error in package() method, line 66
    	tools.patch(**self.conan_data["patches"][self.version])
    	TypeError: patch() argument after ** must be a mapping, not list
    
  • cpp-jwt/1.2@:
    Didn't run or was cancelled before finishing

  • cpp-jwt/1.3@:
    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 1 (499db3cffb1bd633a8491955ecc463ddd0ab268f):

  • cpp-jwt/1.4@:
    Error running command conan export --name cpp-jwt --version 1.4 recipes/cpp-jwt/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15654/recipes/cpp-jwt/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15654/recipes/cpp-jwt/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-v2_cci_PR-15654/recipes/cpp-jwt/all/conanfile.py", line 1, in <module>
        from conans import ConanFile, tools, CMake
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • cpp-jwt/1.2@:
    Error running command conan export --name cpp-jwt --version 1.2 recipes/cpp-jwt/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15654/recipes/cpp-jwt/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15654/recipes/cpp-jwt/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-v2_cci_PR-15654/recipes/cpp-jwt/all/conanfile.py", line 1, in <module>
        from conans import ConanFile, tools, CMake
    ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    
  • cpp-jwt/1.3@:
    Error running command conan export --name cpp-jwt --version 1.3 recipes/cpp-jwt/all/conanfile.py:

    ERROR: Error loading conanfile at '/home/conan/w/prod-v2_cci_PR-15654/recipes/cpp-jwt/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2_cci_PR-15654/recipes/cpp-jwt/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-v2_cci_PR-15654/recipes/cpp-jwt/all/conanfile.py", line 1, in <module>
        from conans import ConanFile, tools, CMake
    ImportError: cannot import name 'ConanFile' 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.

@ericLemanissier
Copy link
Contributor Author

I have no time to upgrade conanfile.py

@ericLemanissier ericLemanissier deleted the patch-23 branch February 1, 2023 18:45
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.

2 participants