conda-forge / gz-sim-feedstock

A conda-smithy repository for gz-sim.
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

Rebuild for protobuf423 and bump to 7.5.0 #16

Closed regro-cf-autotick-bot closed 1 year ago

regro-cf-autotick-bot commented 1 year ago

This PR has been triggered in an effort to update protobuf423.

Notes and instructions for merging this PR:

  1. Please merge the PR only after the tests have passed.
  2. Feel free to push to the bot's branch to update this PR if needed.

Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.

If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/5194765551, please use this URL for debugging.

conda-forge-webservices[bot] commented 1 year 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) and found it was in an excellent condition.

traversaro commented 1 year ago

protobuf 3 builds fail with:

with channels:

The reported errors are:
- Encountered problems while solving:
-   - package libgz-sim7-7.5.0-h9ac70b9_5 requires libgz-sensors7 >=7.2.0,<8.0a0, but none of the providers can be installed
- 

while building python bindings, while protobuf 23 fail with:

/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/work=/usr/local/src/conda/libgz-sim7-7.5.0 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla=/usr/local/src/conda-prefix -O3 -DNDEBUG  -Wall -Wextra -Wno-long-long -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic  -std=c++17 -fPIC -fvisibility=default -msse -msse2 -mfpmath=sse -msse3 -mssse3 -msse4.1 -msse4.2 -fPIC -I/home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/include/uuid -I/home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/include -MD -MT src/systems/triggered_publisher/CMakeFiles/gz-sim7-triggered-publisher-system.dir/TriggeredPublisher.cc.o -MF src/systems/triggered_publisher/CMakeFiles/gz-sim7-triggered-publisher-system.dir/TriggeredPublisher.cc.o.d -o src/systems/triggered_publisher/CMakeFiles/gz-sim7-triggered-publisher-system.dir/TriggeredPublisher.cc.o -c /home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/work/src/systems/triggered_publisher/TriggeredPublisher.cc
2023-06-09T08:15:20.9083563Z /home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/work/src/systems/triggered_publisher/TriggeredPublisher.cc: In lambda function:
2023-06-09T08:15:20.9084226Z /home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/work/src/systems/triggered_publisher/TriggeredPublisher.cc:838:72: error: expected unqualified-id before '&' token
2023-06-09T08:15:20.9084589Z   838 |                        } catch (const google::protobuf::FatalException &err)
2023-06-09T08:15:20.9084838Z       |                                                                        ^
2023-06-09T08:15:20.9085295Z /home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/work/src/systems/triggered_publisher/TriggeredPublisher.cc:838:71: error: expected ')' before '&' token
2023-06-09T08:15:20.9085651Z   838 |                        } catch (const google::protobuf::FatalException &err)
2023-06-09T08:15:20.9085893Z       |                                ~                                      ^~
2023-06-09T08:15:20.9086071Z       |                                                                       )
2023-06-09T08:15:20.9086542Z /home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/work/src/systems/triggered_publisher/TriggeredPublisher.cc:838:72: error: expected '{' before '&' token
2023-06-09T08:15:20.9087011Z   838 |                        } catch (const google::protobuf::FatalException &err)
2023-06-09T08:15:20.9087241Z       |                                                                        ^
2023-06-09T08:15:20.9087750Z /home/conda/feedstock_root/build_artifacts/gz-sim7_1686297165359/work/src/systems/triggered_publisher/TriggeredPublisher.cc:838:73: error: 'err' was not declared in this scope; did you mean 'erf'?
2023-06-09T08:15:20.9088108Z   838 |                        } catch (const google::protobuf::FatalException &err)
2023-06-09T08:15:20.9088354Z       |                                                                         ^~~
2023-06-09T08:15:20.9088549Z       |                                                                         erf
2023-06-09T08:15:21.1861360Z [446/462] Building CXX object src/systems/trajectory_follower/CMakeFiles/gz-sim7-trajectory-follower-system.dir/TrajectoryFollower.cc.o
2023-06-09T08:15:39.8958146Z [447/462] Building CXX object src/systems/user_commands/CMakeFiles/gz-sim7-user-commands-system.dir/UserCommands.cc.o
2023-06-09T08:15:39.8959116Z ninja: build stopped: subcommand failed.
traversaro commented 1 year ago

xref: https://github.com/gazebosim/gz-sim/pull/2006 .

traversaro commented 1 year ago

@conda-forge-admin, please rerender

traversaro commented 1 year ago

Now linux builds are failing with strange errors like:

2023-06-18T21:30:11.3111940Z with channels:
2023-06-18T21:30:11.3114234Z 
2023-06-18T21:30:11.3115290Z The reported errors are:
2023-06-18T21:30:11.3117725Z - Encountered problems while solving:
2023-06-18T21:30:11.3119002Z -   - package libgz-sim7-7.5.0-h48eb1be_5 requires libgz-sensors7 >=7.2.0,<8.0a0, but none of the providers can be installed
2023-06-18T21:30:11.3121437Z - 

I also had the same error with libprotobuf, adding the problematic transitive dependency explicitly helps for some reason.

traversaro commented 1 year ago

Instead osx-arm64 fails with:

-- Build files have been written to: /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build
[1/462] Running cpp protocol buffer compiler on peer_control.proto
FAILED: src/msgs/peer_control.pb.h src/msgs/peer_control.pb.cc /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs/peer_control.pb.h /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs/peer_control.pb.cc 
cd /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs && /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/protoc-23.2.0 --cpp_out :/Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs -I /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/src/msgs -I /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include/gz/msgs9 /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/src/msgs/peer_control.proto
/bin/sh: /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/protoc-23.2.0: Bad CPU type in executable
[2/462] Running cpp protocol buffer compiler on peer_info.proto
FAILED: src/msgs/peer_info.pb.h src/msgs/peer_info.pb.cc /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs/peer_info.pb.h /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs/peer_info.pb.cc 
cd /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs && /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/protoc-23.2.0 --cpp_out :/Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs -I /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/src/msgs -I /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include/gz/msgs9 /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/src/msgs/peer_info.proto
/bin/sh: /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/protoc-23.2.0: Bad CPU type in executable
[3/462] Running cpp protocol buffer compiler on performer_affinity.proto
FAILED: src/msgs/performer_affinity.pb.h src/msgs/performer_affinity.pb.cc /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs/performer_affinity.pb.h /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs/performer_affinity.pb.cc 
cd /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs && /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/protoc-23.2.0 --cpp_out :/Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs -I /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/src/msgs -I /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include/gz/msgs9 /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/src/msgs/performer_affinity.proto
/bin/sh: /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/protoc-23.2.0: Bad CPU type in executable
[4/462] Running cpp protocol buffer compiler on simulation_step.proto
FAILED: src/msgs/simulation_step.pb.h src/msgs/simulation_step.pb.cc /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs/simulation_step.pb.h /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs/simulation_step.pb.cc 
cd /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs && /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/protoc-23.2.0 --cpp_out :/Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/build/src/msgs -I /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/src/msgs -I /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/include/gz/msgs9 /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/work/src/msgs/simulation_step.proto
/bin/sh: /Users/runner/miniforge3/conda-bld/gz-sim7_1687122423350/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/bin/protoc-23.2.0: Bad CPU type in executable

But we already know the solution for that: https://github.com/conda-forge/libignition-gazebo-feedstock/pull/54#issuecomment-1596271203 and https://github.com/conda-forge/conda-forge-pinning-feedstock/issues/4075#issuecomment-1569242816 .

Tobias-Fischer commented 1 year ago

I think the solver issues might be of interest to @wolfv and the mamba team

traversaro commented 1 year ago

I think the solver issues might be of interest to @wolfv and the mamba team

Indeed! Unfortunatly I was never able to clearly isolate the problem.