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

casadi: new recipe #22468

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

casadi: new recipe #22468

wants to merge 3 commits into from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jan 20, 2024

Adds CasADi: https://casadi.org

Build efficient optimal control software, with minimal effort.

Packaging status

@conan-center-bot conan-center-bot added Failed Missing dependencies Build failed due missing dependencies in Conan Center labels Jan 20, 2024
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (d3b5caf85330b010cbfa65682a23c9e05954fa00):

  • casadi/3.6.4:
    CI failed to create some packages (All logs)

    Logs for packageID cb0ecb14d8158fc93075fb1bc4b797eb4feda2cc:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    
    [...]
        bzip2/1.0.8 from 'conan-center' - Downloaded
        casadi/3.6.4 from local cache - Cache
        coin-cbc/2.10.5 from 'conan-center' - Downloaded
        coin-cgl/0.60.3 from 'conan-center' - Downloaded
        coin-clp/1.17.7 from 'conan-center' - Downloaded
        coin-osi/0.108.6 from 'conan-center' - Downloaded
        coin-utils/2.11.4 from 'conan-center' - Downloaded
        openblas/0.3.25 from 'conan-center' - Downloaded
        osqp/0.6.2 from 'conan-center' - Downloaded
        tinyxml/2.6.2 from 'conan-center' - Downloaded
        zlib/1.3 from 'conan-center' - Downloaded
    Packages
        bzip2/1.0.8:3df6ebb8a308d309e882b21988fd9ea103560e16 - Download
        casadi/3.6.4:cb0ecb14d8158fc93075fb1bc4b797eb4feda2cc - Build
        coin-cbc/2.10.5:edb9dc97da7b2fc4b7ee44a39e53503c062748b1 - Download
        coin-cgl/0.60.3:c9c405f45814ef8e69c77c960d4d3ea58d7c878a - Missing
        coin-clp/1.17.7:e20df4c0641cd0e1ebd861f4b5c0279f3b2ec1de - Missing
        coin-osi/0.108.6:65c6f2430f911d69011d2fafd06e9d90a95b0bbf - Download
        coin-utils/2.11.4:5bdaf2ba2c00c921d2f1e77ef0d76a79420320e0 - Download
        openblas/0.3.25:c8367f03ddc58e0084cc68f52ddbb133dc5e3e97 - Download
        osqp/0.6.2:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        tinyxml/2.6.2:847f162ce5373596c2a29637c4bf88f2b02a4fe0 - Download
        zlib/1.3:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
    Build requirements
        pkgconf/2.1.0 from 'conan-center' - Downloaded
    Build requirements packages
        pkgconf/2.1.0:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
    
    Installing (downloading, building) binaries...
    
    WARN: coin-cbc/2.10.5: requirement coin-clp/1.17.6 overridden by casadi/3.6.4 to coin-clp/1.17.7 
    WARN: coin-osi/0.108.6: requirement coin-utils/2.11.9 overridden by coin-cbc/2.10.5 to coin-utils/2.11.4 
    WARN: coin-clp/1.17.7: requirement coin-utils/2.11.9 overridden by coin-cbc/2.10.5 to coin-utils/2.11.4 
    WARN: coin-clp/1.17.7: requirement coin-osi/0.108.7 overridden by coin-cbc/2.10.5 to coin-osi/0.108.6 
    WARN: coin-cgl/0.60.3: requirement coin-utils/2.11.9 overridden by coin-cbc/2.10.5 to coin-utils/2.11.4 
    WARN: coin-cgl/0.60.3: requirement coin-osi/0.108.7 overridden by coin-cbc/2.10.5 to coin-osi/0.108.6 
    ERROR: Missing binary: coin-cgl/0.60.3:c9c405f45814ef8e69c77c960d4d3ea58d7c878a
    ERROR: Missing binary: coin-clp/1.17.7:e20df4c0641cd0e1ebd861f4b5c0279f3b2ec1de
    coin-clp/1.17.7: WARN: Can't find a 'coin-clp/1.17.7' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.libcxx=libstdc++11, compiler.version=5, os=Linux
    - Options: fPIC=True, shared=False, bzip2:build_executable=True, bzip2:fPIC=True, bzip2:shared=False, coin-osi:fPIC=True, coin-osi:shared=False, coin-utils:fPIC=True, coin-utils:shared=False, zlib:fPIC=True, zlib:shared=False
    - Dependencies: coin-utils/2.11.4, coin-osi/0.108.6
    - Requirements: coin-osi/0.108.6, coin-utils/2.Y.Z
    - Package ID: e20df4c0641cd0e1ebd861f4b5c0279f3b2ec1de
    
    ERROR: Missing prebuilt package for 'coin-cgl/0.60.3', 'coin-clp/1.17.7'
    Use 'conan search coin-clp/1.17.7@ --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=coin-cgl --build=coin-clp'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
    

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 ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 1 (d3b5caf85330b010cbfa65682a23c9e05954fa00):

  • casadi/3.6.4:
    Error running command conan graph info --requires casadi/3.6.4@#b46f39ef0cba8034d2d2b06a780e875c -f json -pr:h /home/conan/w/prod-v2/bsr/78531/cfbfd/profile_linux_11_libstdcpp11_17_gcc_release_64..txt -pr:b /home/conan/w/prod-v2/bsr/78531/cfbfd/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:
    ======== Computing dependency graph ========
    osqp/0.6.2: Not found in local cache, looking in remotes...
    osqp/0.6.2: Checking remote: conan-center
    osqp/0.6.2: Downloaded recipe revision 95e45fa0512ee22bf2fc8c07b6f368ac
    tinyxml/2.6.2: Not found in local cache, looking in remotes...
    tinyxml/2.6.2: Checking remote: conan-center
    tinyxml/2.6.2: Downloaded recipe revision 43d6376ade5fbdf31849972724fea12e
    openblas/0.3.25: Not found in local cache, looking in remotes...
    openblas/0.3.25: Checking remote: conan-center
    openblas/0.3.25: Downloaded recipe revision 3a8f2f8e840cf50bb02d170e5351700c
    coin-cbc/2.10.5: Not found in local cache, looking in remotes...
    coin-cbc/2.10.5: Checking remote: conan-center
    coin-cbc/2.10.5: Downloaded recipe revision 5d2c8b33abf2fd2fda8eb5a19c7bc193
    Graph root
        cli
    Requirements
        casadi/3.6.4#b46f39ef0cba8034d2d2b06a780e875c - Cache
        openblas/0.3.25#3a8f2f8e840cf50bb02d170e5351700c - Downloaded (conan-center)
        osqp/0.6.2#95e45fa0512ee22bf2fc8c07b6f368ac - Downloaded (conan-center)
        tinyxml/2.6.2#43d6376ade5fbdf31849972724fea12e - Downloaded (conan-center)
    Graph error
        Package 'coin-cbc/2.10.5' not resolved: coin-cbc/2.10.5: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2/bsr/78531/ecfaf/p/coin-bcd5e8333cb2e/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2/bsr/78531/ecfaf/p/coin-bcd5e8333cb2e/e/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/bsr/78531/ecfaf/p/coin-bcd5e8333cb2e/e/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
    .
    *********************************************************
    Recipe 'coin-cbc/2.10.5' seems broken.
    It is possible that this recipe is not Conan 2.0 ready
    If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
    If it is your recipe, check if it is updated to 2.0
    *********************************************************
    
    ERROR: Package 'coin-cbc/2.10.5' not resolved: coin-cbc/2.10.5: Cannot load recipe.
    Error loading conanfile at '/home/conan/w/prod-v2/bsr/78531/ecfaf/p/coin-bcd5e8333cb2e/e/conanfile.py': Unable to load conanfile in /home/conan/w/prod-v2/bsr/78531/ecfaf/p/coin-bcd5e8333cb2e/e/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/bsr/78531/ecfaf/p/coin-bcd5e8333cb2e/e/conanfile.py", line 6, in <module>
        from conans import AutoToolsBuildEnvironment, tools
    ImportError: cannot import name 'AutoToolsBuildEnvironment' 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Failed Missing dependencies Build failed due missing dependencies in Conan Center
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants