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

Packages ignored. What package and why? #543

Closed
2 of 5 tasks
roman-tub opened this issue Apr 2, 2019 · 3 comments
Closed
2 of 5 tasks

Packages ignored. What package and why? #543

roman-tub opened this issue Apr 2, 2019 · 3 comments
Labels

Comments

@roman-tub
Copy link

Hi guys,
this might be stupid, but I spent quite a while trying to find the information I'm looking for.
Maybe this is a feature request or maybe I'm just not seeing the obvious.

System Info

  • Operating System: Ubuntu 4.15.0-46-generic
  • Python Version: Python 2.7.15rc1
  • Version of catkin_tools: catkin_tools 0.4.4
  • ROS Distro: melodic

Build / Run Issue

  • Works with catkin_make
  • Works with catkin_make_isolated --merge
  • Works with catkin build
  • Works with catkin build -p1
  • I did not read this

Expected Behavior

I just want to know which package was ignored and why.

Actual Behavior

Steps to Reproduce the Issue

Whitelist and blacklist are None.

VERBOSE=1 catkin build -p1 -v | grep -i ignor

gives:

[build] Ignored: 1 packages were skipped or are blacklisted. 
@mikepurvis
Copy link
Member

mikepurvis commented Apr 3, 2019

Show the packages in your workspace, and diff that against what's in the build list:

catkin list
ls build

I agree that the UI could be better here as far as having an option to show the ignored packages, or at least output the list of them to a file (for those of us who have hundreds of packages in our workspaces).

What you may be hitting is that I think catkin_tools treats metapackages as "skipped" in the sense that it considers them for dependency information but doesn't actually invoke anything for them at build time— their package.xml files don't get installed, so they don't actually appear at all in the final installspace (yes, this behaviour is probably a bug, see #418, #366).

@roman-tub
Copy link
Author

Thanks for your answer!

I just found out, that there is an option for catkin build , which gives the info:

--summarize, --summary, -s
                        Adds a build summary to the end of a build; defaults
                        to on with --continue-on-failure, off otherwise

@roman-tub
Copy link
Author

And yes you were right. The ignored package is a metapackage.
And yes I agree. This behaviour is confusing and probably a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants