If I run "emerge --pretend depclean" it says to me that libbonobo-2 is no longer needed, but if I unmerge it "revdep-rebuild --pretend" says that gnome-vfs-2 is broken. There is no way to re-emerge gnome-vfs-2 without emerging also libbonobo-2. I think that >=gnome-base/libbonobo-2 should be moved from RDEPEND to DEPEND. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Now thats strange, because: > grep libbonobo usr/portage/gnome-base/gnome-vfs/*ebuild gnome-vfs-2.6.1.1.ebuild: >=gnome-base/libbonobo-2 gnome-vfs-2.8.1-r2.ebuild: >=gnome-base/libbonobo-2 gnome-vfs-2.8.3-r1.ebuild: >=gnome-base/libbonobo-2 gnome-vfs-2.8.4.ebuild: >=gnome-base/libbonobo-2 gnome-vfs-2.10.0.ebuild: >=gnome-base/libbonobo-2 so its there allright.
is it a depclean bug?
I have inestigated a little more: gnome-vfs is installed as a dependence of some other package and is not present in my /var/lib/portage/world. If I add it to world file (but I don't want to add it) all works well. ----------------------------------------------------- sargas root # grep gnome-vfs /var/lib/portage/world sargas root # emerge --pretend depclean *** WARNING *** : DEPCLEAN CAN SERIOUSLY IMPAIR YOUR SYSTEM. USE CAUTION. *** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL PACKAGES IN THE *** WARNING *** : CANDIDATE LIST FOR SANITY BEFORE ALLOWING DEPCLEAN TO *** WARNING *** : UNMERGE ANY PACKAGES. *** WARNING *** : *** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT. *** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT *** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS. *** WARNING *** : emerge --update --deep --newuse world TO VERIFY *** WARNING *** : SANITY IN THIS REGARD. *** WARNING *** : *** WARNING *** : Packages in the list that are desired may be added *** WARNING *** : directly to the world file to cause them to be ignored *** WARNING *** : by depclean and maintained in the future. BREAKAGES DUE *** WARNING *** : TO UNMERGING AN ==IN-USE LIBRARY== MAY BE REPAIRED BY *** WARNING *** : MERGING *** THE PACKAGE THAT COMPLAINS *** ABOUT THE *** WARNING *** : MISSING LIBRARY. Calculating depclean dependencies ... done! >>> These are the packages that I would unmerge: gnome-base/libbonobo selected: 2.8.0 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Packages installed: 398 Packages in world: 60 Packages in system: 73 Unique package names: 397 Required packages: 410 Number to remove: 1 sargas root # echo "gnome-base/gnome-vfs" >> /var/lib/portage/world sargas root # emerge --pretend depclean *** WARNING *** : DEPCLEAN CAN SERIOUSLY IMPAIR YOUR SYSTEM. USE CAUTION. *** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL PACKAGES IN THE *** WARNING *** : CANDIDATE LIST FOR SANITY BEFORE ALLOWING DEPCLEAN TO *** WARNING *** : UNMERGE ANY PACKAGES. *** WARNING *** : *** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT. *** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT *** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS. *** WARNING *** : emerge --update --deep --newuse world TO VERIFY *** WARNING *** : SANITY IN THIS REGARD. *** WARNING *** : *** WARNING *** : Packages in the list that are desired may be added *** WARNING *** : directly to the world file to cause them to be ignored *** WARNING *** : by depclean and maintained in the future. BREAKAGES DUE *** WARNING *** : TO UNMERGING AN ==IN-USE LIBRARY== MAY BE REPAIRED BY *** WARNING *** : MERGING *** THE PACKAGE THAT COMPLAINS *** ABOUT THE *** WARNING *** : MISSING LIBRARY. Calculating depclean dependencies ... done! Packages installed: 398 Packages in world: 61 Packages in system: 73 Unique package names: 398 Required packages: 414 Number to remove: 0 sargas root # -------------------------------------
yes, you see those warnings.. tried to read them ?
sure, but: 1) there is no USE flag that modifies the dep on libbonobo 2) emerge -p -D -u -N world gives no result (I sync/update my system every day) 3) I don't add gnome-vfs to world file because if I unmerge the package that depends on it I want that it is no more considered a required package