conda-forge / bipedal-locomotion-framework-feedstock

A conda-smithy repository for bipedal-locomotion-framework.
BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

Manually migrate to vtk 9.3.0 #75

Closed traversaro closed 2 months ago

traversaro commented 2 months ago

Necessary as a workaround for https://github.com/conda-forge/conda-forge-pinning-feedstock/issues/6306, fix part of https://github.com/robotology/robotology-superbuild/pull/1695 .

Checklist

conda-forge-webservices[bot] commented 2 months ago

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/meta.yaml) and found it was in an excellent condition.

traversaro commented 2 months ago

@conda-forge-admin, please rerender

traversaro commented 2 months ago

Not sure why pcl 1.14.0.* is required:

Could not solve for environment specs
The following packages are incompatible
├─ pcl 1.14.0.*  is installable and it requires
│  └─ vtk-base >=9.2.6,<9.2.7.0a0  with the potential options
│     ├─ vtk-base 9.2.6 would require
│     │  └─ pugixml >=1.13,<1.14.0a0 , which can be installed;
│     ├─ vtk-base 9.2.6, which can be installed;
│     └─ vtk-base 9.2.6 would require
│        └─ pugixml >=1.11.4,<1.12.0a0 , which can be installed;
└─ vtk-base 9.3.0.*  is not installable because it requires
   └─ pugixml >=1.14,<1.15.0a0 , which conflicts with any installable versions previously reported.
traversaro commented 2 months ago

Not sure why pcl 1.14.0.* is required:

Could not solve for environment specs
The following packages are incompatible
├─ pcl 1.14.0.*  is installable and it requires
│  └─ vtk-base >=9.2.6,<9.2.7.0a0  with the potential options
│     ├─ vtk-base 9.2.6 would require
│     │  └─ pugixml >=1.13,<1.14.0a0 , which can be installed;
│     ├─ vtk-base 9.2.6, which can be installed;
│     └─ vtk-base 9.2.6 would require
│        └─ pugixml >=1.11.4,<1.12.0a0 , which can be installed;
└─ vtk-base 9.3.0.*  is not installable because it requires
   └─ pugixml >=1.14,<1.15.0a0 , which conflicts with any installable versions previously reported.

Apparently I hardcoded pcl 1.14.0 in https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/pull/72 , no idea why.

traversaro commented 2 months ago

@conda-forge-admin please rerender

github-actions[bot] commented 2 months ago

Hi! This is the friendly conda-forge automerge bot!

Commits were made to this PR after the automerge label was added. For security reasons, I have disabled automerge by removing the automerge label. Please add the automerge label again (or ask a maintainer to do so) if you'd like to enable automerge again!

traversaro commented 2 months ago

Ok, perhaps I may remember why I pinned pcl to 1.14.0 :

framework-split_1724102702010/work/utilities/realsense-test/src/Module.cpp
2024-08-19T21:37:23.4047836Z In file included from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/src/GenericContainer/include/BipedalLocomotion/GenericContainer/Vector.h:12,
2024-08-19T21:37:23.4048956Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/src/ParametersHandler/include/BipedalLocomotion/ParametersHandler/IParametersHandler.h:17,
2024-08-19T21:37:23.4049696Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/utilities/realsense-test/include/BipedalLocomotion/RealSenseTest/Module.h:17,
2024-08-19T21:37:23.4050362Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/utilities/realsense-test/src/Module.cpp:10:
2024-08-19T21:37:23.4051422Z /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/iDynTree/Core/Span.h:5:4: warning: #warning <iDynTree/Core/Span.h> is deprecated. Please use <iDynTree/Span.h>. To disable this warning use -Wno-deprecated. [-Wcpp]
2024-08-19T21:37:23.4052238Z     5 |   #warning <iDynTree/Core/Span.h> is deprecated. Please use <iDynTree/Span.h>. To disable this warning use -Wno-deprecated.
2024-08-19T21:37:23.4052732Z       |    ^~~~~~~
2024-08-19T21:37:23.4053675Z In file included from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/pcl-1.14/pcl/visualization/common/actor_map.h:40,
2024-08-19T21:37:23.4054761Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/pcl-1.14/pcl/visualization/pcl_visualizer.h:48,
2024-08-19T21:37:23.4055803Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/pcl-1.14/pcl/visualization/cloud_viewer.h:39,
2024-08-19T21:37:23.4056641Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/utilities/realsense-test/include/BipedalLocomotion/RealSenseTest/Module.h:23:
2024-08-19T21:37:23.4057674Z /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/pcl-1.14/pcl/visualization/point_cloud_geometry_handlers.h:49:10: fatal error: vtkSmartPointer.h: No such file or directory
2024-08-19T21:37:23.4058248Z    49 | #include <vtkSmartPointer.h>
2024-08-19T21:37:23.4058618Z       |          ^~~~~~~~~~~~~~~~~~~
2024-08-19T21:37:23.4058871Z compilation terminated.
traversaro commented 2 months ago

Ok, perhaps I may remember why I pinned pcl to 1.14.0 :

