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

Enable PCL dependency #42

Merged
merged 9 commits into from
Nov 10, 2023
Merged

Enable PCL dependency #42

merged 9 commits into from
Nov 10, 2023

Conversation

traversaro
Copy link
Contributor

@traversaro traversaro commented Nov 9, 2023

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@traversaro
Copy link
Contributor Author

@conda-forge-admin, please rerender

@traversaro
Copy link
Contributor Author

There is the usual mysterious problem in Python bindings compilation:

    conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("libbipedal-locomotion-framework==0.15.0=he403c79_2"), MatchSpec("idyntree[version='>=9.1.0,<10.0a0']")}
    Encountered problems while solving:
      - package libbipedal-locomotion-framework-0.15.0-he403c79_2 requires idyntree >=9.1.0,<10.0a0, but none of the providers can be installed
    
    Could not solve for environment specs
    The following packages are incompatible
    ├─ idyntree 10.0.0.* py39h2b24f1d_1 is requested and can be installed;
    └─ libbipedal-locomotion-framework 0.15.0.* he403c79_2 is not installable because it requires
       └─ idyntree >=9.1.0,<10.0a0 , which conflicts with any installable versions previously reported.

let's see if we can solve this with conda-forge/libunicycle-footstep-planner-feedstock#11 .

@traversaro traversaro closed this Nov 9, 2023
@traversaro traversaro reopened this Nov 9, 2023
@traversaro traversaro closed this Nov 9, 2023
@traversaro traversaro reopened this Nov 9, 2023
@GiulioRomualdi
Copy link
Contributor

There is the usual mysterious problem in Python bindings compilation:

    conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("libbipedal-locomotion-framework==0.15.0=he403c79_2"), MatchSpec("idyntree[version='>=9.1.0,<10.0a0']")}
    Encountered problems while solving:
      - package libbipedal-locomotion-framework-0.15.0-he403c79_2 requires idyntree >=9.1.0,<10.0a0, but none of the providers can be installed
    
    Could not solve for environment specs
    The following packages are incompatible
    ├─ idyntree 10.0.0.* py39h2b24f1d_1 is requested and can be installed;
    └─ libbipedal-locomotion-framework 0.15.0.* he403c79_2 is not installable because it requires
       └─ idyntree >=9.1.0,<10.0a0 , which conflicts with any installable versions previously reported.

let's see if we can solve this with conda-forge/libunicycle-footstep-planner-feedstock#11 .

Unfortunately no 😭

@traversaro traversaro closed this Nov 9, 2023
@traversaro traversaro reopened this Nov 9, 2023
@traversaro
Copy link
Contributor Author

Unfortunately no 😭

Actualy iDynTree 9 was still installed in those builds, so I guess it was just a cache/cdn propagation issue. Let's retry now.

@traversaro
Copy link
Contributor Author

New error:

2023-11-09T15:03:08.1679271Z     conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("casadi[version='>=3.6.3,<3.7.0a0']"), MatchSpec("libbipedal-locomotion-framework==0.15.0=he403c79_2")}
2023-11-09T15:03:08.1680843Z     Encountered problems while solving:
2023-11-09T15:03:08.1681968Z       - package libbipedal-locomotion-framework-0.15.0-he403c79_2 requires casadi >=3.6.3,<3.7.0a0, but none of the providers can be installed
2023-11-09T15:03:08.1683390Z     
2023-11-09T15:03:08.1683716Z     Could not solve for environment specs
2023-11-09T15:03:08.1684185Z     The following packages are incompatible
2023-11-09T15:03:08.1685079Z     ├─ ipopt 3.14.13.* he6d3896_0 is requested and can be installed;
2023-11-09T15:03:08.1686119Z     └─ libbipedal-locomotion-framework 0.15.0.* he403c79_2 is not installable because it requires
2023-11-09T15:03:08.1687400Z        └─ casadi >=3.6.3,<3.7.0a0 , which requires
2023-11-09T15:03:08.1688361Z           └─ ipopt >=3.14.12,<3.14.13.0a0 , which conflicts with any installable versions previously reported.

@traversaro
Copy link
Contributor Author

New error:

