Clarify metapackage dependency behavior.
See original GitHub issueCurrently, if a user’s package depends on a metapackage (such as fanuc
), catkin build
displays an error similar to the following:
Abandoned <<< fanuc_motion [ Depends on unknown jobs: fanuc ]
This is in accordance with REP-140, which says the following with respect to metapackages:
They cannot be used for catkin builds and compile nothing themselves.
Except apparently catkin_make_isolated
builds metapackages and packages which are linked only by <exec_depend>
dependencies.
So we should either allow or disallow depending on metapackages for building. If we allow it, we need to patch the build
verb, and if we continue to disallow it, we need to make this error message clearer so people know it’s because they’re depending on metapackages.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Automatically update dependencies of a metapackage?
I think, this is a reasonable behaviour. However, is there a way to force an update of the dependencies during the "apt-get install"?...
Read more >What's in a Name? Clarifying the Anaconda Metapackage
We call it a metapackage because it doesn't actually contain any files - just dependencies on other packages. When we build the Anaconda ......
Read more >How does YUM decide which package is the best install ...
I'm trying to create a metapackage that can depend on openjdk java 11 or ... yum will behave as expected and install the...
Read more >Create drupal/core-recommended metapackage
The drupal/core-recommended-dev-dependencies is intended to be 'tight' dev dependencies, which, I honestly don't believe we have a use or need ...
Read more >meta-package installation - Google Groups
Based on this set there is no need to install the package.xml file of a metapackage. If you need a package which groups...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think enough stuff is changing that we don’t need
catkin_tools
to start enforcing this, and we could switch this from a warning to an error with the 1.0.0 release.Is it a good idea to allow this just because
catkin_make
doesn’t error out at the moment? Both REP-127 - <metapackage/> and REP-140 - <metapackage/> state (non-meta) packages are not allowed to depend on metapackages. There will probably be some flack ifcatkin_tools
starts enforcing this, but it would seem like an opportunity to do so?