question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clarify metapackage dependency behavior.

See original GitHub issue

Currently, 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.

Related discussions: #364 #224 #148

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jbohrencommented, May 2, 2016

Is it a good idea to allow this just because catkin_make doesn’t error out at the moment?

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.

0reactions
gavanderhoorncommented, May 2, 2016

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 if catkin_tools starts enforcing this, but it would seem like an opportunity to do so?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found