after emerging kde-misc/kcm-ufw, observe the following: # qlist kde-misc/kcm-ufw /usr/share/doc/kcm-ufw-0.4.1-r1/AUTHORS.bz2 /usr/share/doc/kcm-ufw-0.4.1-r1/ChangeLog.bz2 /usr/share/doc/kcm-ufw-0.4.1-r1/README.bz2 /usr/share/doc/kcm-ufw-0.4.1-r1/TODO.bz2 /usr/share/polkit-1/actions/org.kde.ufw.policy /lib64/kde4/libexec/kcm_ufw_helper.py /lib64/kde4/libexec/kcm_ufw_helper /lib64/kde4/kcm_ufw.so /share/dbus-1/services/org.kde.ufw.service /share/dbus-1/system-services/org.kde.ufw.service /share/apps/kcm_ufw/defaults /share/kde4/services/ufw.desktop /share/doc/HTML/en/kcontrol/ufw/index.cache.bz2 /share/doc/HTML/en/kcontrol/ufw/index.docbook /share/doc/HTML/en/kcontrol/ufw/example-7-all-rules.png /share/doc/HTML/en/kcontrol/ufw/example-3-dropbox1.png /share/doc/HTML/en/kcontrol/ufw/example-5-samba.png /share/doc/HTML/en/kcontrol/ufw/example-1-general.png /share/doc/HTML/en/kcontrol/ufw/example-2-ssh.png /share/doc/HTML/en/kcontrol/ufw/example-5-samba-module.png /share/doc/HTML/en/kcontrol/ufw/example-4-dropbox2.png /share/doc/HTML/en/kcontrol/ufw/example-6-ktorrent.png /share/doc/HTML/es/kcontrol/ufw/index.cache.bz2 /share/doc/HTML/es/kcontrol/ufw/index.docbook /share/doc/HTML/es/kcontrol/ufw/example-1-general.jpg /share/doc/HTML/es/kcontrol/ufw/example-2-ssh.jpg /share/doc/HTML/es/kcontrol/ufw/example-3-dropbox1.jpg /share/doc/HTML/es/kcontrol/ufw/example-4-dropbox2.jpg /share/doc/HTML/es/kcontrol/ufw/example-5-samba.jpg /share/doc/HTML/es/kcontrol/ufw/example-5-samba-module.jpg /share/doc/HTML/es/kcontrol/ufw/example-6-ktorrent.jpg /share/doc/HTML/es/kcontrol/ufw/example-7-all-rules.jpg /share/locale/es/LC_MESSAGES/kcm_ufw.mo /share/locale/fr/LC_MESSAGES/kcm_ufw.mo /share/locale/lt/LC_MESSAGES/kcm_ufw.mo /etc/dbus-1/system.d/org.kde.ufw.conf /share/doc/HTML/en/kcontrol/ufw/common /share/doc/HTML/es/kcontrol/ufw/common Reproducible: Always
This happens because kde4-base.eclass sets cmakeargs+=(-DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX}") so we end up with an empty -DCMAKE_INSTALL_PREFIX= when both of those prefix vars are unset. This can be fixed in the ebuild by making sure kde4-base_pkg_setup is called (which does indeed set ${PREFIX}, but IMHO the eclass should also be fixed to provide a fallback to /usr when ${PREFIX} is unset, ie: cmakeargs+=(-DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX:-/usr}") Will open a separate bug for the eclass change.
Hmm, I consider not calling mandatory eclass phase as a ebuild bug. Especially we don't support *not* calling kde4-{base,meta}-pkg_setup. There is a lot other important things being set up there. No need to open eclass bug then.
Inherit order fixed and pkg-setup added. Thanks for reporting.