2023-11-09T15:03:08.1679271Z     conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("casadi[version='>=3.6.3,<3.7.0a0']"), MatchSpec("libbipedal-locomotion-framework==0.15.0=he403c79_2")}
2023-11-09T15:03:08.1680843Z     Encountered problems while solving:
2023-11-09T15:03:08.1681968Z       - package libbipedal-locomotion-framework-0.15.0-he403c79_2 requires casadi >=3.6.3,<3.7.0a0, but none of the providers can be installed
2023-11-09T15:03:08.1683390Z     
2023-11-09T15:03:08.1683716Z     Could not solve for environment specs
2023-11-09T15:03:08.1684185Z     The following packages are incompatible
2023-11-09T15:03:08.1685079Z     ├─ ipopt 3.14.13.* he6d3896_0 is requested and can be installed;
2023-11-09T15:03:08.1686119Z     └─ libbipedal-locomotion-framework 0.15.0.* he403c79_2 is not installable because it requires
2023-11-09T15:03:08.1687400Z        └─ casadi >=3.6.3,<3.7.0a0 , which requires
2023-11-09T15:03:08.1688361Z           └─ ipopt >=3.14.12,<3.14.13.0a0 , which conflicts with any installable versions previously reported.

I tried as workaround to add casadi also to the python bindings. However, I am not understanding what is going on, but probably is related to the migration started in conda-forge/conda-forge-pinning-feedstock#5132 .

@traversaro
Copy link
Contributor Author

@conda-forge-admin, please rerender

Copy link
Contributor

github-actions bot commented Nov 9, 2023

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/actions/runs/6814060246.

@traversaro
Copy link
Contributor Author

New error:

2023-11-09T15:56:33.2723478Z     ├─ ffmpeg 6.0.0.* gpl_h334edf3_105 is requested and can be installed;
2023-11-09T15:56:33.2724406Z     ├─ hdf5 1.14.2.* nompi_h4f84152_100 is requested and can be installed;
2023-11-09T15:56:33.2725491Z     ├─ libbipedal-locomotion-framework 0.15.0.* he403c79_2 is installable and it requires
2023-11-09T15:56:33.2726504Z     │  └─ pcl >=1.13.1,<1.13.2.0a0  with the potential options
2023-11-09T15:56:33.2727171Z     │     ├─ pcl 1.13.1 would require
2023-11-09T15:56:33.2727851Z     │     │  └─ boost-cpp >=1.78.0,<1.78.1.0a0 , which can be installed;
2023-11-09T15:56:33.2728551Z     │     ├─ pcl 1.13.1 would require
2023-11-09T15:56:33.2729225Z     │     │  └─ vtk-base >=9.2.6,<9.2.7.0a0  with the potential options
2023-11-09T15:56:33.2729938Z     │     │     ├─ vtk-base 9.2.6 would require
2023-11-09T15:56:33.2730635Z     │     │     │  └─ pugixml >=1.13,<1.14.0a0 , which can be installed;
2023-11-09T15:56:33.2731308Z     │     │     ├─ vtk-base 9.2.6 would require
2023-11-09T15:56:33.2732044Z     │     │     │  └─ libjpeg-turbo >=2.1.5.1,<3.0a0 , which can be installed;
2023-11-09T15:56:33.2732766Z     │     │     ├─ vtk-base 9.2.6 would require
2023-11-09T15:56:33.2733746Z     │     │     │  └─ hdf5 >=1.14.0,<1.14.1.0a0 , which conflicts with any installable versions previously reported;
2023-11-09T15:56:33.2734695Z     │     │     └─ vtk-base 9.2.6 would require
2023-11-09T15:56:33.2736939Z     │     │        └─ hdf5 >=1.14.1,<1.14.2.0a0 , which conflicts with any installable versions previously reported;
2023-11-09T15:56:33.2738246Z     │     └─ pcl 1.13.1 would require
2023-11-09T15:56:33.2741131Z     │        └─ vtk >=9.2.6,<9.2.7.0a0  with the potential options
2023-11-09T15:56:33.2741932Z     │           ├─ vtk 9.2.6 would require
2023-11-09T15:56:33.2742859Z     │           │  ├─ ffmpeg >=5.1.2,<6.0a0 , which conflicts with any installable versions previously reported;
2023-11-09T15:56:33.2744343Z     │           │  └─ vtk-io-ffmpeg [9.2.6 egl_py310h1234567_3|9.2.6 egl_py310h1234567_4|...|9.2.6 qt_py39h1234567_208], which requires
2023-11-09T15:56:33.2745784Z     │           │     └─ ffmpeg >=5.1.2,<6.0a0 , which conflicts with any installable versions previously reported;
2023-11-09T15:56:33.2746686Z     │           ├─ vtk 9.2.6 would require
2023-11-09T15:56:33.2748049Z     │           │  └─ vtk-base [9.2.6 egl_py310h1234567_10|9.2.6 egl_py310h1234567_8|...|9.2.6 qt_py39h1234567_210], which cannot be installed (as previously explained);
2023-11-09T15:56:33.2749380Z     │           ├─ vtk 9.2.6 would require
2023-11-09T15:56:33.2750709Z     │           │  └─ vtk-base [9.2.6 egl_py310h1234567_11|9.2.6 egl_py310h1234567_12|...|9.2.6 qt_py39h1234567_216], which can be installed (as previously explained);
2023-11-09T15:56:33.2751963Z     │           ├─ vtk 9.2.6 would require
2023-11-09T15:56:33.2753312Z     │           │  └─ vtk-base [9.2.6 egl_py310h1234567_17|9.2.6 egl_py310h1234567_18|...|9.2.6 qt_py39h1234567_218], which can be installed (as previously explained);
2023-11-09T15:56:33.2754813Z     │           └─ vtk 9.2.6 would require
2023-11-09T15:56:33.2756218Z     │              └─ vtk-base [9.2.6 egl_py311h1234567_6|9.2.6 egl_py311h1234567_7|...|9.2.6 qt_py39h1234567_205], which cannot be installed (as previously explained);
2023-11-09T15:56:33.2757649Z     ├─ libboost 1.82.0.* h6fcfa73_6 is not installable because it requires
2023-11-09T15:56:33.2758735Z     │  └─ boost-cpp 1.82.0* , which conflicts with any installable versions previously reported;
2023-11-09T15:56:33.2760254Z     ├─ libjpeg-turbo 3.0.0.* hd590300_1 is not installable because it conflicts with any installable versions previously reported;
2023-11-09T15:56:33.2761929Z     └─ pugixml 1.14.* h59595ed_0 is not installable because it conflicts with any installable versions previously reported.

