How to disable --only-pkg-with-deps?
See original GitHub issueI used --only-pkg-with-deps
to rebuild a single package in a Catkin workspace. After doing so, future invocations of catkin_make
(with no options) do not force a configure. As a result, they build the subset of packages that were selected by the flag.
The only solution I’ve found to work is to delete the entire build directory. Surprisingly, the --force-cmake
flag also doesn’t force a reconfigure (this seems like a bug?).
This definitely happens in version 0.6.11 on Ubuntu 12.04 and 14.04.
Issue Analytics
- State:
- Created 9 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to build just one package using catkin_make?
I now that I can cd to the build directory and build there but that is inconvenient. And how do I build one...
Read more >apt - How can I remove all build dependencies for a particular ...
Option 1: Remember which packages were installed by sudo apt-get build-dep PACKAGE_NAME and remove them after building. Option 2:.
Read more >Remove Unwanted/Unused Dependencies in FreeBSD package
Explains how to delete or remove unused dependencies in FreeBSD i.e. orphan packages on a FreeBSD unix system using the pkg command.
Read more >Build Packages — catkin_tools 0.0.0 documentation
PKGNAME Workspace packages to build, package dependencies are built as well unless --no-deps is used. If no packages are given, then all the...
Read more >Yum / dnf tries to remove standalone packages ... - Super User
When I try to yum remove texlive it lists all the packages it will remove as dependencies 'only to texlive ', but for...
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
Also, w.r.t the documentation for
catkin_make --build-pkg-with-deps
I agree that the docs should be updated, I don’t support there is a chance we could solicit a pull request from you? 😄It seems adding
-DCATKIN_WHITELIST_PACKAGES=""
to the nextcatkin_make
call will clear the condition and include all packages again, though I haven’t considered all of the ramifications of this approach.--only-pkg-with-deps
equates to set the CMake variableCATKIN_WHITELIST_PACKAGES
. Once that is set it will be in theCMakeCache.txt
file until being redefined.Passing
--force-make
does invoke the CMake configuration step again. But it will keep using the variable from the cache.The script has no knowledge if the user had passed
-CATKIN_WHITELIST_PACKAGES=...
before (and it should keep using it) or if the user passed--only-pkg-with-deps
before and now intends it to be “reset”. Therefore I don’t see a good approach to change the current behavior.