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

libsdformat v12.4.0 #56

Merged
merged 13 commits into from
Apr 4, 2022

Conversation

regro-cf-autotick-bot
Copy link
Contributor

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

  • Dependencies have been updated if changed: see upstream
  • Tests have passed
  • Updated license if changed and license_file is packaged

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with @conda-forge-admin,please add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. 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 @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

Dependency Analysis

We couldn't run dependency analysis due to an internal error in the bot. :( Help is very welcome!

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/autotick-bot/actions/runs/2062348393, please use this URL for debugging.

@conda-forge-linter
Copy link

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.

@Tobias-Fischer
Copy link
Contributor

On Linux/OSX the location of the sdf.hh header file seems to have changed from include/sdformat-12.4/sdf/sdf.hh to now $PREFIX/include/ignition/sdformat12/sdf/sdf.hh. I'm not sure about the implications as we have {{ pin_subpackage(name, max_pin='x') }} as run_exports but presumably this breaks compatibility.

On Windows, some components are not found, this probably needs re-applying some parts of the patch that I deleted as it didn't apply anymore due to major refactoring upstream:

CMake Warning at D:/bld/libsdformat12_1648626286041/_h_env/Library/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:55 (message):
   CONFIGURATION WARNINGS:
   -- Skipping component [usd]: Missing dependency [ignition-common4] (Components: graphics).
      ^~~~~ Set SKIP_usd=true in cmake to suppress this warning.
-- Configuring incomplete, errors occurred!
See also "D:/bld/libsdformat12_1648626286041/work/build/CMakeFiles/CMakeOutput.log".
   
   -- Skipping component [usd]: Missing dependency [pxr].
      ^~~~~ Set SKIP_usd=true in cmake to suppress this warning.

and

CMake Error at D:/bld/libsdformat12_1648626286041/_h_env/Library/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:61 (message):
  -- 	Couldn't find the urdfdom >= 1.0 system installation
Call Stack (most recent call first):
  CMakeLists.txt:122 (ign_configure_build)

@traversaro
Copy link
Contributor

On Linux/OSX the location of the sdf.hh header file seems to have changed from include/sdformat-12.4/sdf/sdf.hh to now $PREFIX/include/ignition/sdformat12/sdf/sdf.hh. I'm not sure about the implications as we have {{ pin_subpackage(name, max_pin='x') }} as run_exports but presumably this breaks compatibility.

I think it is ok. As long as the ABI did not changed, a change in header location is not problematic, even because it was also changing for each minor release (i.e. from include/sdformat-12.2/sdf/sdf.hh to include/sdformat-12.3/sdf/sdf.hh) before.

Skipping component [usd]

The usd thing is a new component (see gazebosim/sdformat#817), so it is ok that we do not have it enabled, especially because we miss the main dependency (see conda-forge/staged-recipes#16666).

Couldn't find the urdfdom >= 1.0 system installation

The missing urdfdom instead seems an actual regression.

@Tobias-Fischer
Copy link
Contributor

So urdfdom was previously found directly in sdformat, while now the cmake script from ignition-cmake is being used. There's quite a few flags related to URDF in the bld.bat, they might need updating?!?

@traversaro
Copy link
Contributor

There's quite a few flags related to URDF in the bld.bat, they might need updating?!?

Good point, I think it may be worth to try just to remove them, finding urdfdom should work well out of the box (in theory).

@Tobias-Fischer
Copy link
Contributor

Fix #46

@Tobias-Fischer
Copy link
Contributor

I think we're now down to the urdfdom not being found issue. Any clues @traversaro?

@traversaro
Copy link
Contributor

I think we're now down to the urdfdom not being found issue. Any clues @traversaro?

I think it is a combination of:

  • .pc pkg-config file missing on Windows package of urdfdom, while .pc is used for detection on all other platforms
  • Some bug in the detection of urdfdom cmake package without pkg-config, that I imagine is largerly untested as on most platforms .pc is used

I need to check more to find the solution.

@traversaro
Copy link
Contributor

Some bug in the detection of urdfdom cmake package without pkg-config, that I imagine is largerly untested as on most platforms .pc is used

If pkg-config file is not found, the CMake logic will never work due to https://gitlab.kitware.com/cmake/cmake/-/issues/17135, see also https://github.com/osrf/gazebo/blob/212fae8ab6a3fd6ac95feeda13c829c36a909319/cmake/SearchForStuff.cmake#L386 for some related Gazebo code.

@traversaro
Copy link
Contributor

Some bug in the detection of urdfdom cmake package without pkg-config, that I imagine is largerly untested as on most platforms .pc is used

If pkg-config file is not found, the CMake logic will never work due to https://gitlab.kitware.com/cmake/cmake/-/issues/17135, see also https://github.com/osrf/gazebo/blob/212fae8ab6a3fd6ac95feeda13c829c36a909319/cmake/SearchForStuff.cmake#L386 for some related Gazebo code.

Actually this is already handled in gazebosim/gz-cmake@08360a8#diff-ed6adcbc13a18c16651f09d50a008f29e6e9f91b0e5116aff2772791757560f9R146, so this is probably something else.

@traversaro
Copy link
Contributor

In any case, installing the .pc file in urdfdom feedstock is probably the fastest solution.

@Tobias-Fischer
Copy link
Contributor

In any case, installing the .pc file in urdfdom feedstock is probably the fastest solution.

Sounds good. Are you happy to tackle this?

@traversaro
Copy link
Contributor

In any case, installing the .pc file in urdfdom feedstock is probably the fastest solution.

Sounds good. Are you happy to tackle this?

Yep, related issue: conda-forge/urdfdom-feedstock#2 .

@traversaro
Copy link
Contributor

I fixed the issue of .pc files of urdfdom on Windows in conda-forge/urdfdom-feedstock#26 now, let's wait for the usual CDN propagation time and then restart the CI.

@traversaro traversaro closed this Apr 3, 2022
@traversaro traversaro reopened this Apr 3, 2022
@traversaro
Copy link
Contributor

Test compilation is quite slow, but it seems that urdfdom was found now.

@traversaro traversaro added the automerge Merge the PR when CI passes label Apr 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2022

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

I considered the following status checks when analyzing this PR:

  • linter: passed
  • travis: passed
  • azure: failed

Thus the PR was not passing and not merged.

@Tobias-Fischer Tobias-Fischer added automerge Merge the PR when CI passes and removed automerge Merge the PR when CI passes labels Apr 4, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2022

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!

@github-actions github-actions bot removed the automerge Merge the PR when CI passes label Apr 4, 2022
@Tobias-Fischer Tobias-Fischer merged commit 4d9e926 into conda-forge:main Apr 4, 2022
@regro-cf-autotick-bot regro-cf-autotick-bot deleted the 12.4.0_heebf40 branch April 4, 2022 07:06
@traversaro
Copy link
Contributor

On Linux/OSX the location of the sdf.hh header file seems to have changed from include/sdformat-12.4/sdf/sdf.hh to now $PREFIX/include/ignition/sdformat12/sdf/sdf.hh. I'm not sure about the implications as we have {{ pin_subpackage(name, max_pin='x') }} as run_exports but presumably this breaks compatibility.

I think it is ok. As long as the ABI did not changed, a change in header location is not problematic, even because it was also changing for each minor release (i.e. from include/sdformat-12.2/sdf/sdf.hh to include/sdformat-12.3/sdf/sdf.hh) before.

Note, as discussed in ros/urdfdom_headers#73 in theory a change of header location can be a problem for a libraries that are consumed by downstream libraries via old-style CMake variables such as urdfdom_INCLUDE_DIRS. In case of sdformat I think that most downstream libraries use new style targets, so there should not be any problem (as indeed no one ever complained of the change of header location that already happened in the past).

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.

4 participants