No idea why it wants to install such new version of libboost or pugixml, let's add it as dependencies as a workaround.

@traversaro
Copy link
Contributor Author

@conda-forge-admin, please rerender

conda-forge-webservices[bot] and others added 2 commits November 9, 2023 16:06
@traversaro
Copy link
Contributor Author

@conda-forge-admin, please rerender

Copy link
Contributor

github-actions bot commented Nov 9, 2023

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/actions/runs/6815792624.

@traversaro
Copy link
Contributor Author

New error, great:

bindings named PlannersBindings in BipedalLocomotionFrameworkBindings.
2023-11-09T18:34:08.1269768Z -- Added files for bindings named UnicycleBindings in BipedalLocomotionFrameworkBindings.
2023-11-09T18:34:08.1270844Z CMake Error at python/RobotInterface/CMakeLists.txt:30 (FetchContent_Declare):
2023-11-09T18:34:08.1271680Z   Unknown CMake command "FetchContent_Declare".
2023-11-09T18:34:08.1272139Z 
2023-11-09T18:34:08.1272331Z 
2023-11-09T18:34:08.1273136Z -- Added files for bindings named RobotInterfaceBindings in BipedalLocomotionFrameworkBindings.
2023-11-09T18:34:08.1274050Z -- Configuring incomplete, errors occurred!
2023-11-09T18:34:08.1274492Z 
2023-11-09T18:34:08.1274781Z # 

@traversaro
Copy link
Contributor Author

Fixed by backporting ami-iit/bipedal-locomotion-framework#757 in the PR, see 0b13f14 and 59004b3 .

@GiulioRomualdi
Copy link
Contributor

@traversaro do you think we can merge it?

@traversaro
Copy link
Contributor Author

@traversaro do you think we can merge it?

Yes!

@traversaro traversaro merged commit 56ef2b8 into conda-forge:main Nov 10, 2023
6 checks passed
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.

2 participants