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

Manually migrate to vtk 9.3.0 #75

Merged
merged 10 commits into from
Aug 20, 2024

Conversation

traversaro
Copy link
Contributor

@traversaro traversaro commented Aug 19, 2024

Necessary as a workaround for conda-forge/conda-forge-pinning-feedstock#6306, fix part of robotology/robotology-superbuild#1695 .

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

@traversaro
Copy link
Contributor Author

@conda-forge-admin, please rerender

@traversaro
Copy link
Contributor Author

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
Copy link
Contributor Author

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 #72 , no idea why.

@traversaro
Copy link
Contributor Author

@conda-forge-admin please rerender

@traversaro traversaro added the automerge Merge the PR when CI passes label Aug 19, 2024
@github-actions github-actions bot removed the automerge Merge the PR when CI passes label Aug 19, 2024
Copy link
Contributor

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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 #69 (comment) .

@traversaro
Copy link
Contributor Author

@conda-forge-admin please rerender

Copy link
Contributor

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
Copy link
Contributor Author

@conda-forge-admin please rerender

Copy link
Contributor

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
Copy link
Contributor Author

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.

@traversaro traversaro merged commit fc71837 into conda-forge:main Aug 20, 2024
5 of 7 checks passed
@traversaro traversaro deleted the manualvtkbase930migration branch August 20, 2024 09:18
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.

1 participant