framework-split_1724102702010/work/utilities/realsense-test/src/Module.cpp
2024-08-19T21:37:23.4047836Z In file included from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/src/GenericContainer/include/BipedalLocomotion/GenericContainer/Vector.h:12,
2024-08-19T21:37:23.4048956Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/src/ParametersHandler/include/BipedalLocomotion/ParametersHandler/IParametersHandler.h:17,
2024-08-19T21:37:23.4049696Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/utilities/realsense-test/include/BipedalLocomotion/RealSenseTest/Module.h:17,
2024-08-19T21:37:23.4050362Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/utilities/realsense-test/src/Module.cpp:10:
2024-08-19T21:37:23.4051422Z /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/iDynTree/Core/Span.h:5:4: warning: #warning <iDynTree/Core/Span.h> is deprecated. Please use <iDynTree/Span.h>. To disable this warning use -Wno-deprecated. [-Wcpp]
2024-08-19T21:37:23.4052238Z     5 |   #warning <iDynTree/Core/Span.h> is deprecated. Please use <iDynTree/Span.h>. To disable this warning use -Wno-deprecated.
2024-08-19T21:37:23.4052732Z       |    ^~~~~~~
2024-08-19T21:37:23.4053675Z In file included from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/pcl-1.14/pcl/visualization/common/actor_map.h:40,
2024-08-19T21:37:23.4054761Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/pcl-1.14/pcl/visualization/pcl_visualizer.h:48,
2024-08-19T21:37:23.4055803Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/pcl-1.14/pcl/visualization/cloud_viewer.h:39,
2024-08-19T21:37:23.4056641Z                  from /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/work/utilities/realsense-test/include/BipedalLocomotion/RealSenseTest/Module.h:23:
2024-08-19T21:37:23.4057674Z /home/conda/feedstock_root/build_artifacts/bipedal-locomotion-framework-split_1724102702010/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/include/pcl-1.14/pcl/visualization/point_cloud_geometry_handlers.h:49:10: fatal error: vtkSmartPointer.h: No such file or directory
2024-08-19T21:37:23.4058248Z    49 | #include <vtkSmartPointer.h>
2024-08-19T21:37:23.4058618Z       |          ^~~~~~~~~~~~~~~~~~~
2024-08-19T21:37:23.4058871Z compilation terminated.

See https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/pull/69#issuecomment-2198558431 .

traversaro commented 2 months ago

@conda-forge-admin please rerender

github-actions[bot] commented 2 months ago

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/10461637368.

traversaro commented 2 months ago

@conda-forge-admin please rerender

github-actions[bot] commented 2 months ago

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/10462036051.

traversaro commented 2 months ago

Linux still fails:

Could not solve for environment specs
The following packages are incompatible
├─ libbipedal-locomotion-framework 0.18.0.* h7f52459_15 is installable and it requires
│  └─ vtk-base * qt*, which can be installed;
└─ vtk-base 9.3.0.* osmesa_py312h1234567_100 is not installable because it conflicts with any installable versions previously reported.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/conda_build/environ.py", line 891, in get_install_actions
    _actions = _install_actions(prefix, index, specs, subdir=subdir)
  File "/opt/conda/lib/python3.10/site-packages/conda_build/environ.py", line 1307, in install_actions
    txn = solver.solve_for_transaction(prune=False, ignore_pinned=False)
  File "/opt/conda/lib/python3.10/site-packages/conda/core/solve.py", line 152, in solve_for_transaction
    unlink_precs, link_precs = self.solve_for_diff(
  File "/opt/conda/lib/python3.10/site-packages/conda/core/solve.py", line 221, in solve_for_diff
    final_precs = self.solve_final_state(
  File "/opt/conda/lib/python3.10/site-packages/conda_libmamba_solver/solver.py", line 223, in solve_final_state
    out_state = self._solving_loop(in_state, out_state, index)
  File "/opt/conda/lib/python3.10/site-packages/conda_libmamba_solver/solver.py", line 303, in _solving_loop
    solved = self._solve_attempt(in_state, out_state, index, attempt=attempt)
  File "/opt/conda/lib/python3.10/site-packages/conda_libmamba_solver/solver.py", line 414, in _solve_attempt
    new_conflicts = self._maybe_raise_for_problems(
  File "/opt/conda/lib/python3.10/site-packages/conda_libmamba_solver/solver.py", line 710, in _maybe_raise_for_problems
    self._maybe_raise_for_conda_build(
  File "/opt/conda/lib/python3.10/site-packages/conda_libmamba_solver/solver.py", line 803, in _maybe_raise_for_conda_build
    raise exc
conda_libmamba_solver.conda_build_exceptions.ExplainedDependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {MatchSpec("libbipedal-locomotion-framework==0.18.0=h7f52459_15"), MatchSpec("vtk-base=[build=qt*]")}
Encountered problems while solving:
  - package libbipedal-locomotion-framework-0.18.0-h7f52459_15 requires vtk-base * qt*, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ libbipedal-locomotion-framework 0.18.0.* h7f52459_15 is installable and it requires
│  └─ vtk-base * qt*, which can be installed;
└─ vtk-base 9.3.0.* osmesa_py312h1234567_100 is not installable because it conflicts with any installable versions previously reported.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
├─ libbipedal-locomotion-framework 0.18.0.* h7f52459_15 is installable and it requires
│  └─ vtk-base * qt*, which can be installed;
└─ vtk-base 9.3.0.* osmesa_py312h1234567_100 is not installable because it conflicts with any installable versions previously reported.