portage-2.2_rc60 emerge --pretend --depclean [snipped standard safety warning] !!! You have no world file. !!! Proceeding is likely to break your installation. Calculating dependencies ... done! >>> No packages selected for removal by depclean >>> To see reverse dependencies, use --verbose Packages installed: 816 Packages in world: 0 Packages in system: 49 Required packages: 816 Number to remove: 0 No world file, 800+ packages installed, yet depclean reports nothing to remove. How can this be? No sane @system is that huge, and mine is no exception. Simple. I just finished converting my entire world file into sets. As everything from the world file is now in sets, and all those sets are in world_sets, there's no longer a need for a world file, and I have none. So now we need a new line in that summary, listing the number of packages in sets, and/or a line listing the number of sets in the world_sets file, so the summary will be complete and look sane once again. =:^) (This should be simple enough to implement I hope. I also hope it's not a dupe request as it seems common sense enough it's hard to believe I'm the first to think of it, but I couldn't find any other such bugs, so...)
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=170e34e429313202fed52a95f3ee56203587d40d http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=efe5be143560dc608db276175508fd726b8f3621
Thanks. Looking forward to seeing it in a 2.2.0-alpha in few days. =:^)
This is fixed in 2.1.11.39 and 2.2.0_alpha150.