If USE doe not contain consolekit, the ebuild tries to run sed on "${S}/NetworkManager.kde4.conf" during the prepare phase. This file does not exist, so sed fails causing the ebuild to die. Reproducible: Always Steps to Reproduce: 1.emerge kde-misc/networkmanagement Actual Results: emerge fails: "Fixing dbus pulicy failed"
Thanks for reporting. Consolekit use flag is now removed, because the dbus policy file is removed by upstream. See upstream commit https://projects.kde.org/projects/extragear/base/networkmanagement/repository/revisions/9c59da5b8df0d8ff8e313b6f5462c5f90bbd9f7b Sync in some hours.